星期五, 1月 04, 2013

linux重取dhcp

http://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/
The -r flag explicitly releases the current lease, and once the lease has been released, the client exits. For example, open terminal and type the command:
先釋放
$ sudo dhclient -r重取
Now obtain fresh IP:
$ sudo dhclient用ifconfig eth0看一下~收工 :)

沒有留言:

張貼留言