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