|
|
发表于 2006-7-28 08:06:16
|
显示全部楼层
man dhclient的,不知道是否有用?
The client normally doesn't release the current lease as it is not required by the DHCP protocol. Some cable ISPs require
their clients to notify the server if they wish to release an assigned IP address. The -r flag explicitly releases the current
lease, and once the lease has been released, the client exits.
The -1 flag cause dhclient to try once to get a lease. If it fails, dhclient exits with exit code two. |
|