super-vlan

局域网内只有一个网段192.168.10.0/24,PC1属于vlan2,PC2属于vlan4,让两个vlan的用户获取到的地址都是192.168.10.0/24段的。

配置

#

vlan batch 2 4 6

#

dhcp enable

#

vlan 6

aggregate-vlan

access-vlan 2 4

#

interface Vlanif6

ip address 192.168.10.254 255.255.255.0

dhcp select interface

#

interface GigabitEthernet0/0/1

port link-type access

port default vlan 2

#

interface GigabitEthernet0/0/2

port link-type access

port default vlan 4

#

Q.E.D.