Attachment:
Capture.JPG [ 52.08 KiB | Viewed 547 times ]
PLZ help me with only the leftmost side of the tree...intervlan routing between vlan 20 and vlan 2. Rest i will do myself. The ip addresses in label are actually vlan interfaces (which are same as the deafult gateway i set for end devices). Here is the code for the leftmost side of the tree which i have used :
L3 switch code :Switch(config)#ip routing
Switch#vlan database
Switch(vlan)#vlan 2
VLAN 2 added:
Name: VLAN0002
Switch(vlan)#vlan 3
VLAN 3 added:
Name: VLAN0003
....... and so on
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface Vlan2
Switch(config-if)#ip address 192.168.2.1 255.255.255.0
Switch(config-if)#no shutdown
...and so on for others
Switch(config)#interface FastEthernet 0/4
Switch(config-if)#no switchport
Switch(config-if)#ip address 200.1.1.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config)#ip route 0.0.0.0 0.0.0.0 200.1.1.2
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config)#int fa0/2
Switch(config-if)#switchport trunk encapsulation dot1q
(Same for int fa0/3)I have used the following code for VTP functionality (not sure if this is all i needed to do for vtp):
Switch0Switch#configure terminal
Switch(config)#vtp mode client
Switch(config)#int fa0/1
Switch(config-if)#switchport mode trunk
(same for fa0/2 , fa0/3)Switch2Switch#configure terminal
Switch(config)#vtp mode client
Switch(config)#int fa0/1
Switch(config-if)#switchport mode trunk
Switch(config)#int fa0/2
Switch(config-if)#switchport mode access
(same for fa0/3)PLZ tell me what i am missing or what i did wrong. I will be really grateful. I just started using packet tracer and i still have to learn a lot of things. I tied to learn from tutorials and stuff but still i cant find answer to this problem.