Date: Wed, 27 Jul 2011 03:17:06 -0500 From: Edgar Rodolfo <cybernautape@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: <CAH%2B63SQ9-ozKSh4KFMbSHbRsP0CpsRWGakkvpoNtY-uCG%2BFmkQ@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
2011/7/26, dave jones <s.dave.jones@gmail.com>: > 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. of course, if you system FreeBSD has ifconfig_em0="DHCP" enable, it will recive parameters as ip, dns, gateway; is necessary that where you connect your laptop e.g. router or switch, should be the network working with some dhcp server, many router for default have it enable... > > Regards, > Dave. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Edguitar ;) http://cybernautape.blogspot.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH%2B63SQ9-ozKSh4KFMbSHbRsP0CpsRWGakkvpoNtY-uCG%2BFmkQ>