求助:使用WAC360 WAN接口作为DHCP 客户端可以获取到地址,但是使用MSR 3660却无法获取到地址。debug中AC可以收到服务器发来的BOOTPREPLY,而MSR3660收不到。
版本: version 7.1.064, Release 0605P10
设置:
interface GigabitEthernet0/2
port link-mode route
description Multiple_Line
mtu 1400
ip address dhcp-alloc
tcp mss 1024
nat outbound
3660debug信息:看到应该是服务器没有回BOOTPREPLY
*Jul 20 18:07:29:693 2017 H3C DHCPC/7/PACKET:
To 255.255.255.255 port 67, interface GigabitEthernet0/2
Message type: REQUEST (1)
Hardware type: 1, Hardware address length: 6
Hops: 0, Transaction ID: 3064209889
Seconds: 0, Broadcast flag: 1
Client IP address: 0.0.0.0 Your IP address: 0.0.0.0
Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0
Client hardware address: 9c06-1b9a-8812
Server host name: not configured
Boot file name: not configured
DHCP message type: DHCPDISCOVER (1)
*Jul 20 18:07:29:694 2017 H3C DHCPC/7/EVENT:
GigabitEthernet0/2: Successfully sent DHCPDISCOVER packet.
*Jul 20 18:07:42:693 2017 H3C DHCPC/7/PACKET:
To 255.255.255.255 port 67, interface GigabitEthernet0/2
Message type: REQUEST (1)
Hardware type: 1, Hardware address length: 6
Hops: 0, Transaction ID: 3064209889
Seconds: 0, Broadcast flag: 1
Client IP address: 0.0.0.0 Your IP address: 0.0.0.0
Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0
Client hardware address: 9c06-1b9a-8812
Server host name: not configured
Boot file name: not configured
DHCP message type: DHCPDISCOVER (1)
*Jul 20 18:07:42:694 2017 H3C DHCPC/7/EVENT:
GigabitEthernet0/2: Successfully sent DHCPDISCOVER packet.
*Jul 20 18:07:43:693 2017 H3C DHCPC/7/EVENT:
GigabitEthernet0/2: Beginning to detect IP address conflict via ARP.
*Jul 20 18:07:43:694 2017 H3C DHCPC/7/EVENT:
GigabitEthernet0/2: Successfully sent ARP request for address 169.254.136.21.
*Jul 20 18:07:44:693 2017 H3C DHCPC/7/EVENT:
GigabitEthernet0/2: Successfully sent ARP request for address 169.254.136.21.
*Jul 20 18:07:45:693 2017 H3C DHCPC/7/EVENT:
GigabitEthernet0/2: Received no ARP reply for 169.254.136.21, so the IP address is available.
WAC360 的debug信息:
*Jul 20 19:36:26:742 2017 AC DHCPC/7/DHCPC_PACKET:
GigabitEthernet1/0/5: Send a DHCP packet...
Head: op (BOOTPREQUEST); htype (ETHERNET); hlen (6); xid (0xa1c8850);
ciaddr (0.0.0.0); yiaddr (0.0.0.0); chaddr (b0f9-6391-d381);
Options:
63 82 53 63 35 01 01 0C 02 41 43 32 04 2A 02 D7
36 37 08 01 79 03 06 0F 21 2B 8A 39 02 04 80 3C
0F 48 33 43 2E 20 48 33 43 20 57 41 43 33 36 30
3D 24 00 62 30 66 39 2E 36 33 39 31 2E 64 33 38
31 2D 47 69 67 61 62 69 74 45 74 68 65 72 6E 65
74 31 2F 30 2F 35 FF
*Jul 20 19:36:26:742 2017 AC DHCPC/7/DHCPC_EVENT:
GigabitEthernet1/0/5: Sending DHCPDISCOVER packet succeeded.
*Jul 20 19:36:26:743 2017 AC DHCPC/7/DHCPC_EVENT:
GigabitEthernet1/0/5: FSM state transfers (INIT-->SELECTING) successfully.
*Jul 20 19:36:26:750 2017 AC DHCPC/7/DHCPC_EVENT:
GigabitEthernet1/0/5: Receive a packet.
*Jul 20 19:36:26:750 2017 AC DHCPC/7/DHCPC_PACKET:
GigabitEthernet1/0/5: Receive a DHCP packet...
Head: op (BOOTPREPLY); htype (ETHERNET); hlen (6); xid (0xa1c8850);
ciaddr (0.0.0.0); yiaddr (42.2.215.54); chaddr (b0f9-6391-d381);
Option: type (DHCPOFFER); mask (255.255.255.0); lease (1800);
T1 (900); T2 (1575); server (168.70.124.254); default router (42.2.215.254); DNS (218.102.23.77); DNS (218.102.62.71);
*Jul 20 19:36:26:750 2017 AC DHCPC/7/DHCPC_EVENT:
GigabitEthernet1/0/5: Select 168.70.124.254 as the server.
(0)
最佳答案
是不是server做了mac地址绑定?你把36的mac改成WAC360的MAC试一下,接口下配置mac-address
(0)
看信息是对端没有回复offer报文,得看对端对discover报文是怎么处理的,而且看WA360的报文,它发的是BOOTP协议,不是DHCP协议
额!不要盗用我的结论好不好?
问题找到了,从WAC设备debug看服务器回复的是boot报文,所以在MSR3660上需要写ip address bootp-alloc ,而不是ip address dhcp-alloc。也是牛逼现在竟然有人用bootp?真的醉了!
(0)
666666
我看WAC360用的也想BOOTP,写评论的时候,你就找到问题原因了,666
666666
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
额!不要盗用我的结论好不好?