Operating System - Linux
1833315 Members
2951 Online
110051 Solutions
New Discussion

Unusual DHCP server problem

 
Admin32
Advisor

Unusual DHCP server problem

 
3 REPLIES 3
U.SivaKumar_2
Honored Contributor

Re: Unusual DHCP server problem

Hi ,

Do you have route for 255.255.255.255 ?
As DHCPD will use 255.255.255.255 to send packets.

If not try adding

route add -host 255.255.255.255 dev eth0
route add -host 255.255.255.255 dev eth1
route add -host 255.255.255.255 dev eth2
route add -host 255.255.255.255 dev eth0:1

or

Edit /etc/hosts , put this line
255.255.255.255 dhcphack

route add -host dhcphack dev eth0
route add -host dhcphack dev eth1
route add -host dhcphack dev eth2
route add -host dhcphack dev eth0:1

Put all the commands in a script rc.local so that it starts even after reboot.

Restart DHCP server.

Hope your problem is solved.

regards,
U.SivaKumar



















Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: Unusual DHCP server problem

Hi,

Is 192.168.1.0 network only DHCP enabled ?

Then this is enough

route add -host 255.255.255.255 dev eth0

or

route add -host dhcphack dev eth0

Add the above commands before daemon /usr/sbin/dhcpd line of /etc/rc.d/init.d/dhcpd file.

regards,
U.SivaKumar




Innovations are made when conventions are broken
Admin32
Advisor

Re: Unusual DHCP server problem

SivaKumar,

I have done the recommended changes but still the problem exists.

Im sure the broadcast is getting to its destination. There must be something else which I am missing.

I have also unbinded the 2nd IP address from eth0 so it only has 192.168.1.1 now.

If you have any other ideas, please feel free to suggest !

Thank you.