Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't bind to dhcp address: Address already in use

102 views
Skip to first unread message

Piotr Klosowski

unread,
Apr 4, 2001, 6:06:21 AM4/4/01
to freebsd-...@freebsd.org
My configuration file is :
option domain-name "alfa.iele.polsl.gliwice.pl";
option domain-name-servers alfa.iele.polsl.gliwice.pl;

option subnet-mask 255.255.255.128;
option broadcast-address 157.158.24.128;
option routers 157.158.24.1;

default-lease-time 600;
max-lease-time 7200;

#subnet 204.152.187.0 netmask 255.255.255.0 {
#}

shared-network 24-NET {

subnet 157.158.24.0 netmask 255.255.255.128 {
range 157.158.24.120 157.158.24.121;
# range dynamic-bootp 157.158.24.122 157.158.24.125;
option broadcast-address 157.158.24.128;
option routers 157.158.24.1;
}
}

#subnet 157.158.24.0 netmask 255.255.255.128 {
#range dynamic-bootp 157.158.24.65 157.158.24.120;
#}

subnet 157.158.1.0 netmask 255.255.255.0 {

not authoritative;

}

host h1{
hardware ethernet 00:c0:df:02:37:ec;
fixed-address 157.158.24.1;
}


I have error message :

su-2.03# dhcpd rl0
Internet Software Consortium DHCP Server 2.0pl3
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Listening on BPF/rl0/00:c0:df:02:37:ec/24-NET
Sending on BPF/rl0/00:c0:df:02:37:ec/24-NET
Can't bind to dhcp address: Address already in use
exiting.


Where is Error ?

Peter


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

Edwin Groothuis

unread,
Apr 4, 2001, 6:14:37 AM4/4/01
to Piotr Klosowski, freebsd-...@freebsd.org
On Wed, Apr 04, 2001 at 12:04:56PM +0200, Piotr Klosowski wrote:
> su-2.03# dhcpd rl0
> Internet Software Consortium DHCP Server 2.0pl3
> Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
> All rights reserved.
>
> Please contribute if you find this software useful.
> For info, please visit http://www.isc.org/dhcp-contrib.html
>
> Listening on BPF/rl0/00:c0:df:02:37:ec/24-NET
> Sending on BPF/rl0/00:c0:df:02:37:ec/24-NET
> Can't bind to dhcp address: Address already in use
> exiting.

Is there another process listening op port bootps? Use sockstat to
find this out:

[~] edwin@kludge>sockstat | grep 67
root dhcpd 37155 3 udp4 *:67 *:*

See, something is already on that, and it's a dhcpd

Edwin

--
Edwin Groothuis | Personal website: http://www.MavEtJu.org
ed...@mavetju.org | Interested in MUDs? Visit Fatal Dimensions:
------------------+ http://FatalDimensions.nl.eu.org/

0 new messages