SW1:
dhcp enable
ip pool A # vlan 8的地址池
net 192.168.8.0 mask 24
gateway-list 192.168.8.1
dns-list 8.8.8.8 8.8.4.4
ip pool B # vlan 9的地址池
net 192.168.9.0 mask 24
gateway-list 192.168.9.1
dns-list 8.8.8.8 8.8.4.4
#
int vlan 8
dhcp select global
int vlan 9
dhcp select global
一、静态绑定配置:
SW1:
ip pool A
static-bind ip-address 192.168.8.8 mac-address 5489-987D-4DFB
查看命令:
dis ip pool name a used
ip pool A
static-bind ip-address 192.168.8.9 mac-address 5489-987D-157A
Error:The static-MAC is exist in this IP-pool
5489-987D-157A已经在IP地址池中拿到了IP
解决办法:(1)交换机清空分配记录
<SW1>reset ip pool name a used
(2)用户自己清空
ipconfig/relaease # 释放IP地址
ipconfig/renew # 重新获取
二、租约
ip pool A
lease day 2 hour 2 # 租期改成2天2个小时
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)