SlideShare a Scribd company logo
1 of 37
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
Chapter 16: Inter-
VLAN Routing
Routing & Switching
Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 5
5.1 Inter-VLAN Routing Configuration
5.2 Troubleshooting Inter-VLAN Routing
5.3 Layer 3 Switching
5.4 Summary
Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 5: Objectives
 Describe the three primary options for enabling inter-VLAN routing.
 Configure legacy inter-VLAN routing.
 Configure router-on-a-stick inter-VLAN routing.
 Troubleshoot common inter-VLAN configuration issues.
 Troubleshoot common IP addressing issues in an inter-VLAN-routed
environment.
 Configure inter-VLAN routing using Layer 3 switching.
 Troubleshoot inter-VLAN routing in a Layer 3-switched environment.
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4
5.1 Inter-VLAN Routing
Configuration
Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Inter-VLAN Routing Operation
What is Inter-VLAN routing?
 Layer 2 switches cannot forward traffic between VLANs without the
assistance of a router.
 Inter-VLAN routing is a process for forwarding network traffic from
one VLAN to another, using a router.
Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Inter-VLAN Routing Operation
Legacy Inter-VLAN Routing
In the past:
 Actual routers were used to route between VLANs.
 Each VLAN was connected to a different physical router interface.
 Packets would arrive on the router through one through interface,
be routed and leave through another.
 Because the router interfaces were connected to VLANs and had
IP addresses from that specific VLAN, routing between VLANs was
achieved.
 Large networks with large number of VLANs required many router
interfaces.
Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Inter-VLAN Routing Operation
Router-on-a-Stick Inter-VLAN Routing
 The router-on-a-stick approach uses a different path to route
between VLANs.
 One of the router’s physical interfaces is configured as a 802.1Q
trunk port so it can understand VLAN tags.
 Logical subinterfaces are created; one subinterface per VLAN.
 Each subinterface is configured with an IP address from the VLAN it
represents.
 VLAN members (hosts) are configured to use the subinterface
address as a default gateway.
 Only one of the router’s physical interface is used.
Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Inter-VLAN Routing Operation
Multilayer Switch Inter-VLAN Routing
 Multilayer switches can perform Layer 2 and Layer 3 functions,
replacing the need for dedicated routers.
 Multilayer switches support dynamic routing and inter-VLAN routing.
 The multilayer switch must have IP routing enabled.
 A switch virtual interface (SVI) exists for VLAN 1 by default. On a
multilayer switch, a logical (layer 3) interface can be configured for
any VLAN.
 The switch understands network-layer PDUs; therefore, can route
between its SVIs, just as a router routes between its interfaces.
 With a multilayer switch, traffic is routed internal to the switch device.
 This routing process is a suitable and scalable solution.
Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Legacy Inter-VLAN Routing
Preparation
 Legacy inter-VLAN routing requires routers to have multiple
physical interfaces.
 Each one of the router’s physical interfaces is connected to a
unique VLAN.
 Each interface is also configured with an IP address for the subnet
associated with the particular VLAN.
 Network devices use the router as a gateway to access the
devices connected to the other VLANs.
Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Legacy Inter-VLAN Routing
Preparation (cont.)
Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Legacy Inter-VLAN Routing
Switch Configuration
Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Legacy Inter-VLAN Routing
Router Interface Configuration
Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Router-on-a-Stick
Preparation
 An alternative to legacy inter-VLAN routing is to use VLAN trunking
and subinterfaces.
 VLAN trunking allows a single physical router interface to route
traffic for multiple VLANs.
 The physical interface of the router must be connected to a trunk
link on the adjacent switch.
 On the router, subinterfaces are created for each unique VLAN.
 Each subinterface is assigned an IP address specific to its subnet
or VLAN and is also configured to tag frames for that VLAN.
Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Router-on-a-Stick
Switch Configuration
Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Router-on-a-Stick
Router Subinterface Configuration
Presentation_ID 16© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Router-on-a-Stick
Verifying Subinterfaces
Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure Router-on-a-Stick
Verifying Subinterfaces (cont.)
Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Access to devices on remote VLANs can be tested using
the ping command.
 The ping command sends an ICMP echo request to the
destination address.
 When a host receives an ICMP echo request, it responds with an
ICMP echo reply.
 Tracert is a useful utility for confirming the routed path taken
between two devices.
Configure Router-on-a-Stick
Verifying Routing
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 19
6.2 Troubleshoot Inter-
VLAN Routing
Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 When using the legacy routing model, ensure that the switch ports
connect to the router interfaces and are configured with the correct
VLANs.
 Use the switchport access vlan [appropriate vlan#]
command to correct any erroneous VLAN port assignment.
 Ensure that the router is connected to the correct switch port.
 When using router-on-a-stick, ensure that the switch port
connected to the router is configured as a trunk link.
 Use the switchport mode trunk command to make the
switch port a trunk.
Inter-VLAN Configuration Issues
Switch Port Issues
Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Inter-VLAN Configuration Issues
Verify Switch Configuration
Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 With router-on-a-stick configurations, a common problem is
assigning the wrong VLAN ID to the subinterface.
 The show interface command can help detect this problem.
 If this is the case, use the encapsulation dot1q <vlan_id>
interface command to fix the problem.
Inter-VLAN Configuration Issues
Verify Router Configuration
Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Inter-VLAN Configuration Issues
Verify Router Configuration (cont.)
Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 When using legacy inter-VLAN routing, ensure that the router has
the correct IP address and mask on the interfaces connecting to
the switch.
 Ensure that the network devices are configured with the correct IP
address and mask.
 In the router, use the ip address command to fix any erroneous
IP assignments.
 In the PCs, refer to the installed operating system documentation
to properly change IP information.
IP Addressing Issues
Errors with IP Address and Subnet Masks
Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Use the show ip interface command to verify if the correct IP
address is configured in the router.
 Use the show running-config when troubleshooting router-
related problems.
 When troubleshooting addressing issues, ensure that the
subinterface is configured with the correct address for that VLAN.
 Subinterface IDs are often configured to match the VLAN number,
which makes it easier to manage inter-VLAN configuration, but this
is not a requirement.
IP Addressing Issues
Verifying IP Address and Subnet Mask
Configuration Issues
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 26
5.3 Layer 3 Switching
Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Layer 3 switches usually have packet-switching throughputs in the
millions of packets per second (pps).
 All Catalyst multilayer switches support the following types of Layer 3
interfaces:
• Routed port
• Switch virtual interface (SVI)
 High-performance switches, such as the Catalyst 6500 and Catalyst
4500, are able to perform most of the router’s functions.
 Several models of Catalyst switches require enhanced software for
specific routing protocol features.
Layer 3 Switching Operation and Configuration
Introduction to Layer 3 Switching
Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Today’s routing has become faster and cheaper and can be
performed at hardware speed.
 Routing can be transferred to core and distribution devices with
little to no impact on network performance.
 Many users are in separate VLANs, and each VLAN is usually a
separate subnet. This implies that each distribution switch must
have IP addresses matching each access switch VLAN.
 Layer 3 (routed) ports are normally implemented between the
distribution and the core layer. This model is less dependent on
spanning tree, because there are no loops in the Layer 2 portion of
the topology.
Layer 3 Switching Operation and Configuration
Inter-VLAN Routing with Switch Virtual Interfaces
Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 By default, an SVI is created for the default VLAN (VLAN 1). This
allows for remote switch administration.
 Any additional SVIs must be created by the administrator.
 SVIs are created the first time the VLAN interface configuration
mode is entered for a particular VLAN SVI.
 Enter the interface vlan 10 command to create an SVI
named VLAN 10.
 The VLAN number used corresponds to the VLAN tag associated
with data frames on an 802.1Q encapsulated trunk.
 When the SVI is created, ensure that the specific VLAN is present in
the VLAN database.
Layer 3 Switching Operation and Configuration
Inter-VLAN Routing with SVIs (Cont.)
Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 SVIs advantages include:
• Much faster than router-on-a-stick, because everything is
hardware-switched and routed.
• No need for external links from the switch to the router for
routing.
• Not limited to one link. Layer 2 EtherChannels can be used
between the switches to get more bandwidth.
• Latency is much lower, because it does not need to leave the
switch.
Layer 3 Switching Operation and Configuration
Inter-VLAN Routing with SVIs (Cont.)
Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 A routed port is a physical port that acts similarly to an interface on a
router.
 Routed ports are not associated with any VLANs.
 Layer 2 protocols, such as STP, do not function on a routed interface.
 Routed ports on a Cisco IOS switch do not support subinterfaces.
 To configure routed ports, use the no switchport interface
configuration mode command.
 Note: Routed ports are not supported on Catalyst 2960 Series
switches.
Layer 3 Switching Operation and Configuration
Inter-VLAN Routing with Routed Ports
Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 The Cisco Switch Database Manager (SDM) provides multiple
templates for the Cisco Catalyst 2960 switch.
 The SDM lanbase-routing template can be enabled to allow the
switch to route between VLANs and to support static routing.
 Use the show sdm prefer command to verify which template is
in use.
 The SDM template can be changed in global configuration mode
with the sdm prefer command.
Layer 3 Switching Operation and Configuration
Configuring Static Routes on a Catalyst 2960
Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
To troubleshoot Layer 3 switching issues, verify the following for
accuracy:
 VLANs
• VLANs must be defined across all the switches.
• VLANs must be enabled on the trunk ports.
• Ports must be in the right VLANs.
 SVIs
• SVIs must have the correct IP address or subnet mask.
• SVIs must be up.
• SVIs must match with the VLAN number.
Troubleshooting Layer 3 Switching
Layer 3 Switch Configuration Issues
Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
To troubleshoot Layer 3 switching issues, verify the following for
accuracy:
 Routing
• Routing must be enabled.
• Each interface or network should be added to the routing
protocol.
 Hosts
• Hosts must have the correct IP address or subnet mask.
• Hosts must have a default gateway associated with an SVI or
routed port.
Troubleshooting Layer 3 Switching
Layer 3 Switching Configuration Issues (Cont.)
Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 5: Summary
This chapter described and explained the following concepts:
 Inter-VLAN routing, the process of routing traffic between different
VLANs, using either a dedicated router or a multilayer switch
 Legacy, router-on-a-stick, and multilayer switch inter-VLAN routing
 Layer 3 switching, SVIs, and routed ports
 Troubleshooting inter-VLAN routing with a router or a Layer 3
switch
 Common errors involving VLAN, trunk, Layer 3 interface, and IP
address configurations
Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 5: Summary
Presentation_ID 37© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential

More Related Content

What's hot

CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6Chaing Ravuth
 
CCNA training 101
CCNA training 101CCNA training 101
CCNA training 101Rohan Reddy
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bullsSwapnil Kapate
 
CCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan RoutingCCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan RoutingVuz Dở Hơi
 
VLAN Trunking Protocol
VLAN Trunking ProtocolVLAN Trunking Protocol
VLAN Trunking ProtocolNetwax Lab
 
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2Nil Menon
 
Vxlan deep dive session rev0.5 final
Vxlan deep dive session rev0.5   finalVxlan deep dive session rev0.5   final
Vxlan deep dive session rev0.5 finalKwonSun Bae
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationDsunte Wilson
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)DH Da Lat
 
Building DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPNBuilding DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPNCisco Canada
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansVuz Dở Hơi
 
CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01Irsandi Hasan
 

What's hot (20)

CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6
 
Vpc notes
Vpc notesVpc notes
Vpc notes
 
CCNA training 101
CCNA training 101CCNA training 101
CCNA training 101
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bulls
 
CCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan RoutingCCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan Routing
 
VLAN Trunking Protocol
VLAN Trunking ProtocolVLAN Trunking Protocol
VLAN Trunking Protocol
 
Ether channel fundamentals
Ether channel fundamentalsEther channel fundamentals
Ether channel fundamentals
 
vlan
vlanvlan
vlan
 
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2
 
Vxlan deep dive session rev0.5 final
Vxlan deep dive session rev0.5   finalVxlan deep dive session rev0.5   final
Vxlan deep dive session rev0.5 final
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
 
Building DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPNBuilding DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPN
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 Vlans
 
CCNP Security-Firewall
CCNP Security-FirewallCCNP Security-Firewall
CCNP Security-Firewall
 
Vlan
Vlan Vlan
Vlan
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
VPLS Fundamental
VPLS FundamentalVPLS Fundamental
VPLS Fundamental
 

Similar to Chapter 16 : inter-vlan routing

CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3Nil Menon
 
Chapter 14 : vlan
Chapter 14 : vlanChapter 14 : vlan
Chapter 14 : vlanteknetir
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6Waqas Ahmed Nawaz
 
KPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalKPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalFisal Anwari
 
CCNA3 Verson6 Chapter2
CCNA3 Verson6 Chapter2CCNA3 Verson6 Chapter2
CCNA3 Verson6 Chapter2Chaing Ravuth
 
CCNP Switching Chapter 5
CCNP Switching Chapter 5CCNP Switching Chapter 5
CCNP Switching Chapter 5Chaing Ravuth
 
CCNA Exploration 3 - Chapter 6
CCNA Exploration 3 - Chapter 6CCNA Exploration 3 - Chapter 6
CCNA Exploration 3 - Chapter 6Irsandi Hasan
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANSanilinvns
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANSanilinvns
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptxBOURY1
 
CCNA Discovery 3 - Chapter 3
CCNA Discovery 3 - Chapter 3CCNA Discovery 3 - Chapter 3
CCNA Discovery 3 - Chapter 3Irsandi Hasan
 
Week4(1)(1)
Week4(1)(1)Week4(1)(1)
Week4(1)(1)trayyoo
 
CCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol ImplementationCCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol ImplementationAmir Jafari
 
Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routingrmosate
 
IT0527 Inter-VLAN Routing
IT0527 Inter-VLAN RoutingIT0527 Inter-VLAN Routing
IT0527 Inter-VLAN Routingrmosate
 
Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routingrmosate
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2CCNA (R & S) Module 04 - Scaling Networks - Chapter 2
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2Waqas Ahmed Nawaz
 
Inter VLAN Routing
Inter VLAN RoutingInter VLAN Routing
Inter VLAN RoutingNetwax Lab
 

Similar to Chapter 16 : inter-vlan routing (20)

CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3
 
Chapter 14 : vlan
Chapter 14 : vlanChapter 14 : vlan
Chapter 14 : vlan
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
 
Chapter 03 - VLANs
Chapter 03 - VLANsChapter 03 - VLANs
Chapter 03 - VLANs
 
KPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalKPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_final
 
CCNA3 Verson6 Chapter2
CCNA3 Verson6 Chapter2CCNA3 Verson6 Chapter2
CCNA3 Verson6 Chapter2
 
CCNP Switching Chapter 5
CCNP Switching Chapter 5CCNP Switching Chapter 5
CCNP Switching Chapter 5
 
CCNA Exploration 3 - Chapter 6
CCNA Exploration 3 - Chapter 6CCNA Exploration 3 - Chapter 6
CCNA Exploration 3 - Chapter 6
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANS
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANS
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptx
 
CCNA Discovery 3 - Chapter 3
CCNA Discovery 3 - Chapter 3CCNA Discovery 3 - Chapter 3
CCNA Discovery 3 - Chapter 3
 
Day 14.1 vlan
Day 14.1 vlanDay 14.1 vlan
Day 14.1 vlan
 
Week4(1)(1)
Week4(1)(1)Week4(1)(1)
Week4(1)(1)
 
CCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol ImplementationCCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol Implementation
 
Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routing
 
IT0527 Inter-VLAN Routing
IT0527 Inter-VLAN RoutingIT0527 Inter-VLAN Routing
IT0527 Inter-VLAN Routing
 
Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routing
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2CCNA (R & S) Module 04 - Scaling Networks - Chapter 2
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2
 
Inter VLAN Routing
Inter VLAN RoutingInter VLAN Routing
Inter VLAN Routing
 

More from teknetir

آموزش کوتاه و کاربردی Nmap
آموزش کوتاه و کاربردی Nmapآموزش کوتاه و کاربردی Nmap
آموزش کوتاه و کاربردی Nmapteknetir
 
CEHv9 : module 18 - cryptography
CEHv9 : module 18 - cryptographyCEHv9 : module 18 - cryptography
CEHv9 : module 18 - cryptographyteknetir
 
CEHv9 : module 17 - cloud computing
CEHv9 : module 17 - cloud computingCEHv9 : module 17 - cloud computing
CEHv9 : module 17 - cloud computingteknetir
 
CEHv9 : module 16 - evading ids firewalls and honeypots
CEHv9 : module 16 - evading ids firewalls and honeypotsCEHv9 : module 16 - evading ids firewalls and honeypots
CEHv9 : module 16 - evading ids firewalls and honeypotsteknetir
 
CEHv9 : module 14 - hacking wireless networks
CEHv9 : module 14 - hacking wireless networksCEHv9 : module 14 - hacking wireless networks
CEHv9 : module 14 - hacking wireless networksteknetir
 
CEHv9 : module 15 - hacking mobile platforms
CEHv9 : module 15 - hacking mobile platformsCEHv9 : module 15 - hacking mobile platforms
CEHv9 : module 15 - hacking mobile platformsteknetir
 
CEHv9 : module 13 - SQL injection
CEHv9 : module 13 - SQL injectionCEHv9 : module 13 - SQL injection
CEHv9 : module 13 - SQL injectionteknetir
 
CEHv9 : module 12 - hacking web applications
CEHv9 : module 12 - hacking web applicationsCEHv9 : module 12 - hacking web applications
CEHv9 : module 12 - hacking web applicationsteknetir
 
CEHv9 : module 11 - hacking web servers
CEHv9 : module 11 - hacking web serversCEHv9 : module 11 - hacking web servers
CEHv9 : module 11 - hacking web serversteknetir
 
CEHv9 : module 10 - session hijacking
CEHv9 : module 10 - session hijackingCEHv9 : module 10 - session hijacking
CEHv9 : module 10 - session hijackingteknetir
 
CEHv9 : module 09 : denial of service
CEHv9 : module 09 : denial of serviceCEHv9 : module 09 : denial of service
CEHv9 : module 09 : denial of serviceteknetir
 
CEHv9 : module 08 - social engineering
CEHv9 : module 08 - social engineeringCEHv9 : module 08 - social engineering
CEHv9 : module 08 - social engineeringteknetir
 
CEHv9 : module 07 - sniffing
CEHv9 : module 07 - sniffingCEHv9 : module 07 - sniffing
CEHv9 : module 07 - sniffingteknetir
 
CEHv9 : module 06 - malware threats
CEHv9 : module 06 - malware threatsCEHv9 : module 06 - malware threats
CEHv9 : module 06 - malware threatsteknetir
 
CEHv9 : module 05 - system hacking
CEHv9 : module 05 - system hackingCEHv9 : module 05 - system hacking
CEHv9 : module 05 - system hackingteknetir
 
CEHv9 : module 03 - scanning networks
CEHv9 : module 03 - scanning networksCEHv9 : module 03 - scanning networks
CEHv9 : module 03 - scanning networksteknetir
 
CEHv9 : module 02 - footprinting and reconnaissance
CEHv9 : module 02 - footprinting and reconnaissanceCEHv9 : module 02 - footprinting and reconnaissance
CEHv9 : module 02 - footprinting and reconnaissanceteknetir
 
CEHv9 : module 01 - introduction to ethical hacking
CEHv9 : module 01 - introduction to ethical hackingCEHv9 : module 01 - introduction to ethical hacking
CEHv9 : module 01 - introduction to ethical hackingteknetir
 
Chapter 22 : network address translation for IPv4
Chapter 22 : network address translation for IPv4Chapter 22 : network address translation for IPv4
Chapter 22 : network address translation for IPv4teknetir
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCPteknetir
 

More from teknetir (20)

آموزش کوتاه و کاربردی Nmap
آموزش کوتاه و کاربردی Nmapآموزش کوتاه و کاربردی Nmap
آموزش کوتاه و کاربردی Nmap
 
CEHv9 : module 18 - cryptography
CEHv9 : module 18 - cryptographyCEHv9 : module 18 - cryptography
CEHv9 : module 18 - cryptography
 
CEHv9 : module 17 - cloud computing
CEHv9 : module 17 - cloud computingCEHv9 : module 17 - cloud computing
CEHv9 : module 17 - cloud computing
 
CEHv9 : module 16 - evading ids firewalls and honeypots
CEHv9 : module 16 - evading ids firewalls and honeypotsCEHv9 : module 16 - evading ids firewalls and honeypots
CEHv9 : module 16 - evading ids firewalls and honeypots
 
CEHv9 : module 14 - hacking wireless networks
CEHv9 : module 14 - hacking wireless networksCEHv9 : module 14 - hacking wireless networks
CEHv9 : module 14 - hacking wireless networks
 
CEHv9 : module 15 - hacking mobile platforms
CEHv9 : module 15 - hacking mobile platformsCEHv9 : module 15 - hacking mobile platforms
CEHv9 : module 15 - hacking mobile platforms
 
CEHv9 : module 13 - SQL injection
CEHv9 : module 13 - SQL injectionCEHv9 : module 13 - SQL injection
CEHv9 : module 13 - SQL injection
 
CEHv9 : module 12 - hacking web applications
CEHv9 : module 12 - hacking web applicationsCEHv9 : module 12 - hacking web applications
CEHv9 : module 12 - hacking web applications
 
CEHv9 : module 11 - hacking web servers
CEHv9 : module 11 - hacking web serversCEHv9 : module 11 - hacking web servers
CEHv9 : module 11 - hacking web servers
 
CEHv9 : module 10 - session hijacking
CEHv9 : module 10 - session hijackingCEHv9 : module 10 - session hijacking
CEHv9 : module 10 - session hijacking
 
CEHv9 : module 09 : denial of service
CEHv9 : module 09 : denial of serviceCEHv9 : module 09 : denial of service
CEHv9 : module 09 : denial of service
 
CEHv9 : module 08 - social engineering
CEHv9 : module 08 - social engineeringCEHv9 : module 08 - social engineering
CEHv9 : module 08 - social engineering
 
CEHv9 : module 07 - sniffing
CEHv9 : module 07 - sniffingCEHv9 : module 07 - sniffing
CEHv9 : module 07 - sniffing
 
CEHv9 : module 06 - malware threats
CEHv9 : module 06 - malware threatsCEHv9 : module 06 - malware threats
CEHv9 : module 06 - malware threats
 
CEHv9 : module 05 - system hacking
CEHv9 : module 05 - system hackingCEHv9 : module 05 - system hacking
CEHv9 : module 05 - system hacking
 
CEHv9 : module 03 - scanning networks
CEHv9 : module 03 - scanning networksCEHv9 : module 03 - scanning networks
CEHv9 : module 03 - scanning networks
 
CEHv9 : module 02 - footprinting and reconnaissance
CEHv9 : module 02 - footprinting and reconnaissanceCEHv9 : module 02 - footprinting and reconnaissance
CEHv9 : module 02 - footprinting and reconnaissance
 
CEHv9 : module 01 - introduction to ethical hacking
CEHv9 : module 01 - introduction to ethical hackingCEHv9 : module 01 - introduction to ethical hacking
CEHv9 : module 01 - introduction to ethical hacking
 
Chapter 22 : network address translation for IPv4
Chapter 22 : network address translation for IPv4Chapter 22 : network address translation for IPv4
Chapter 22 : network address translation for IPv4
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCP
 

Recently uploaded

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

Chapter 16 : inter-vlan routing

  • 1. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1 Chapter 16: Inter- VLAN Routing Routing & Switching
  • 2. Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 5 5.1 Inter-VLAN Routing Configuration 5.2 Troubleshooting Inter-VLAN Routing 5.3 Layer 3 Switching 5.4 Summary
  • 3. Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 5: Objectives  Describe the three primary options for enabling inter-VLAN routing.  Configure legacy inter-VLAN routing.  Configure router-on-a-stick inter-VLAN routing.  Troubleshoot common inter-VLAN configuration issues.  Troubleshoot common IP addressing issues in an inter-VLAN-routed environment.  Configure inter-VLAN routing using Layer 3 switching.  Troubleshoot inter-VLAN routing in a Layer 3-switched environment.
  • 4. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4 5.1 Inter-VLAN Routing Configuration
  • 5. Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Inter-VLAN Routing Operation What is Inter-VLAN routing?  Layer 2 switches cannot forward traffic between VLANs without the assistance of a router.  Inter-VLAN routing is a process for forwarding network traffic from one VLAN to another, using a router.
  • 6. Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Inter-VLAN Routing Operation Legacy Inter-VLAN Routing In the past:  Actual routers were used to route between VLANs.  Each VLAN was connected to a different physical router interface.  Packets would arrive on the router through one through interface, be routed and leave through another.  Because the router interfaces were connected to VLANs and had IP addresses from that specific VLAN, routing between VLANs was achieved.  Large networks with large number of VLANs required many router interfaces.
  • 7. Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Inter-VLAN Routing Operation Router-on-a-Stick Inter-VLAN Routing  The router-on-a-stick approach uses a different path to route between VLANs.  One of the router’s physical interfaces is configured as a 802.1Q trunk port so it can understand VLAN tags.  Logical subinterfaces are created; one subinterface per VLAN.  Each subinterface is configured with an IP address from the VLAN it represents.  VLAN members (hosts) are configured to use the subinterface address as a default gateway.  Only one of the router’s physical interface is used.
  • 8. Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Inter-VLAN Routing Operation Multilayer Switch Inter-VLAN Routing  Multilayer switches can perform Layer 2 and Layer 3 functions, replacing the need for dedicated routers.  Multilayer switches support dynamic routing and inter-VLAN routing.  The multilayer switch must have IP routing enabled.  A switch virtual interface (SVI) exists for VLAN 1 by default. On a multilayer switch, a logical (layer 3) interface can be configured for any VLAN.  The switch understands network-layer PDUs; therefore, can route between its SVIs, just as a router routes between its interfaces.  With a multilayer switch, traffic is routed internal to the switch device.  This routing process is a suitable and scalable solution.
  • 9. Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Legacy Inter-VLAN Routing Preparation  Legacy inter-VLAN routing requires routers to have multiple physical interfaces.  Each one of the router’s physical interfaces is connected to a unique VLAN.  Each interface is also configured with an IP address for the subnet associated with the particular VLAN.  Network devices use the router as a gateway to access the devices connected to the other VLANs.
  • 10. Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Legacy Inter-VLAN Routing Preparation (cont.)
  • 11. Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Legacy Inter-VLAN Routing Switch Configuration
  • 12. Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Legacy Inter-VLAN Routing Router Interface Configuration
  • 13. Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Router-on-a-Stick Preparation  An alternative to legacy inter-VLAN routing is to use VLAN trunking and subinterfaces.  VLAN trunking allows a single physical router interface to route traffic for multiple VLANs.  The physical interface of the router must be connected to a trunk link on the adjacent switch.  On the router, subinterfaces are created for each unique VLAN.  Each subinterface is assigned an IP address specific to its subnet or VLAN and is also configured to tag frames for that VLAN.
  • 14. Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Router-on-a-Stick Switch Configuration
  • 15. Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Router-on-a-Stick Router Subinterface Configuration
  • 16. Presentation_ID 16© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Router-on-a-Stick Verifying Subinterfaces
  • 17. Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure Router-on-a-Stick Verifying Subinterfaces (cont.)
  • 18. Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Access to devices on remote VLANs can be tested using the ping command.  The ping command sends an ICMP echo request to the destination address.  When a host receives an ICMP echo request, it responds with an ICMP echo reply.  Tracert is a useful utility for confirming the routed path taken between two devices. Configure Router-on-a-Stick Verifying Routing
  • 19. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 19 6.2 Troubleshoot Inter- VLAN Routing
  • 20. Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  When using the legacy routing model, ensure that the switch ports connect to the router interfaces and are configured with the correct VLANs.  Use the switchport access vlan [appropriate vlan#] command to correct any erroneous VLAN port assignment.  Ensure that the router is connected to the correct switch port.  When using router-on-a-stick, ensure that the switch port connected to the router is configured as a trunk link.  Use the switchport mode trunk command to make the switch port a trunk. Inter-VLAN Configuration Issues Switch Port Issues
  • 21. Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Inter-VLAN Configuration Issues Verify Switch Configuration
  • 22. Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  With router-on-a-stick configurations, a common problem is assigning the wrong VLAN ID to the subinterface.  The show interface command can help detect this problem.  If this is the case, use the encapsulation dot1q <vlan_id> interface command to fix the problem. Inter-VLAN Configuration Issues Verify Router Configuration
  • 23. Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Inter-VLAN Configuration Issues Verify Router Configuration (cont.)
  • 24. Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  When using legacy inter-VLAN routing, ensure that the router has the correct IP address and mask on the interfaces connecting to the switch.  Ensure that the network devices are configured with the correct IP address and mask.  In the router, use the ip address command to fix any erroneous IP assignments.  In the PCs, refer to the installed operating system documentation to properly change IP information. IP Addressing Issues Errors with IP Address and Subnet Masks
  • 25. Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Use the show ip interface command to verify if the correct IP address is configured in the router.  Use the show running-config when troubleshooting router- related problems.  When troubleshooting addressing issues, ensure that the subinterface is configured with the correct address for that VLAN.  Subinterface IDs are often configured to match the VLAN number, which makes it easier to manage inter-VLAN configuration, but this is not a requirement. IP Addressing Issues Verifying IP Address and Subnet Mask Configuration Issues
  • 26. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 26 5.3 Layer 3 Switching
  • 27. Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Layer 3 switches usually have packet-switching throughputs in the millions of packets per second (pps).  All Catalyst multilayer switches support the following types of Layer 3 interfaces: • Routed port • Switch virtual interface (SVI)  High-performance switches, such as the Catalyst 6500 and Catalyst 4500, are able to perform most of the router’s functions.  Several models of Catalyst switches require enhanced software for specific routing protocol features. Layer 3 Switching Operation and Configuration Introduction to Layer 3 Switching
  • 28. Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Today’s routing has become faster and cheaper and can be performed at hardware speed.  Routing can be transferred to core and distribution devices with little to no impact on network performance.  Many users are in separate VLANs, and each VLAN is usually a separate subnet. This implies that each distribution switch must have IP addresses matching each access switch VLAN.  Layer 3 (routed) ports are normally implemented between the distribution and the core layer. This model is less dependent on spanning tree, because there are no loops in the Layer 2 portion of the topology. Layer 3 Switching Operation and Configuration Inter-VLAN Routing with Switch Virtual Interfaces
  • 29. Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  By default, an SVI is created for the default VLAN (VLAN 1). This allows for remote switch administration.  Any additional SVIs must be created by the administrator.  SVIs are created the first time the VLAN interface configuration mode is entered for a particular VLAN SVI.  Enter the interface vlan 10 command to create an SVI named VLAN 10.  The VLAN number used corresponds to the VLAN tag associated with data frames on an 802.1Q encapsulated trunk.  When the SVI is created, ensure that the specific VLAN is present in the VLAN database. Layer 3 Switching Operation and Configuration Inter-VLAN Routing with SVIs (Cont.)
  • 30. Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  SVIs advantages include: • Much faster than router-on-a-stick, because everything is hardware-switched and routed. • No need for external links from the switch to the router for routing. • Not limited to one link. Layer 2 EtherChannels can be used between the switches to get more bandwidth. • Latency is much lower, because it does not need to leave the switch. Layer 3 Switching Operation and Configuration Inter-VLAN Routing with SVIs (Cont.)
  • 31. Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  A routed port is a physical port that acts similarly to an interface on a router.  Routed ports are not associated with any VLANs.  Layer 2 protocols, such as STP, do not function on a routed interface.  Routed ports on a Cisco IOS switch do not support subinterfaces.  To configure routed ports, use the no switchport interface configuration mode command.  Note: Routed ports are not supported on Catalyst 2960 Series switches. Layer 3 Switching Operation and Configuration Inter-VLAN Routing with Routed Ports
  • 32. Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  The Cisco Switch Database Manager (SDM) provides multiple templates for the Cisco Catalyst 2960 switch.  The SDM lanbase-routing template can be enabled to allow the switch to route between VLANs and to support static routing.  Use the show sdm prefer command to verify which template is in use.  The SDM template can be changed in global configuration mode with the sdm prefer command. Layer 3 Switching Operation and Configuration Configuring Static Routes on a Catalyst 2960
  • 33. Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential To troubleshoot Layer 3 switching issues, verify the following for accuracy:  VLANs • VLANs must be defined across all the switches. • VLANs must be enabled on the trunk ports. • Ports must be in the right VLANs.  SVIs • SVIs must have the correct IP address or subnet mask. • SVIs must be up. • SVIs must match with the VLAN number. Troubleshooting Layer 3 Switching Layer 3 Switch Configuration Issues
  • 34. Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential To troubleshoot Layer 3 switching issues, verify the following for accuracy:  Routing • Routing must be enabled. • Each interface or network should be added to the routing protocol.  Hosts • Hosts must have the correct IP address or subnet mask. • Hosts must have a default gateway associated with an SVI or routed port. Troubleshooting Layer 3 Switching Layer 3 Switching Configuration Issues (Cont.)
  • 35. Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 5: Summary This chapter described and explained the following concepts:  Inter-VLAN routing, the process of routing traffic between different VLANs, using either a dedicated router or a multilayer switch  Legacy, router-on-a-stick, and multilayer switch inter-VLAN routing  Layer 3 switching, SVIs, and routed ports  Troubleshooting inter-VLAN routing with a router or a Layer 3 switch  Common errors involving VLAN, trunk, Layer 3 interface, and IP address configurations
  • 36. Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 5: Summary
  • 37. Presentation_ID 37© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential