Multilayer switching
Question:
i just read the chapter about intervlan routing , i got no problem with legacy or router on a stick, but i can't understand how to configure a multilayer switch to route packets.
i had tried a really easy topology on packet tracert , 2 pc on 2 different vlan ...
btw : PC1 (192.168.10.1 vlan 10)---------- WS-C3560X-24T-L-------- PC2 (192.168.20.1 VLAN 20)
i did what you suggest me, but still can't ping the 2 pc...
Answer:
Based on the info you have given me(I don't have PT accessible here right now) , most likely you have assigned the same on the PCs and VLAN interfaces .
Assuming PC1 connected to fa0/1 and PC2 connected to fa0/2 of the L3switch.
1)Configure switchports as access ports
int fa0/1
switchport mode access
switchport mode vlan 10
intfa0/2
switchport mode access
switchport mode vlan 20
2)Enable routing and create VLAN interface
L3Switch#config t
L3Switch(config)ip routing
L3Switch(config)interface vlan 10
L3Switch(config-if)ip address 192.168.10.1 255.255.255.0
L3Switch(config-if)no shut
L3Switch(config)interface vlan 20
L3Switch(config-if)ip address 192.168.20.1 255.255.255.0
L3Switch(config-if)no shut
3)Check the VLAN interface
Show interface VLAN 10
Show interface VLAN 20
Inside the Multi-Layer switch though, think of it this way. VLANs are segmented, just as they are with ROAS, but... if you put an IP on the Switch inside each vlan and turn on routing, the switch now knows how to route amongst them... that is the easiest way to think of it.
Once you build it once, you'll never do ROAS unless you have a high volume routing need again Since learning inter-vlan routing in 2002, have never deployed an external router - except to interface to a provider or another organization. Internally, I've done all of my routing through multi-layer switching... and continue to do so. It is just so much easier. It is almost as if it would have been easier to learn it inside the switch first, then learn about ROAS.