dhclient eth0

Posted December 18th, 2008 by marslert

A sweet command learned from a senior for retrieving a new IP from a bridged or NAT network.

Useful when working in some virtual OS to retrieve IP.

Even you can kill the process of dhclient if there is problem for retrieving new IP.

First of all, run

ps aux | grep dhclient

to grab the PID and kill it. After that, execute again dhclient eth0.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>