11-10-2003 08:53 PM - edited 03-02-2019 11:36 AM
Hi,
I was reading up CCNP switching guide and got this qns on configuring VLAN routing using external router and a switch.
Router A FA0/1 ---link--- Switch A FA0/1
Switch A has got a number of VLAN eg 10, 20, 30, 40
Router A has got subinterface according to VLAN number eg FA0/1.10=VLAN10, FA0/1.20=VLAN20 etc
1) The thing is i have got no idea how to configure Router A's subinterfaces to associate with the VLANs
2) The link shd be a trunk link right?
3) Switch A shd be a VTP Server or Transparent?
4) Router A shd be a VTP Server or Transparent?
how would u guys go abt configuration both devices so VLANs can route between each other...?
Thanks
-Steven-
11-10-2003 09:28 PM
Router doesnt participate in VTP. VTP is only between switches.
Configure The link on the switch to router as a trunk.
On Switch -configure the following
int fa0/1 ---> trunk port on switch
switchport mode trunk
switchport trunk encapsulation dot1q (or isl)
switchport trunk native vlan 1
On Router - configure the following
int fa0/1.10
encapsulation dot1q 10 (can use isl also)
ip add
int fa0/1.20
encapsulation dot1q 20 (can use isl also)
ip add
That should do it.
11-10-2003 10:33 PM
The link below should have a sample configuration along with explantion. Hope it helps.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: