150
Verifying the configuration
# Verify that Host A and Host C can ping each other, but they both fail to ping Host B. (Details not
shown.)
# Verify that Host B and Host D can ping each other, but they both fail to ping Host A. (Details not
shown.)
# Verify that VLANs 100 and 200 are correctly configured on Device A.
[DeviceA-Ten-GigabitEthernet1/0/3] display vlan 100
VLAN ID: 100
VLAN type: Static
Route interface: Not configured
Description: VLAN 0100
Name: VLAN 0100
Tagged ports:
Ten-GigabitEthernet1/0/3
Untagged ports:
Ten-GigabitEthernet1/0/1
[DeviceA-Ten-GigabitEthernet1/0/3] display vlan 200
VLAN ID: 200
VLAN type: Static
Route interface: Not configured
Description: VLAN 0200
Name: VLAN 0200
Tagged ports:
Ten-GigabitEthernet1/0/3
Untagged ports:
Ten-GigabitEthernet1/0/2
IP subnet-based VLAN configuration example
Network requirements
As shown in
, the hosts in the office belong to different IP subnets 192.168.5.0/24 and
192.168.50.0/24.
Configure Device C to transmit packets over separate VLANs based on their source IP addresses.