What's new

how to change the time how long an IP stays in the Client list

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

ahnernoch

New Around Here
Hello,

I have an Asus N68U iwth Merlin Fork FW.

Is there a way to change the time how long an Ip stays in the Client DHCP table when the device is offline? When my Pc goes oflline the IP stays a really long time inside. I want to put this time down to 1 minute maybe. Is there a way to do this? Tanks in advance....
 
Entries on the DHCP list will remain there until the lease expires. There's no way around it, it's how DHCP works.
 
If you use Windows a trick may work, is to force client to disconnect when shut down.
Code:
dhcp-option=vendor:MSFT,2,1i
Code:
Send microsoft-specific option to tell windows to release the DHCP lease
# when it shuts down. Note the "i" flag, to tell dnsmasq to send the
# value as a four-byte integer - that's what microsoft wants. See
# http://technet2.microsoft.com/WindowsServer/en/library/a70f1bb7-d2d4-49f0-96d6-4b7414ecfaae1033.mspx?mfr=true
#dhcp-option=vendor:MSFT,2,1i
 
Last edited:
If you use Windows a trick may work, is to force client to disconnect when shut down.
Code:
dhcp-option=vendor:MSFT,2,1i
That's pretty nifty. Do you know if other values are supported for the vendor id?
 
upload_2017-3-30_11-54-16.png
 
If you use Windows a trick may work, is to force client to disconnect when shut down.
Code:
dhcp-option=vendor:MSFT,2,1i
Code:
Send microsoft-specific option to tell windows to release the DHCP lease
# when it shuts down. Note the "i" flag, to tell dnsmasq to send the
# value as a four-byte integer - that's what microsoft wants. See
# http://technet2.microsoft.com/WindowsServer/en/library/a70f1bb7-d2d4-49f0-96d6-4b7414ecfaae1033.mspx?mfr=true
#dhcp-option=vendor:MSFT,2,1i
http://www.ingmarverheij.com/microsoft-vendor-specific-dhcp-options-explained-and-demystified/

MSFT is old. You will want to use MSFT 5.0

EDIT: Nevermind. Found another document that says this: "
(A substring match is OK, so "MSFT"
# matches "MSFT" and "MSFT 5.0")"
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top