You are not logged in.
Pages: 1
I am trying to setup a dhcp server.
I am using the following dhcp.conf:
option domain-name-servers 192.168.2.1;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.5 192.168.2.55;
filename "pxelinux.0"; # the PXELinux boot agent
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
}
when I try to start the server with "/etc/rc.d/dhcpd start"
I get this:
Starting dhcpd............. [FAIL]
in dmesg I see this:
dhcpd: no ipv6 routers found
are they linked? is dhcpd failing because of no ipv6 routers? or am I missing some configuration?
Offline
To be honest I'm completely clueless about dhcpd, but you might try disabling ipv6: http://wiki.archlinux.org/index.php/IPv … the_Module
Offline
have you checked /var/log/everything.log for dhcpd error messages.
Offline
forget about IPv6, it is not a major problem
1 Do you need your server for pxe booting? I don't know much about it...
2 What is the name of the dhcp server you're using there? Are you sure that the config file is called dhcp.conf? ( for the dhcp package it has to be dhcpd.conf)
3 Is your IP address range correct? I mean are you on the same network as your future clients and you share the same IP range? If your server is not on the same network it will not work...
I've tried your config with my machines, it works fine - after I've modified the IP range for my network ( 192.168.1.x)
“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson
Offline
ya, i fixed it.
turns out i had some formatting errors in my dhcp.conf file.
thx for the pointer to the everything.log sin.citadel - thats where the errors were reported.
thx again for the help
Offline
Pages: 1