How to get ip address automatically from different dhcp server

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

2011/7/26, dave jones <s.dave.jones at>:
> 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
> Regards,
> Dave.
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

Edguitar ;)

More information about the freebsd-questions mailing list