Configuration Example of Subnet VLAN

[Requirement]

DGS-3630 with VLANs 1,2,3,4 and the following IP interfaces: Vlan 1 - 10.90.90.90 / 24 Vlan 2 - 192.168.2.1 / 24 Vlan 3 - 192.168.3.1 / 24 Vlan 4 - 192.168.4.1 / 24

Three laptops with these statics IP addresses configured on them: Laptop 2 - 192.168.2.2 / 24 with gateway 192.168.2.1 Laptop 3 - 192.168.3.2 / 24 with gateway 192.168.3.1 Laptop 4 - 192.168.4.2 / 24 with gateway 192.168.4.1

Configure ports 2,3 and 4 so that, if connecting any of the laptops on any of these ports, the laptop is assigned to the corresponding PVID.

For instance: Connect Laptop 4 to port 3 >> laptop 4 belongs to vlan 4 and can ping 192.168.4.1 Disconnect Laptop 4 from port 3 and connect it to port 4 >> laptop 4 belongs again to vlan 4 Disconnect Laptop 4 from port 4 and connect Laptop 2 to port 3 >> laptop 2 belongs to vlan 2 and can ping 192.168.2.1

[Topology]

Laptop 2---(p2)DGS-3630(p4)---Laptop 4 Laptop 3---(p3) Laptop 2 - 192.168.2.2 / 24 with gateway 192.168.2.1 Laptop 3 - 192.168.3.2 / 24 with gateway 192.168.3.1 Laptop 4 - 192.168.4.2 / 24 with gateway 192.168.4.1

[CLI Setup]

[Test Step& Result]

1

Connect as topology

2

Apply the commands on SW

3

Ping IP address of Laptop 4 - 192.168.4.2 from Laptop 2, it is pingable.

4

Remove Laptop4 from port4, and connect it to port3. Then, Remove Laptop2 from port2 and then connect it to port4

5

Again, ping IP address of Laptop 4 - 192.168.4.2 from Laptop 2, it is pingable

[WEB GUI Setup]

1

Create VLAN 2-4

2

Configure Port 2-4 as untag VLAN 1-4 member

3

Configure Subnet VLAN setting as follows

Last updated