With DHCP, where does one find their IP, nameserver and gateway addresses?

John DeCarlo johndecarlo at gmail.com
Thu May 5 13:24:05 UTC 2005


On 5/5/05, Senectus . <senectus at gmail.com> wrote:
> 
> How do you release then renew your lease ?
> In windows its "ipconfig /release" and "ipconfig /renew"
> 

While you can do it many ways, such as shutting down the interface and 
starting it up again, the equivalent way is to use dhclient.

to release the lease:
dhclient -r eth1 

to renew:
dhclient eth1

Note that DHCP does not require a release to do a renew.

Check man dhclient for more.

-- 
John DeCarlo, My Views Are My Own
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050505/475b3352/attachment.html>


More information about the ubuntu-users mailing list