欢迎光临
我们一直在努力

Cisco网络中的因DHCP冲突无法获取IP

设备:Cisco 3750 核心交换机
最近一段时间,内网时常出客户端无法通过DHCP自动获取IP,但是在线在用的IP不多。

show ip dhcp binding
检查地址并没用尽

show ip dhcp pool +pool name
排除地址与设置不符,被吃掉了几十个IP

show ip dhcp conflict
发现被吃掉的IP都在这被占用了

clear ip dhcp conflict *
清除所有冲突IP

查了下资料,原来DHCP server检测到IP被占用后,会记录到log,并且dhcp server 不会再把该IP分配出去,除非重启设备,或通过clear ip dhcp conflict,否则地址池就会越来越小,直到无法分配。所以客户端不能自动获取IP,只能设置静态IP。
可以通过no ip dhcp conflict log,取消地址冲突记录日志。

Pool DHCPLIST :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 11
Excluded addresses : 185
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased/Excluded/Total
10.100.10.185 10.100.10.1 – 10.100.10.254 11 / 185 / 254

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。