chapter 6 1 chap 6 – implement inter-vlan routing learning objectives explain to the satisfaction...
TRANSCRIPT
1Chapter 6
Chap 6 – Implement Inter-VLAN Routing
Learning Objectives
• Explain to the satisfaction of a qualified instructor how network traffic is routed between VLANs in a converged network.
• Configure inter-VLAN routing on a router to enable communications between end-user devices on separate VLANs
• Troubleshoot common inter-VLAN connectivity issues.
2Chapter 6
Inter-VLAN Routing
Fa0/1
S2
PC1172.17.10.21/24
(VLAN 10)
Fa0/11
Computer
PC2172.17.20.22/24
(VLAN 20)
Computer
PC3172.17.30.23/24
(VLAN 30)
Fa0/18
S3 S1Fa0/1
Fa0/6
Computer
Fa0/2 Fa0/2
Fa0/3
Fa0/1
Fa0/4Fa0/3Fa0/4
Fa0/4
Fa0/2 Fa0/3
•Inter-VLAN routing can be performed by connecting different physical router interfaces to different physical switch ports.
•The switch ports connect to the router in access mode, and different static VLANs are assigned to each port interface.
•Each switch interface would be assigned to a different static VLAN. Each router interface can then accept traffic from the VLAN associated with the switch interface that it is connected to, and traffic can be routed to the other VLANs connected to the other interfaces.
R1Link to VLAN 20
Link to VLAN 30
Link to VLAN 10
3Chapter 6
Router-on-a -Stick
Fa0/1
S2
PC1172.17.10.21/24
(VLAN 10)
Fa0/11
Computer
PC2172.17.20.22/24
(VLAN 20)
Computer
PC3172.17.30.23/24
(VLAN 30)
Fa0/18
S3 S1Fa0/1
Fa0/6
Computer
Fa0/2 Fa0/2
Fa0/3
Fa0/1
Fa0/4Fa0/3Fa0/4
Fa0/4
Fa0/2 Fa0/3
R1 R1 - Fa0/0 Sub-interfaces
Fa0/0.10 – 172.17.10.1 – Default Gateway to VLAN 10
Fa0/0.20 – 172.17.20.1 – Default Gateway to VLAN 20
Fa0/0.30 – 172.17.30.1 – Default Gateway to VLAN 30
Fa0/0
"Router-on-a-stick" is a type of router configuration in which a single physical interface routes traffic between multiple VLANs on a network.
•Sub-interfaces are configured for different subnets corresponding to their VLAN assignment to allow logical routing before data frames are VLAN tagged and sent back out the physical interface.
Sub-interfaces are multiple virtual interfaces, associated with one physical interface. These sub-interfaces are configured with an IP address and VLAN assignment to operate on a specific VLAN.
4Chapter 6
Layer-3 Switch
Fa0/1
S2
PC1172.17.10.21/24
(VLAN 10)
Fa0/11
Computer
PC2172.17.20.22/24
(VLAN 20)
Computer
PC3172.17.30.23/24
(VLAN 30)
Fa0/18
S3 S1Fa0/1
Fa0/6
Computer
Fa0/2 Fa0/2
Fa0/3
Fa0/1
Fa0/4Fa0/3Fa0/4
Fa0/4
Fa0/2 Fa0/3
S1 VLAN Interfaces
172.17.10.1 – Default Gateway to VLAN 10
172.17.20.1 – Default Gateway to VLAN 20
172.17.30.1 – Default Gateway to VLAN 30
•Some switches can perform Layer 3 functions, replacing the need for dedicated routers to perform basic routing on a network.
•Multilayer switches are capable of performing inter-VLAN routing.
•To enable a multilayer switch to perform routing functions, VLAN interfaces on the switch need to be configured with the appropriate IP addresses that match the subnet that the VLAN is associated with on the network. The multilayer switch also must have IP routing enabled.
5Chapter 6
Computer
Computer
Computer
Computer
Computer
ManagementVLAN 99
172.17.99.10/24
StudentVLAN 20
172.17.20.22/24
StudentVLAN 20
172.17.20.25/24
GuestVLAN 30
172.17.30.26/24
GuestVLAN 30
172.17.30.23/24
Fa0/1
Fa0/1 Fa0/3
Fa0/3Fa0/18 Fa0/18
Fa0/6 Fa0/6
Connecting VLANs
SVI VLAN20
SVI VLAN30
SVI VLAN99
Layer 3 Switch
•Switch Virtual Interface (SVI) is a logical interface configured for a specific VLAN, and is used by layer 3 switches to route between VLANs or to provide IP host connectivity to a switch.
•A Layer 3 switch has the ability to route transmissions between VLANs.
•The process is the same as when using a separate router, except that the SVIs act as the router interfaces for routing the data between VLANs.
6Chapter 6
Physical Interface Configuration
Fa0/1
S2
PC1172.17.10.21/24
(VLAN 10)
Fa0/11
Computer
PC2172.17.20.22/24
(VLAN 20)
Computer
PC3172.17.30.23/24
(VLAN 30)
Fa0/18
S3 S1Fa0/1
Fa0/6
Computer
Fa0/2 Fa0/2
Fa0/3
Fa0/1
Fa0/4Fa0/3Fa0/4
Fa0/4
Fa0/2 Fa0/3
R1Fa0/0
172.17.10.1/24
Fa0/1172.17.30.1/24
Configure Router InterfacesFa0/6Fa0/5
7Chapter 6
Sub-Interface Configuration
Fa0/1
S2
PC1172.17.10.21/24
(VLAN 10)
Fa0/11
Computer
PC2172.17.20.22/24
(VLAN 20)
Computer
PC3172.17.30.23/24
(VLAN 30)
Fa0/18
S3 S1Fa0/1
Fa0/6
Computer
Fa0/2 Fa0/2
Fa0/3
Fa0/1
Fa0/4Fa0/3Fa0/4
Fa0/4
Fa0/2 Fa0/3
R1Fa0/0.10
172.17.10.1/24
Fa0/0.30172.17.30.1/24
Configure Router Interfaces
•To avoid confusion, name the sub-interface after the VLAN to which it is attached – e.g. Fa0/0.10 is connected to VLAN 10
Fa0/5
8Chapter 6
Sub-Interface Configuration
Fa0/1
S2
PC1172.17.10.21/24
(VLAN 10)
Fa0/11
Computer
PC2172.17.20.22/24
(VLAN 20)
Computer
PC3172.17.30.23/24
(VLAN 30)
Fa0/18
S3 S1Fa0/1
Fa0/6
Computer
Fa0/2 Fa0/2
Fa0/3
Fa0/1
Fa0/4Fa0/3Fa0/4
Fa0/4
Fa0/2 Fa0/3
R1Fa0/0.10
172.17.10.1/24
Fa0/0.30172.17.30.1/24
Fa0/5
S1 Fa0/5 must be configured as a trunk to allow it to carry
tagged data from multiple VLANs
9Chapter 6
Interface and Sub-Interface Comparison
10Chapter 6
Chap 6 – Implement Inter-VLAN Routing
Learning Objectives
• Explain to the satisfaction of a qualified instructor how network traffic is routed between VLANs in a converged network.
• Configure inter-VLAN routing on a router to enable communications between end-user devices on separate VLANs
• Troubleshoot common inter-VLAN connectivity issues.
11Chapter 6
AnyQuestions?
12Chapter 6
Lab Topology
PC1172.17.10.10/24
Fa0/11
Computer
PC3172.17.30.10/24
Chap 6.2.2.4 – Basic Inter-VLAN Routing
Fa0/8 Fa0/5
Fa0/6
Computer
R1Fa0/0 Fa0/1
13Chapter 6
Lab Topology
PC1172.17.10.10/24
Fa0/11
Computer
PC3172.17.30.10/24
Chap 6.2.2.5 – Router-On-A-Stick Inter-VLAN
Routing
Fa0/5
Fa0/6
Computer
R1Fa0/1
14Chapter 6
Lab Topology
Fa0/1
S2
PC1172.17.10.21/24
Fa0/11
Computer
PC2172.17.20.22/24
Computer
PC3172.17.30.23/24
Fa0/18
S3 S1Fa0/1
Chap 6.4.1 – Basic VLAN Routing
Fa0/6
Computer
Fa0/2 Fa0/2
Fa0/3
Fa0/1
Fa0/4Fa0/3Fa0/4
Fa0/4
Fa0/2 Fa0/3
R1 Computer
Server172.17.50.254/24Fa0/0
Fa0/1172.17.50.1