This is the eleventh day of my participation in the Gwen Challenge in November. Check out the details: The last Gwen Challenge in 2021

Communication between different vlans

I. Purpose of the experiment

Understand and master the functions, creation and use of VLAN;

Understand and master communication Layer 3 switches enable communication between vlans.

 

Second, network topology

The network topology of an enterprise is shown in Figure 1.

The Server is connected to the FastEthernet 0/1 interface in layer 3 SWITCH S3.

GigabitEthernet 0/0/1 of Layer 2 switch S1 is connected to GigabitEthernet 0/0/1 of Layer 3 switch.

GigabitEthernet 0/2 of layer 2 switch S2 is connected to GigabitEthernet 0/2 of Layer 3 switch.

3. Configuration planning

(1) VLAN configuration planning:

VLAN ID Network segment The default gateway
10 192.168.10.0/24 192.168.10.254
20 192.168.20.0/24 192.168.20.254
30 192.168.30.0/24 192.168.30.254
40 192.168.40.0/24 192.168.40.254

(2) VLAN description

VLAN 10: The primary allocation is server use. Ports FastEthernet 0/1 to FastEthernet 0/10 on layer 3 switches are assigned to VLAN 10

VLAN 20: all PCS in this VLAN connect to Layer 2 switch S1, which connects to Layer 3 switch GigabitEthernet 0/0/1.

VLAN 30: Assign the FastEthernet 0/1 to FastEthernet 0/10 ports of layer 2 switches to VLAN 30.

VLAN 40: Assign ports FastEthernet 0/11 to FastEthernet 0/20 of layer 2 switches to VLAN 40.

 

4. Practice tasks

This section describes the configuration on each switch to enable the communication between the four vlans.

Server-pt Server 0 is configured as follows:

Configure fastethernet0/1-10 ports for VLAN 10 and VLAN 30 and VLAN 40.

IP configuration for PC0, PC1, and PC2:

PC0 Ping server Server (VLAN10 communicates with VLAN20) :

PC0 Ping PC1 (VLAN20 communicates with VLAN30) :

summary

If this article helps you, remember the triple concave ~