Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2011 10:49:42 +0800
From:      dave jones <s.dave.jones@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to get ip address automatically from different dhcp server
Message-ID:  <CANf5e8ZtkdWZhM6f=MeWv6%2BmNJOZ75jjox28Ss7L9RWpGNG3=g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

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.

Regards,
Dave.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANf5e8ZtkdWZhM6f=MeWv6%2BmNJOZ75jjox28Ss7L9RWpGNG3=g>