Dhcp broadcasts a DHCP request for an address and various network parameters. It takes the first acceptable offer, sets the interface to that address, and writes the address and parameter values, in ndb(6) format, to /net/ndb, where cs(8), dns(8) and others will find them. If the address is provided with a limited lease, dhcp itself returns, but it leaves a process in the background that periodically renews the lease (or requests a new address if the lease is not renewed).
If localip is given, dhcp attempts to reacquire that address. If successful, it configures the interface with that address (and mask if supplied), maintaining any lease as before. If it cannot reacquire the address, it broadcasts a request for a new address, as above.
The options are:
x=`{cat /net/ipifc/clone} echo bind ether /net/ether0 >/net/ipifc/$x/ctl && ip/dhcp /net/ipifc/$x
DHCP(8 ) | Rev: Tue Mar 31 02:42:38 GMT 2015 |