CR16010-F Static Address Allocation Failure Case

2020-03-04 发表




There is a specific user who needs to be assigned a fixed static address( Under the DHCP address pool, we bind a fixed   address to the terminal of the MAC through this command “static bind ip address”. After configuration, we find that the user is online but get a random IP.


static-bind ip-address mask hardware-address aaaa-bbbb-cccc


Instead of getting the specified address, the terminal gets a address.Check the corresponding address allocation of DHCP address pool on bras as follows.

[H3C]dis dhcp server ip-in-use ip

IP address:

Client identifier/Hardware address: 0061-6161-6162-6262-6263-6363-6363-XXXX-XXXX-XXXX-XXXX-XXXX

Lease expiration: Unlimited

Type: Auto(C)

Client access interface: Bas-interface32

Outer VLAN: 1000

Inner VLAN: 2000

PPP index: 7000

The corresponding terminal client id/hardware address for this IP is not a MAC address, but a string of ASCII code converted from the MAC address (the last few sections here are replaced by X).We also need to bind the string when binding the address under the DHCP address pool.


When assigning a static address to a specific client in the DHCP address pool, replace the MAC address with the client ID string displayed by the dis DHCP server IP X.X.X.X to realize the assignment of fixed address.

static-bind ip-address mask client-identifier 0061-6161-6162-6262-6263-6363-6363-XXXX-XXXX-XXXX-XXXX-XXXX