您的位置:首页 > 其它

6509不能自动获取IP地址-解决办法

2009-01-03 10:55 381 查看
2008-12-29 怪问题:就这一个网段的不能自动获取IP地址-解决办法 [折叠]

2008-12-29 (jj)

现象

网络配置的多个VLAN,其中vlan30 对应的网段分不到IP地址。奇怪,问题解决了,但还不知道为什么出现这样的问题。(两台核心交换机6509,冗余配置,其中一台配置了DHCP )

分析

1.登录核心交换机,监控DHCP事件
#ter moni ;
ghjj_center1#debug ip dhcp server events ; (ghjj_center1是配置了DHCP server)
1y4w: DHCPD: requested address 169.254.38.60 is not on subnet 10.1.125.128.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: requested address 10.1.125.178 has already been assigned.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: requested address 169.254.38.60 is not on subnet 10.1.125.128.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: requested address 10.1.125.178 has already been assigned.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: checking for expired leases.
1y4w: DHCPD: requested address 10.1.125.178 has already been assigned.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: requested address 169.254.38.60 is not on subnet 10.1.125.128.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: there is no address pool for 10.1.127.17.
1y4w: DHCPD: there is no address pool for 10.1.127.33.
1y4w: DHCPD: requested address 169.254.38.60 is not on subnet 10.1.125.128.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: there is no address pool for 10.1.127.17.
1y4w: DHCPD: requested address 169.254.38.60 is not on subnet 10.1.125.128.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: requested address 169.254.38.60 is not on subnet 10.1.125.128.
1y4w: DHCPD: address pool vlan30 is empty.
1y4w: DHCPD: requested address 169.254.38.60 is not on subnet 10.1.125.128.
1y4w: DHCPD: address pool vlan30 is empty.
2.检查了VLAN 30的DHCP 租用情况。 SHOW IP DHCP BIND,还有富裕P地址没有分配出去,怎么终端电脑就分不到IP地址了。并且根据上面日志,是VLAN30地址是空的。执行
ghjj_center1#clear ip dhcp binding * 结果:故障依然。

3.排除的地址,也把vlan 30 配置的真实的网关地址,虚拟地址都排除了。配置也没有错误。
4.最后实质没有办法。在两个交换机的int vlan 30接口上SHUT 和NO shut;结果,故障依然。
5.更改租用日期 lease 3 ,lease 30 ,结果:故障依然。
6.问题在哪里呢? 把vlan30的地址池NO掉,no ip dhcp pool vlan30 ; 重新把原来配置粘贴回去(没有任何改动),终端电脑能分配到ip地址。核心交换机上6509也不出现以上告警信息了。
郁闷,问题就这样解决了,不知道为什么。本文出自 “总结每一天” 博客,请务必保留此出处http://zhovjvn.blog.51cto.com/636365/124113
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: