IP assignment on Major Interface to SubInterface

From: Paul Adams (ccie.paul@gmail.com)
Date: Sat Dec 06 2008 - 18:19:08 ARST


Hi,

Is it possible to assign Ip address on major interface and sub-interface, [
i.e assign ip for major and sub-interface for the same Interface ]
If so ; then is the answer correct as per question

Question :- Create Vlan_101 on sub interface of R1 and create Vlan_102 on
major interface of R6. ( use Fa0/0 )

vlan_101 = vlan 101
vlan_102 = vlan 102

R1(fa 0/0 ) is connected to SW1 fa 0/1

*Solution*

<<SW1 >>
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 101,102
switchport trunk native vlan 102

<<R1>>
interface fa 0/0
ip address 192.168.1.102 255.255.255.0

interface fa 0/0.17
encapsulation dot1q 17
ip address 192.168.101.1 255.255.255.248

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Thu Jan 01 2009 - 12:53:07 ARST