The purpose of this lab is to show how VLANs create separate broadcast domains.
ip 10.10.1.2/24 10.10.1.1
ip 10.10.1.3/24 10.10.1.1
ip 10.10.2.2/24 10.10.2.1
ip 10.10.2.3/24 10.10.2.1
Notice that PC1 and PC2 are configured with a default gateway address 10.10.1.1, but, in fact, this address is not associated to any device.
Likewise, PC3 and PC4 are configured with a default gateway address 10.10.2.1, but, in fact, this address is not associated to any device.
ping 10.10.1.3and verify that answers are received from PC2.
ping 10.10.2.2and verify that answers are NOT received from PC3.
ping 10.10.2.3and verify that answers are received from PC4.
ping 10.10.1.2and verify that answers are NOT received from PC1.
Since there is no inter-VLAN routing, the two VLANs are isolated.
Hence, PC1 can only ping PC2, while PC3 can only ping PC4.
Copyright (c) 2024 - Roberto Canonico
Last updated: 24/09/2024 by Roberto Canonico