What could be the issue if IPv4 fixed addressing not working

Posts: 1
3355     0

 We have DHCP running and we want to have some IP from DCHP range to be reserved for some hosts, so that IP would not be leased to another device other than reserved host.

What should be the best option to achieve this ?

Tried with fixed addressing but it didn't work as after fixed address with MAC address configuration for one end system, it is getting other DHCP leased IP address rather than the fixed reserved IP.

What could have caused such issue?

Re: What could be the issue if IPv4 fixed addressing not working

Posts: 101
3355     0

Are you sure it was exaclty the same MAC address?


You can also convert the IP address from the range where the device got its IP to a fixed address after the inital lease has been granted.





Re: What could be the issue if IPv4 fixed addressing not working

Posts: 149
3355     0



New fixed address creation AND fixed address changes are most often required to be written directly to the DHCP configuration file [dhcpd.conf]. Hence any new fixed address creation, changes to existing ones would require you to restart the service on the concerned DHCP server. However, there are features such as "Immediate FA configuration", in NIOS version 7.0 and above which can apply a fixed address without having to restart the dhcp service. Having said that, even if immediate FA configuration is enabled, if the fixed address you are allocating to a MAC address falls in an existing DHCP range, you will have to restart the service for the changes to take effect.


Apart from the above, DHCP server most often uses relay agent information (giaddr) for subnet selection for a client. For example: If the Fixed Address you configured is inside network and if the client's request for an IP address is via which falls in network, your client would end up receiving an IP address from the pool inside network. Having said that, I would like to clarify that subnet selection may not always be associated to relay agent info. Sometimes, it could be on the basis of certain custom configuration such as Option-82, sub-option 5 [Link selection]

Best Regards,
Bibin Thomas

Showing results for 
Search instead for 
Did you mean: 

Recommended for You