[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] ifconfig and dhcp



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