How to release all IP addresses in my LAN network

8,670

It is not possible to force clients to release their IP's. The client could release its own dynamic IP (ex: sudo dhclient -r eth0)

Try make small release time, ISC DHCP server has such configuration. Default is:

default-lease-time 86400;
max-lease-time 86400;

ie 24h, Try with default-lease-time 1800 ie 30min or even less.

References:

If you using other DHCP server then ISC (or DSL routers), Most of them provide option to set Release Time.

Share:
8,670

Related videos on Youtube

Ben
Author by

Ben

Updated on September 18, 2022

Comments

  • Ben
    Ben about 1 year

    I have ~100 clients on my LAN.

    When they get turned on simultaneously many seem to get assigned the same IP addresses. - I use dhcp

    How can I get them get ubuntu to release all the currently assigned IPs address in my LAN (some clients are still stuck with the same IP address) and have the clients renew unique IP addresses?

    Thanks Ubuntu gurus.

    • Mitch
      Mitch over 9 years
      Do you have enough IP's set in DHCP?
    • Ben
      Ben over 9 years
      Yes, I have 200 IPs made available. These clients seem to randomly lose their MAC addresses (incomplete) .... Does that symptom sound familiar?