Multilayer Switching - Router Alley
Multilayer Switching - Router Alley
Multilayer Switching - Router Alley
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Multilayer</strong> <strong>Switching</strong> vs. <strong>Router</strong> on a Stick<br />
MultiLayer <strong>Switching</strong> v1.11 – Aaron Balchunas<br />
The configuration of router-on-a-stick was demonstrated earlier in this<br />
section. Unfortunately, there are inherent disadvantages to router-on-a-stick:<br />
• There may be insufficient bandwidth for each VLAN, as all routed<br />
traffic will need to share the same router interface.<br />
• There will be an increased load on the router processor, to support the<br />
ISL or DOT1Q encapsulation taking place.<br />
A more efficient (though often more expensive) alternative is to use a<br />
multilayer switch.<br />
Configuration of inter-VLAN routing on a multilayer switch is simple. First,<br />
create the required VLANs:<br />
Switch(config)# vlan 101<br />
Switch(config-vlan)# name VLAN101<br />
Switch(config)# vlan 102<br />
Switch(config-vlan)# name VLAN102<br />
Then, routing must be globally enabled on the multilayer switch:<br />
Switch(config)# ip routing<br />
Next, each VLAN SVI is assigned an IP address:<br />
Switch(config)# interface vlan 101<br />
Switch(config-if)# ip address 192.168.1.1 255.255.0.0<br />
Switch(config-if)# no shut<br />
Switch(config)# interface vlan 102<br />
Switch(config-if)# ip address 10.1.1.1 255.255.0.0<br />
Switch(config-if)# no shut<br />
These IP addresses will serve as the default gateways for the clients on each<br />
VLAN. By adding an IP address to a VLAN, those networks will be added<br />
to the routing table as directly connected routes, allowing routing to occur.<br />
* * *<br />
All original material copyright © 2009 by Aaron Balchunas (aaron@routeralley.com),<br />
unless otherwise noted. All other material copyright © of their respective owners.<br />
This material may be copied and used freely, but may not be altered or sold without the expressed written<br />
consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.<br />
6