Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2011 22:00:54 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        dave jones <s.dave.jones@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to get ip address automatically from different dhcp server
Message-ID:  <CA%2BtpaK3F9Ofvc4QsW9uhJmtnzLemWgUmN%2BVbZ5XHnu8FiQyuNg@mail.gmail.com>
In-Reply-To: <CANf5e8ZtkdWZhM6f=MeWv6%2BmNJOZ75jjox28Ss7L9RWpGNG3=g@mail.gmail.com>
References:  <CANf5e8ZtkdWZhM6f=MeWv6%2BmNJOZ75jjox28Ss7L9RWpGNG3=g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 26, 2011 at 9:49 PM, dave jones <s.dave.jones@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK3F9Ofvc4QsW9uhJmtnzLemWgUmN%2BVbZ5XHnu8FiQyuNg>