[B]Hi,
I have followed the ubuntu guide for setting up a dhcp3-server server for my internal network, I have installed dhcp3-server, configured it refuse to start, here are some background:
This is my /etc/default/dhcp3-server:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"
This is from my ifconfig:
eth1 Link encap:Ethernet HWaddr 00:50:bf:db:49:16
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fedb:4916/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42971806 errors:7 dropped:0 overruns:0 frame:0
TX packets:33846980 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3000265991 (3.0 GB) TX bytes:1547648482 (1.5 GB)
Interrupt:12 Base address:0xdc00
This is my /etc/dhcp3/dhcpd.conf:
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 81.26.226.3, 81.26.226.2;
option domain-name "mydomain.com";
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.40 192.168.0.90;
range 192.168.0.201 192.168.0.245;
}
And below is a tail from the syslog when I try to start it:
Feb 1 16:11:34 server dhcpd: Wrote 0 leases to leases file.
Feb 1 16:11:34 server dhcpd: Can't bind to dhcp address: Address already in use
Feb 1 16:11:34 server dhcpd: Please make sure there is no other dhcp server
Feb 1 16:11:34 server dhcpd: running and that there's no entry for dhcp or
Feb 1 16:11:34 server dhcpd: bootp in /etc/inetd.conf. Also make sure you
Feb 1 16:11:34 server dhcpd: are not running HP JetAdmin software, which
Feb 1 16:11:34 server dhcpd: includes a bootp server.
So my question is, how can I further trace the error?
Any help is apprichiated
/Eaglecoth
Bookmarks