特性部分
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e0d82240524203c9cf0fdc6c3d2abcce.png#pic_center)
S3,S4配置DHCP服务器,为AP以及STA分配IP地址,采用冗余方式配置,S3分配低位地址,S4分配高位地址
dhcp enable
interface Vlanif254
ip address 172.16.254.9 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 172.16.254.129 172.16.254.252
dhcp server option 43 sub-option 2 ip-address 172.16.7.1 172.16.8.2
ip pool sta_10
vpn-instance VPN_A
gateway-list 172.16.10.254
network 172.16.10.0 mask 255.255.255.0
excluded-ip-address 172.16.10.129 172.16.10.253
ip pool sta_20
vpn-instance VPN_B
gateway-list 172.16.20.254
network 172.16.20.0 mask 255.255.255.0
excluded-ip-address 172.16.20.129 172.16.20.253
interface Vlanif10
dhcp select global
interface Vlanif20
dhcp select global
S4:
dhcp enable
interface Vlanif254
ip address 172.16.254.10 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 172.16.254.1 172.16.254.9
dhcp server excluded-ip-address 172.16.254.11 172.16.254.128
dhcp server option 43 sub-option 2 ip-address 172.16.7.1 172.16.8.2
ip pool sta_10
vpn-instance VPN_A
gateway-list 172.16.10.254
network 172.16.10.0 mask 255.255.255.0
excluded-ip-address 172.16.10.1 172.16.10.9
excluded-ip-address 172.16.10.11 172.16.10.128
ip pool sta_20
vpn-instance VPN_B
gateway-list 172.16.20.254
network 172.16.20.0 mask 255.255.255.0
excluded-ip-address 172.16.20.1 172.16.20.9
excluded-ip-address 172.16.20.11 172.16.20.128
interface Vlanif10
dhcp select global
interface Vlanif20
dhcp select global