Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: stuartiannaylor on August 16, 2010, 05:17:25 am
-
I cant seem to get the dhcp server started.
The daemon.log
reports that no subnet has been defined.
Anyone any idea's how to do this
The dhcp is supposed to run on eth1 on 192.168.2.1 255.255.255.0
dhcp.conf is strangely empty of the declarations.
Sorry much of a newbie :)
Stuart
-
sorry ebox 1.5-1 iso core 1.5.9
-
You need to specify a range for a static interface, please check the doc to see if you are configuring it properly:
http://doc.ebox-platform.com/en/dhcp.html
-
Hi, yeah my problem for me seems to be that even if I set the correct information and can see the DHCP range listed on the 'Network Configuration' page I still get the same error.
What I have noticed is when you save changes, the update saves through various modules, DNS, Firewall .... but there is no mention of DHCP.
I have tried to save the changes many times and it doesnt seem to work (prob me). Another thing is that I was going to attach a configuration report but it exceeds the attachment limit.
Going to have another go.
Thanks
Stuart
-
Dunno given up just cant seem to get it going and not sure why.
daemon.log gives me this >>>
Aug 16 17:33:00 TGCAG1 dhcpd:
Aug 16 17:33:00 TGCAG1 dhcpd: No subnet declaration for eth1 (192.168.2.1).
Aug 16 17:33:00 TGCAG1 dhcpd: ** Ignoring requests on eth1. If this is not what
Aug 16 17:33:00 TGCAG1 dhcpd: you want, please write a subnet declaration
Aug 16 17:33:00 TGCAG1 dhcpd: in your dhcpd.conf file for the network segment
Aug 16 17:33:00 TGCAG1 dhcpd: to which interface eth1 is attached. **
Aug 16 17:33:00 TGCAG1 dhcpd:
Aug 16 17:33:00 TGCAG1 dhcpd:
Aug 16 17:33:00 TGCAG1 dhcpd: No subnet declaration for eth0 (192.168.1.6).
Aug 16 17:33:00 TGCAG1 dhcpd: ** Ignoring requests on eth0. If this is not what
Aug 16 17:33:00 TGCAG1 dhcpd: you want, please write a subnet declaration
Aug 16 17:33:00 TGCAG1 dhcpd: in your dhcpd.conf file for the network segment
Aug 16 17:33:00 TGCAG1 dhcpd: to which interface eth0 is attached. **
Aug 16 17:33:00 TGCAG1 dhcpd:
Aug 16 17:33:00 TGCAG1 dhcpd:
Aug 16 17:33:00 TGCAG1 dhcpd: Not configured to listen on any interfaces!
Aug 16 17:33:00 TGCAG1 init: ebox.dhcpd3 main process (21804) terminated with status 1
Aug 16 17:33:00 TGCAG1 init: ebox.dhcpd3 respawning too fast, stopped
/etc/dhcp3/dhcpd.conf contains >>>
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
ddns-update-style none;
option domain-name-servers 192.168.1.1;
If I try to start the service always the above is written to dhcpd.conf
I have had configured a subnet with gateway, router and range details. Click save. Start the module and again I am back to the above.
The network config has been saved can anyone tell me what is overwriting the dhcpd.conf?
Or tell me what is going on?
Many Thanks
Stuart ;D
I have installed eBox 1.5-1 several times configured a minimum amount of modules or the whole kit caboodle and the only thing that doesnt seem to work is the DHCP server.
default-lease-time 1800;
max-lease-time 7200;