Get the App
SLTechnology News&Howtos  ›  Servers  › 

Rookie must see: layer 3 switch to achieve VLAN interworking experiment (picture and text)

Shulou Source: shulou.com Published: 2022-06-02 15:47:03 10月04日 Update

Small white must see: three-layer switch to achieve VLAN interoperability experiment (illustrated). experimental environment

Lab requires GNS3 and c2691 routers

II. Experiment 3. experimental procedure

First we set SW-2 up. First, we add vlan10 and vlan20, as shown in Figure 1.

mark

Next, assign the interface to the corresponding vlan. Operation as shown below

mark

We can also check the interface settings as shown below.

mark

Next we set up R3. First, let's set up the IP address of R3. Operation as shown below.

mark

mark

Then we configure static routing for R3

mark

Then we set up sw-3. Let's start by adding vlan10 and vlan 20 to sw-3.

mark

We also need to set up trunk for SW-3's f1/0 interface, as shown in the figure

mark

Next, we set up the gateway of sw-3 virtual interface, as shown in the figure

mark

Open the Layer 3 interface, close the switch interface, and then set the IP address of the physical interface. Fig.

mark

Since sw-3 has only one route to other routers, it is assigned a default route. Operation is as shown in the figure.

mark

Then we should set ip for pc. Operation as shown below.

mark

mark

mark

The experiment is over for now. Finally, you only need to take PC1 to ping PC2 and PC3 on the line, ping successful experiment is successful.

Tags: Experiment interface such as figure route next success address router switch picture and text rookie can pass to interface step physical environment gateway route static Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Tech Info macOS Redmi Huawei