Configuring Inter-VLAN Routing

In Chapter 14, “Configuring Switches,” you learned that when switches are configured with VLANs, hosts in different VLANs cannot communicate without the help of a router. Consider the router and switch in Figure 15.2.

images

FIGURE 15.2 Inter-VLAN routing

SW 1 is configured with two VLANs: VLAN 10 and VLAN 20. The switch ports Fa0/20 and Fa0/21 have been added to VLAN 20. The switch ports Fa0/10 and Fa0/11 have been added to VLAN 10.

The computers connected to those switch ports will not be able to communicate with one another until inter-VLAN routing is configured on R1. The first step is to connect the router to the switch ...

Get Cisco Networking Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.