大型园区网建设(特性部分)

该配置描述了如何在S3和S4设备上设置DHCP服务器,为AP和STA分配IP地址。两台设备分别负责不同范围的IP地址分配,S3分配低位地址,S4分配高位地址。配置中包含了VLAN接口、IP地址池、排除的IP地址段以及与VPNs相关的网络设置。
摘要由CSDN通过智能技术生成

特性部分

在这里插入图片描述

S3,S4配置DHCP服务器,为AP以及STA分配IP地址,采用冗余方式配置,S3分配低位地址,S4分配高位地址

#S3:
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
  • 7
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

wx:wlgcs_123

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值