Super-VLAN下的DHCP服务器示例

示例图

一.实验目的

1.配置Super-VLAN下的DHCP服务器示例

二.注意事项

1.如果是不同之间的VLAN相互通信,要开启VLAN间的ARP代理

三.简单配置

LSW1

sysname LSW1
#
vlan batch 2 to 4
#
dhcp enable
#
vlan 4
 aggregate-vlan                         //配置成Super-VLAN
 access-vlan 2 to 3                    //添加Sub-VLAN
#
interface Vlanif4
 ip address 10.1.1.12 255.255.255.0 
 arp-proxy inter-sub-vlan-proxy enable   //开启VLAN之间的ARP代理
 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 2
#
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 3
#
interface GigabitEthernet0/0/4
 port link-type access
 port default vlan 3
#
return 

你可能感兴趣的:(DHCP,VLAN,DHCP,Super,vlan,数通)