How to get ip address automatically from different dhcp server

Adam Vande More amvandemore at gmail.com
Wed Jul 27 03:00:56 UTC 2011


On Tue, Jul 26, 2011 at 9:49 PM, dave jones <s.dave.jones at gmail.com> wrote:

> I cat get an IP address from dhcp server by adding the line in
> /etc/rc.conf:
>
> ifconfig_em0="DHCP"
>
> If I move my laptop to another place, I have to manually run "dhclient em0"
> to get an IP. Otherwise, it won't get an IP automatically.
>
> My question is it's possible to get ip address automatically from different
> dhcp server? thanks.
>

devd does this.  See /etc/devd.conf

-- 
Adam Vande More


More information about the freebsd-questions mailing list