Binding dhclient to a particular network interface

Chuck Swiger cswiger at mac.com
Mon Jul 30 19:25:38 UTC 2007


Jasvinder S. Bahra wrote:
> Terry,
> 
> I tried adding the interface line to the dhclient configuration file (and
> then rebooting), but it had no effect.  Entering the "sockstat -l4" command
> showed that local address was still "*:68".

"man dhclient" suggests that the interface needs to be specified on the 
command line.  Try adding:

   dhclient_flags="ed1"

...to /etc/rc.conf, and double-check that you already have that interface 
configured to use DHCP while you're there.  :-)

Regards,
-- 
-Chuck


More information about the freebsd-questions mailing list