Binding dhclient to a particular network interface

Chuck Swiger cswiger at mac.com
Mon Jul 30 20:38:10 UTC 2007


Jasvinder S. Bahra wrote:
> Chuck,
> 
> I gave this a shot, but this stopped the interface being assigned an IP
> address at all (i.e... before the change, the interface had a valid IP
> address assigned by the DHCP server in my cable modem, but after making the
> change and restarting, the "ifconfig" command shows the interface having an
> IP address of 0.0.0.0).
> 
> I do agree though - the man page explicitly says that this should work.

Does running "dhclient ed1" from the command line work?
Is the DHCP server providing the right answer?

Running "tcpdump -s 0 arp or port bootps" would give you insight into what the 
network is seeing, at least.  Doing this from your DHCP server or a laptop on 
a hub with the interface in question would be useful vantages, or a "trunk" or 
"span" port on a smart switch, depending on what you might have handy.

-- 
-Chuck


More information about the freebsd-questions mailing list