Page 1 of 1

DHCP service

Posted: Thu Oct 25, 2012 2:47 pm
by dmanem
Hello,

I started the DHCP Configuration wizard and configured a DHCP server, the problem is that the Servers with Static IPs are giving a criticla error as they are not receiving any DHCP offers. Below is a screenshot of it. I told nagios to acknowledge this error and to stop obsessing about this service. I tried deleting the service but it shows that there is an advanced service that needs to be changed but I am not sure where it is.

Thank you.

Re: DHCP service

Posted: Thu Oct 25, 2012 3:08 pm
by scottwilkerson
It could be iptables blocking access

Run the following

Code: Select all

iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
If you want to remove the service you can do so in Core Config Manager -> Search -> DHCP
delete
Apply configuration

Re: DHCP service

Posted: Thu Oct 25, 2012 4:07 pm
by dmanem
It looks like that command solved it. It now says that the servers are getting DHCP offers even though they have static IP addresses and that they are in the DHCP server's exclusion range. I would like to confirm that this command does not affect the servers but something that made changes only locally(within Nagios).

Thank you.

Re: DHCP service

Posted: Thu Oct 25, 2012 4:51 pm
by CGraham
That command opens ports udp 67 and 68 in the firewall on the Nagios server. It doesn't change anything on the other systems your monitoring.

Re: DHCP service

Posted: Fri Oct 26, 2012 7:02 am
by scottwilkerson
dmanem wrote: I would like to confirm that this command does not affect the servers but something that made changes only locally(within Nagios).
CGraham is right.

Re: DHCP service

Posted: Fri Oct 26, 2012 12:33 pm
by dmanem
Thanks you Graham and Scott.