Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 15:25:30 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        "Jasvinder S. Bahra" <bbdl21548@blueyonder.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Binding dhclient to a particular network interface
Message-ID:  <46AE3B2A.4050306@mac.com>
In-Reply-To: <001901c7d2da$1cc36760$0600010a@atlantis>
References:  <002301c7d10a$09ee5180$0600010a@atlantis> <46ACF835.7040402@crackmonkey.us> <000601c7d238$065da370$0600010a@atlantis> <001101c7d23e$ea6e2200$bf4a6600$@com> <001901c7d2da$1cc36760$0600010a@atlantis>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AE3B2A.4050306>