0

I'm running RHEL 7.4 and the dhcpd is controlled by DD-WRT off my router.

Tried to use:

dhclient -r; dhclient -x; rm -f /var/lib/dhclient.leases; ip a; dhclient -v

but it either returns the same IP or one of two IP's. I couldn't get it to return anything more. I did check the dhcpd configuration I've done and the range is as defined: 192.168.0.100-255 .

I need dhclient to assign a different IP from the DHCP pool each time I run it.

How could I achieve that? The only way I can think of doing so is by running nmap on the subnet to determine what IP's are free but that will have it's own shortcomings.

Cheers,

xBlender
  • 1
  • 2

0 Answers0