How to get ip address automatically from different dhcp server

Edgar Rodolfo cybernautape at gmail.com
Wed Jul 27 08:17:07 UTC 2011


2011/7/26, dave jones <s.dave.jones at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


-- 
Edguitar ;)
http://cybernautape.blogspot.com


More information about the freebsd-questions mailing list