现在我使用的设备都是Aruba MSR,MSA系列产品

debug dhcp调试DHCP协商过程

若AP能够不能正常获得IP地址,可能是ONU、OLT核心网的问题

通过查找,排错

调试过程是:AP能够发送DHCPdiscover

                       AC响应AP,发送DHCPoffer

                 正常情况下,AP再向AC发送request

                      AC响应AP,发送ACK

#########################################################################

今天试了下,站在ONU上都能PING通互连的地址,但AP就是不上线,还出现这样的(经调试):

 

%DHCP-449511: can't find layer3 ip-pool, relay agent ip = 0x0ac0d801!
 
 
 cannot found available ip-pool

经过一天的协商,双方都在调试,发现原来是ONU的IP地址掩码由26写成24了

###########################################################################

AC上的时间与现在的北京时间不同步

第一步:先在AC的WEB方式上 基本配置 ---NTP服务 把NTP服务器和NTP客户端都关闭,保存退出

第二步:在AC的业务板上,手动设置时间

            格式如下:clock set  2011 06 21 2 8 57 00

   2011表示年

   06表示月

   21表示日

    2表示星期二

   8表示时

   57表示分

   00表示秒

########################################################################

debug dhcp调试出现这样的问题,是由于地址池没有配置

DHCP请求包通过指定的端口进来,找到匹配IP地址网段,才能正确找到地址池

如10.10.10.0的网段,只能找10.10.10.0的网段的地址池

若是10.10.10.0的网段来发送DHCP请求,而地址是10.10.11.0的地址池,则提示以下信息:


 %DHCP-929852: received DISCOVER packet


 %DHCP-929852: mac = 00:17:7b:2d:67:95 , vlan = 3582, cvlan = 4095, mod = 1, port = 4, xid = 0x1972cc68
ciaddr = 0x00000000, yiaddr = 0x00000000, siaddr = 0x00000000, giaddr = 0x0ac0ce01, rqstip = 0x00000000
      option60code = 23631, no option43

 %DHCP-929852: can't find layer3 ip-pool, relay agent ip = 0x0ac0ce01!


 %DHCP-929852: cannot found available ip-pool
                                                                    
 %DHCP-929862: received DISCOVER packet


 %DHCP-929862: mac = 00:17:7b:2d:9a:2c , vlan = 3582, cvlan = 4095, mod = 1, port = 4, xid = 0x54a4e1ef
ciaddr = 0x00000000, yiaddr = 0x00000000, siaddr = 0x00000000, giaddr = 0x0ac0ce01, rqstip = 0x00000000
      option60code = 23631, no option43

 %DHCP-929862: can't find layer3 ip-pool, relay agent ip = 0x0ac0ce01!


 %DHCP-929862: cannot found available ip-pool
                                                                    

 %DHCP-929865: received DISCOVER packet


 %DHCP-929865: mac = 00:17:7b:2d:67:95 , vlan = 3582, cvlan = 4095, mod = 1, port = 4, xid = 0x1972cc68
ciaddr = 0x00000000, yiaddr = 0x00000000, siaddr = 0x00000000, giaddr = 0x0ac0ce01, rqstip = 0x00000000
      option60code = 23631, no option43

 %DHCP-929865: can't find layer3 ip-pool, relay agent ip = 0x0ac0ce01!

 %DHCP-929865: cannot found available ip-pool