标签:存在 地址 res 交换 day script interface hal 空闲
一次公寓楼核心交换机H3C7506,竟然碰到了DHCP服务器地址池满了的情况,原地址池分配两个C类地址,508个ip地址,竟然被占满,没办法加个C类地址。dhcp server ip-pool qngy11#-1
network 10.76.210.0 mask 255.255.255.0
gateway-list 10.76.210.254
dns-list 202.106.0.20
expired day 0 hour 1
interface Vlan-interface831
description 11-yewu
undo ipv6 nd ra halt
ipv6 address 4400:DD01:103A:2013::1/64
ip address 10.77.3.254 255.255.254.0
ip address 10.76.210.254 255.255.255.0 sub //加的,加的,加的
ospfv3 1 area 0.0.0.80
dhcp select server global-pool subaddress //重要,重要,重要
vlan 831
description 11-yewu
ospf 1
area 0.0.0.0
network 10.76.210.254 0.0.0.0
network 10.77.3.254 0.0.0.0
dhcp enable
完毕,上面配置有ipv6,别全抄
查看地址池使用情况 dis dhcp server ip-in-use pool qngy11#
查看地址冲突情况 dis dhcp server conflict all
查看地址空闲情况 dis dhcp server free-ip
查看全局地址池是否存在dis dhcp server tree all
查看是否有过期的IP地址 dis dhcp server expired pool qngy11#
清除冲突地址 >reset dhcp server conflict all
标签:存在 地址 res 交换 day script interface hal 空闲
原文地址:https://blog.51cto.com/yzmlinux/2540206