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/1/7] display vlan 100
VLAN ID: 100
VLAN type: Static
Route interface: Not configured
Description: VLAN 0100
Name: VLAN 0100
Tagged ports:
Ten-GigabitEthernet1/1/7
Untagged ports:
Ten-GigabitEthernet1/1/5
[DeviceA-Ten-GigabitEthernet1/1/7] display vlan 200
VLAN ID: 200
VLAN type: Static
Route interface: Not configured
Description: VLAN 0200
Name: VLAN 0200
Tagged ports:
Ten-GigabitEthernet1/1/7
Untagged ports:
Ten-GigabitEthernet1/1/6
IP subnet-based VLAN configuration example
Network requirements
As shown in
Configure Device C to transmit packets over separate VLANs based on their source IP addresses.
Figure
41, the hosts in the office belong to different IP subnets.
145