Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 20:11:00 -0600 (CST)
From:      Font <font@Mcs.Net>
To:        Keith Jackson <keith@lsuc.on.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ISC DHCP server - Address already in use
Message-ID:  <Pine.BSF.3.95.980112200802.29723A-100000@Jupiter.Mcs.Net>
In-Reply-To: <34BA8A8B.2932@lsuc.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Two things to look for:

1. Is a copy of dhcpd already running and bound to the port?  ISC dhcpd
doesn't automatically know how to disable other copies of itself, nor does
it currently know how to restart itself.  Check for other copies of dhcpd
and kill them before starting up another copy.
2. If you are dynamically assigning addresses, you may need a range
statement in your dhcpd.conf.  (This shouldn't be a problem for the
difficulty you're seeing, though.)

(Special bonus!)
3. There is a 1.0 release of ISC dhcpd which fixes some minor bugs.

dw

A bug in my MUA causes news.announce.newusers                            font
to be sent to beneficiaries and senders of UCE/SPAM.                        @
                                                                      mcs.net
Wishes are like dishes.

On Mon, 12 Jan 1998, Keith Jackson wrote:

> Date: Mon, 12 Jan 1998 16:26:35 -0500
> From: Keith Jackson <keith@lsuc.on.ca>
> To: freebsd-questions@freebsd.org
> Subject: ISC DHCP server - Address already in use
> 
> I am trying to get the ISC DHCP server running on a FreeBSD 2.1.0
> system. The DHCP server is the Beta 5.16.  I have compiled the server
> with no errors. I have now added the Berkeley Packet Filter to the
> kernel and recompiled it. I have created 4 bpf devices. I have also
> added the #define BROKEN_FREEBSD_BPF to the site.h file of the DHCP
> server source before compiling it just in case the version of FreeBSD
> has this bug.  I start up the DHCP server and it says the folowing:
> 
> Internet Software Consortium DHCPD $Name: BETA_5_16 $
> Copyright 1995, 1996 The Internet Software Consortium.
> All rights reserved.
> # Listening on BPF/ed0/0:0:c0:fb:25:c1/142.57.16.0
> Sending on   BPF/ed0/0:0:c0:fb:25:c1/142.57.16.0
> Can't bind to dhcp address: Address already in use
> dhcpd: exiting.
> 
> Can anyone tell me what the message about the dhcp address already being
> in use
> means? I have a very tiny dhcpd.conf file I'm using for test purposes
> and I have
> commented out everything but a reference to one subnet and it is still
> producing this message. Here's what's in the dhcpd.conf file:
> 
> ===============================================================
> server-identifier lsucnet.lsuc2.lsuc.on.ca;
> option domain-name "lsuc.on.ca";
> option domain-name-servers 142.57.1.7,142.57.1.10,142.77.1.1;
> 
> subnet 142.57.16.0 netmask 255.255.240.0 {
>   option domain-name "lsuc2.lsuc.on.ca";
>   option routers 142.57.16.254;
>   option subnet-mask 255.255.240.0;
> #  default-lease-time 600;
> #  max-lease-time 7200;
> }
> 
> # group {
> # option domain-name "finance.lsuc.on.ca";
> # option routers 142.57.16.254;
> # option subnet-mask 255.255.240.0;
> #       host pc-51.finance.lsuc.on.ca {
> #       hardware ethernet 00:20:af:f3:93:22;
> #       fixed-address 142.57.21.51;
> #       }
> # }
> =================================================================
> 
> Thanks for any help.
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980112200802.29723A-100000>