Get the App
SLTechnology News&Howtos  ›  Network Security  › 

VLAN can communicate with each other in the same configuration

Shulou Source: shulou.com Published: 2022-06-01 05:47:43 10月04日 Update

I. configuration requirements

Host An and Host C belong to Department A, but access to the company network through different devices; Host B and Host D belong to the Department

Door B is also connected to the corporate network through different devices.

For the security of communication and to avoid the flooding of broadcast messages, VLAN technology is used in the corporate network to isolate inter-departmental

Layer 2 traffic. Department A uses VLAN 100s and Department B uses VLAN 200s.

It is required that hosts in the same VLAN can communicate with each other, that is, Host An and Host A, regardless of whether or not the same device is connected to the corporate network.

Host C can interwork, Host B and Host D can interwork.

1. Create a configurator as shown below:

2 configure Device A

Create VLAN 100s and add GigabitEthernet1/0/1 to VLAN 100s

Create VLAN 200s and add GigabitEthernet1/0/2 to VLAN 200s.

In order to enable the messages of VLAN 100s and VLAN 200s on Device A to be sent to Device BMagade GigabitEthernet 1and VLAN 3, the link type of GigabitEthernet 1and VLAN 3is configured as Trunk, and the messages of GigabitEthernet 100s and GigabitEthernet 200s are allowed to pass.

3. View configuration information

4. View the final mutual ping results

Tags: Configuration department company network message device access different and will the same communication security host layer 2 information security technology traffic type result Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Technology Xiaomi MariaDB NVidia