There is a specific user who needs to be assigned a fixed static address(220.127.116.11). 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 18.104.22.168 mask 255.0.0.0 hardware-address aaaa-bbbb-cccc
Instead of getting the specified 22.214.171.124 address, the terminal gets a 126.96.36.199 address.Check the corresponding address allocation of DHCP address pool on bras as follows.
[H3C]dis dhcp server ip-in-use ip 188.8.131.52
IP address: 184.108.40.206
Client identifier/Hardware address: 0061-6161-6162-6262-6263-6363-6363-XXXX-XXXX-XXXX-XXXX-XXXX
Lease expiration: Unlimited
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 220.127.116.11 mask 255.255.192.0 client-identifier 0061-6161-6162-6262-6263-6363-6363-XXXX-XXXX-XXXX-XXXX-XXXX