Ch5 InterVLAN Routing Flashcards
interVLAN Routing
process of forwarding network traffic between VLANs using a layer 3 network device or routed ports
router-on-a-stick
router configuration where a single physical interface routes traffic between multple VLANs on a network; does not scale beyond 50 VLANs
subinterfaces
software based virtual interfaces associated/linked to a single physical (master) interface
Command Needed to Activate VLAN routing on 2960s
sdm prefer lanbase-routing
Legacy InterVLAN Switch Config
vlan _first_vlan_id interface _interface_id switchport mode access switchport access vlan _first_vlan_id end --repeat for additional VLANs--
Legacy InterVLAN Routing
interface _interface_id
ip address _ip_address subnet_mask
no shutdown
–repeat for additional VLANs–
Router on a Stick Router Setup
Configuring subinterfaces
interface _interface_id.subinterface_id (g0/.2)
encapsulation 1dotq _vlan_id
ip address _ip_address subnet_mask
–repeat for all subinterfaces needed–
interface interface_id_for“master” _interface
no shutdown - activates all subinterfaces
Verifying Subinterfaces Setup on Router (2)
show vlan
show ip route
Verify Switch Configuration
show interface _interface_id switchport
Verify Router Configuration
show interfaces
show running-config
–both useful to check if encapsulation 1dotq is set correctly
Where are Layer 3 Routed Ports Implemented
Between Distribution and Core Layer
Spanning Tree
Protocol used to shut down redundant loops while maintaining flexibility and redundancy in inter-switch connections
Reasons to Configure SVIs
- Provide a gateway for a VLAN
- Provide Layer 3 IP connectivity to a switch
- Support routing protocol and bridging configurations
Advantages of SVI
- Faster than router on a stick or legacy
- No need for external links from switch to router.
- Not limited to one link; EtherChannels can be used between switches to increase bandwidth
- Much lower latency
encapsulation 1dotq _vlan_id
command used to ready subinterfaces for travel on 802.1q trunks