[ale] ifconfig and dhcp

Brian Pitts brian at polibyte.com
Tue Aug 12 21:25:26 EDT 2008


Geoffrey wrote:
> So, I know how to configure a static IP with ifconfig.  How does one 
> configure a device via ifconfig to use dhcp??

AFAIK you don't. To do this manually you can bring the interface up with
ifconfig then run your dhcp client (e.g. dhclient). If you have the
interface set for dhcp in your interfaces file, then ifup should be
called by your distro's init scripts and take care of it for you.

-Brian


More information about the Ale mailing list