Step...
7.
Configure the hybrid ports to
permit the specified IP subnet-
based VLANs to pass through
8.
Associate the hybrid ports with
the specified IP subnet-based
VLAN
Setting the IP subnet-based VLAN configuration
Network requirements
As shown in
192.168.50.0/24.
Configure Device C to transmit packets over separate VLANs based on their source IP addresses.
Figure 40 Network diagram for IP subnet-based VLAN configuration
Device A
VLAN 100
192.168.5.0/24
Configuration consideration
Create VLANs 100 and 200.
Associate IP subnets with the VLANs.
Assign ports to the VLANs.
Configuration guidelines
The IP subnet-based VLAN configurations are only effective on hybrid ports.
Command...
port hybrid vlan vlan-id-list
{ tagged | untagged }
port hybrid ip-subnet-vlan
vlan vlan-id
Figure
40, the hosts in the office belong to different IP subnets 192.168.5.0/24 and
Device B
GE1/0/11
GE1/0/12
Device C
GE1/0/1
192.168.50.0/24
Office
Remarks
Required.
By default, a hybrid port allows only
packets from VLAN 1 to pass through
untagged.
Required.
Not configured by default.
VLAN 200
125