base system vs. isc-dhcp : dhclient conflicts?

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Apr 18 02:57:31 PDT 2004


On Sun, Apr 18, 2004 at 09:31:05AM +0900, Rob wrote:

> I have isc-dhcp3 port installed on my 4.9-Stable PC.
> I need that as I want to configure this machine as
> both, a DHCP client and server.

Making a machine use itself as a DHCP server is somewhat odd -- there
will be a boot time problem where the machine is trying to find a DHCP
server, so that it can configure it's interface, so that it can start
up all the servers it usually runs, including the DHCP server it
needs...  Which isn't to say that it's completely impossible to make
the machine be both client and server, but that you're going to have
exert significant effort and some slightly baroque programming in
order to make it work.  It's an awful lot easier just to give the DHCP
server a fixed address.
 
> I notice, that I have two versions of dhclient related
> files (see below). Is this a problem and reason for
> possible conflicts? What can I do to avoid multiple
> versions of dhclient related files?

These should be pretty similar, as they both come from the ISC dhcpd
distribution.
 
> Is there a make.conf option that will prevent the build
> of dhclient in the base system?

Apparently not.

> I don't know which dhclient to use, the one in /sbin
> or the one in /usr/local/sbin. And which dhclient.conf
> file to modify.

The boot system will use the one in /sbin by default, and that
corresponds to the /etc/dhclient.conf file.  

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040418/398af188/attachment.bin


More information about the freebsd-questions mailing list