Instead of using ROAS (Router on a Stick) method to provide inter vlan connectivity, i’ve came into the world of multi-layer switching.. switch that supports routing are just.. pure awesome.. the setup can be done by mainly two ways:
by creating an SVI (Switch Virtual Interface), simple example: R1 is a multilayer switch, R2, R3 and R4 as routers. the connection from R2, R3, and R4 is going through a switch port.. so to setup:
On R1, setup a vlan database (Vlan10, vlan20), after which, we’ll go to the global config mode, typin’ int vlan 10, and put in necessary IP address and its subnet mask. perform no shut command to ensure the interface is up & runnin. (same like vlan20). After which, setup a routing protocol for both interfaces. (router ospf 1, network blablabla, wildcard bits blablabla… and area blablabla), after the protocol is runnin, ensure the command “IP ROUTING” is typed on conf t… the adjacency should appears and check the sh ip route to see the magic of multilayer switch..
Ensure at R1 the f0/0 and f0/1 is configured as switchport mode access and switchport access vlan 10 / vlan 20. show vlan-switch to check…
On R2 & R3, setup an interface IP address with either default gateway pointing to R1 or setup a routing protocol, and either host should be able to ping each other…
Other way to do is to disable the switchport by going to the interface and type ‘no switchport’.. i’ve tried to assign an IP address on an interface before i type in that command, and the switch is quite smart enough to notify that IP addresses may not be configured on L2 links… hmmmm…
Read Full Post »