pc-----switch(dhcp server)
static-bind ip-address 192.168.70.226 mask 255.255.255.0
hardware-address a483-e748-ffc1
用户绑定的地址是192.168.70.226,接口的地址是vlan-int10的地址192.168.68.1,掩码是255.255.252.0
故障信息:
static-bind ip-address 192.168.70.226 mask 255.255.255.0 hardware-address a483-e748-ffc1
<H3C Swith> display dhcp server ip-in-use
192.168.70.226 a483-e748-ffc1 Not used Static(F)
*Jul 27 18:13:43:960 2021 H3C Swith DHCPS/7/EVENT: Receive a DHCPREQUEST message for 192.168.69.182 from Vlan-interface10; The server identifier is (none).
*Jul 27 18:13:43:960 2021 H3C Swith DHCPS/7/EVENT: Client was rebooted.
*Jul 27 18:13:43:961 2021 H3C Swith DHCPS/7/EVENT: Lease 192.168.70.226 does not match the network.
*Jul 27 18:13:43:961 2021 H3C Swith DHCPS/7/EVENT: Lease 192.168.70.226 does not match the network.
*Jul 27 18:13:43:961 2021 H3C Swith DHCPS/7/EVENT: Failed to find the lease for 192.168.69.182.
*Jul 27 18:13:48:113 2021 H3C Swith DHCPS/7/PACKET:
From 0.0.0.0 port 68, interface Vlan-interface10
Message type: REQUEST (1)
Hardware type: 1, Hardware address length: 6
Hops: 0, Transaction ID: 324161615
Seconds: 8, Broadcast flag: 0
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: a483-e748-ffc1
Server host name: not configured
Boot file name: not configured
DHCP message type: DHCPDISCOVER (1)
*Jul 27 18:13:48:113 2021 H3C Swith DHCPS/7/EVENT: Receive a DHCPDISCOVER message from Vlan-interface10.
这个提示是因为接口下地址和静态绑定的地址网段不不匹配导致的。
*Jul 27 18:13:43:961 2021 H3C Swith DHCPS/7/EVENT: Lease 192.168.70.226 does not match the network.
用户绑定的地址是192.168.70.226,接口的地址是vlan-int10的地址192.168.68.1,掩码是255.255.252.0 ,
地址与掩码相与,再比较,匹配不上,没有使用这个静态绑定地址。
掩码的长度根据静态绑定的IP为准。
Eg: 接口地址192.168.68.1/22 绑定IP 192.168.70.226/24 那么掩码的长度按照24来匹配, 如果一样则认为网段匹配,否则不匹配。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作