Get the App
SLTechnology News&Howtos  ›  Servers  › 

Detailed exercise of VLAN configuration experiment

Shulou Source: shulou.com Published: 2022-06-03 00:57:21 10月03日 Update

One: lab name: configure VLAN

Second, the experimental environment: GNS3-1.3.10

Third, the purpose of the experiment: to deepen the understanding of VLAN and master the configuration of VLAN in the course of the experiment.

Four: experimental steps:

1: add a router and change it to a switch.

2: add three vpc

3: connect the network cable and turn it on

4: turn off the routing function of the router

5: configure the IP addresses of 3 PCs

6: test whether the interconnection is successful and proceed to the next step successfully

Use pc1 and pc2 "ping" each other respectively.

Use pc3 to "ping" pc1

7: divide and configure two VLAN, two methods:

8: configure the interface:

Configure f1ap0

Configure f1Accord 1 and f1Accord 2 in the same way:

End of configuration.

Five: check the experimental function:

Use pc1 to "ping" pc2 and pc3 tests

You can see that the previously interoperable experimental scenarios are now unreachable.

We are trying to "ping" pc3 with pc2.

It is still possible to interconnect.

Six: experimental conclusion: the same vlan can communicate in the same network segment. In different vlan, even if the address is in the same network segment, they cannot communicate with each other.

Because you are not in a broadcast domain, you cannot use ARP broadcast to get the MAC address of the other party, so you cannot communicate with each other.

Tags: Experiment configuration address routing communication success counterparty method network segment router interconnection broadcast test difference between two switch function function name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info NVidia MySQL Shulou Technology macOS