Binding dhclient to a particular network interface
Jasvinder S. Bahra
bbdl21548 at blueyonder.co.uk
Sat Jul 28 11:26:08 UTC 2007
One of my machines has two network cards in it - one of which connects to a
switch, and the other to a cable modem. The IP address assigned to the
switch facing network interface is fixed. However, the IP address assigned
to the network interface connected to the cable modem, is dynamically
assigned by the DHCP server built into the cable modem.
If I run the following command at the command line...
I am presented with a list of IPv4 listening services. Unsurprisingly, one
of these services is "dhclient". However, unlike some of the other services
listed, it seems to be listening on both network interfaces - local address
is listed as "*.68".
Is there a way of instructing dhclient to listen only on the cable-modem
facing network interface?
Note that I did check the man pages for dhclient and dhclient.conf, but I
didn't see anything specific to my requirements. There was something
mentioned about how to configure settings for a particular interface, but
that is not exactly what I need.
More information about the freebsd-questions