Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <34BA8A8B.2932@lsuc.on.ca>

next in thread | raw e-mail | index | archive | help
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?34BA8A8B.2932>