Networking
如何在 DHCPNAK 之後消除 dhclient 中的延遲?
移動到新的 AP 後,我重新啟動
dhclient
以切換到新的網路:DHCPREQUEST on <interface> to 255.255.255.255 port 67 DHCPNAK from <new router IP> <delay> DHCPDISCOVER on <interface> to 255.255.255.255 port 67 interval 6 DHCPREQUEST on <interface> to 255.255.255.255 port 67 DHCPOFFER from <new router IP> DHCPACK from <new router IP>
如何避免延遲?
在獲得新租約之前明確釋放租約:
dhclient -r dhclient -d wlan0