所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

在接口配置了DHCP后直连PC获取IP失败

发布时间:  2019-07-22 浏览次数:  462 下载次数:  0

问题描述

USG2200-------PC

PC直连USG2200获取IP失败


告警信息

处理过程

更换PC后故障依旧,该PC在别处可以正常获取地址。

通过命令:dis dhcp ser sta

Global Pool:
Pool Number: 0
Binding
Auto: 0
Manual: 0
Expire: 0
Interface Pool:
Pool Number: 1
Binding
Auto: 0
Manual: 0
Expire: 0
Boot Request: 123
Dhcp Discover: 123
Dhcp Request: 0
Dhcp Decline: 0
Dhcp Release: 0
Dhcp Inform: 0
Boot Reply: 0
Dhcp Offer: 0
Dhcp Ack: 0
Dhcp Nak: 0
Bad Messages: 0
 
HA Message:
BatchBackup send msg: 0
BatchBackup recv msg: 0
BatchBackup send lease: 0
BatchBackup recv lease: 0
 
发现PC一只在申请DHCP资源
 
通过debug发现:
DhcpServerFindFreeIP: start get ip from DHCP free ip
*0.15198233 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: Can not get free ip for 0011-4342-44D2 received from interface Ether
net0/0/0
*0.15198416 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer:Lease exhausted
*0.15220150 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: receive DHCPDISCOVER from 0011-4342-44D2
*0.15220283 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServerFindFreeIP: start get ip from DHCP free ip
*0.15220416 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: Can not get free ip for 0011-4342-44D2 received from interface Ether
net0/0/0
*0.15220600 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer:Lease exhausted
*0.15223150 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: receive DHCPDISCOVER from 0011-4342-44D2
DhcpServer: receive DHCPDISCOVER from 0011-4342-44D2
DhcpServerFindFreeIP: start get ip from DHCP free ip
*0.15223416 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: Can not get free ip for 0011-4342-44D2 received from interface Ether
net0/0/0
*0.15223600 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer:Lease exhausted
*0.15231150 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: receive DHCPDISCOVER from 0011-4342-44D2
*0.15231283 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServerFindFreeIP: start get ip from DHCP free ip
*0.15231416 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: Can not get free ip for 0011-4342-44D2 received from interface Ether
net0/0/0
*0.15231600 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer:Lease exhausted
*0.15246150 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: receive DHCPDISCOVER from 0011-4342-44D2
*0.15246283 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServerFindFreeIP: start get ip from DHCP free ip
*0.15246416 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer: Can not get free ip for 0011-4342-44D2 received from interface Ether
net0/0/0
*0.15246600 LSJJCY-Inter-E200-1 DHCPS/8/DHCPS_DEBUG_COMMON:
DhcpServer:Lease exhausted
 
DHCP资源池耗尽
 
通过display dhcp server ip-in-use all 发现没有分配任何IP地址出去
通过 display dhcp server free-ip 发现问题,free-ip 只有192.168.1.1一个IP地址
 
重新查配置发现:在dhcp server forbidden-ip 192.168.1.1 192.169.1.10 中,客户错写了结束IP地址,将整个192.168网段全部屏蔽掉了
 
修改配置后,问题解决。

根因

DHCP没有生效

PC网卡故障

建议与总结

今后在写dhcp server forbidden-ip时一定要仔细谨慎,避免后期投入大量资源排错

END