Router-On-A-Stick
September 21st, 2005
No comments
Configure the link between SW2 and R6 as an 802.1q trunk link. Using the subinterfaces listed in the diagram configure R6 to route traffic for both VLANs 67 and 146 on its Ethernet link.
SW2(config)#vlan 67,146 SW2(config)#int Fa 0/6 SW2(config-if)#switchport trunk encapsulation dot1q SW2(config-if)#switchport mode trunk SW2(config-if)#end R6(config)#int Fa 1/0.67 R6(config-subif)#encapsulation dot1Q 67 R6(config-subif)#ip address 155.1.67.6 255.255.255.0 R6(config-subif)#exit R6(config)#int Fa 1/0.146 R6(config-subif)#encapsulation dot1Q 146 R6(config-subif)#ip address 155.1.146.6 255.255.255.0 R6(config-subif)#exit R6(config)#end
Verify that R6 has reachability to devices both on VLAN 67 and 146.
Categories: Uncategorized