This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP not working

In the last week or so I've had an issue where DHCP is not working.  I have Android and Windows clients and none can successfully get an IP.

I have open addressing, the demon is running.  If I kill it, it respawns.

Here is the live log:
2014:06:06-12:43:48 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:43:48 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:43:51 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:43:51 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:14 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:14 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:17 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:17 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:20 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:20 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0

This is all I ever see, different clients, but they all do the same.

I looked for a demon log, but didn't see anything in Var.

I deleted the DHCP config and did it over, no change.

Sophos version: 9.111-11

I think this started with a version update to 9.111-11.

Funny thing, I cannot find the DHCPD executable in /usr/sbin and cannot find the conf file in etc even though ps-aux shows that is where they are running from.

Any suggestions?


This thread was automatically locked due to age.
  • Hi, les_garten, and welcome to the User BB!

    Have you tried a reboot?  If that doesn't work, try a config restore from a backup prior to the problem.  Any luck?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Hi, les_garten, and welcome to the User BB!

    Have you tried a reboot?  If that doesn't work, try a config restore from a backup prior to the problem.  Any luck?

    Cheers - Bob


    Hi,
       Tried a reboot and a config restore from before.  I thing It's the FW.  Coincides with the up2date update.

    Is there a way to force updates?
  • I think my problem is I don't have a conf file.

    See here:

    turbonet:/etc # ps -aux | grep dhcpd
    Warning: bad ps syntax, perhaps a bogus '-'? See procps - Frequently Asked Questions (FAQ)
    root      6793  0.0  0.0   4532  2580 ?        Ss   Jun06   0:03 /usr/sbin/dhcpd -cf /etc/dhcpd.conf eth0
    root     21128  0.0  0.0   3608   744 pts/0    S+   22:24   0:00 grep dhcpd
    turbonet:/etc # ls -l d*
    -rw-r--r-- 1 root root    0 Feb 17  2012 defaultdomain
    -rw-r--r-- 1 root root  416 Feb 17  2012 depmod.conf
    -rw-r--r-- 1 root root  645 Nov 16  2012 drirc

    dbus-1:
    total 16
    -rw-r--r-- 1 root root 2524 Nov 16  2012 session.conf
    drwxr-xr-x 2 root root 4096 Nov 16  2012 session.d
    -rw-r--r-- 1 root root 3000 Nov 16  2012 system.conf
    drwxr-xr-x 2 root root 4096 Sep  5  2013 system.d

    ddclient:
    total 12
    -rw------- 1 root root 254 Jun  6 22:04 ddclient.conf
    -rw-r--r-- 1 root root 111 Sep  5  2013 global.conf-default
    -rw-r--r-- 1 root root 142 Sep  5  2013 host.conf-default

    default:
    total 20
    -rw-r--r-- 1 root root   77 Feb 21 11:28 coredump
    -rw-r--r-- 1 root root 2140 Dec 19  2012 nss
    -rw-r--r-- 1 root root 1715 Feb 17  2012 passwd
    -rw-r--r-- 1 root root  313 Aug 15  2012 su
    -rw-r--r-- 1 root root  114 Feb 17  2012 useradd

    depmod.d:
    total 0

    There is no dhcpd.conf in /etc

    is there something I'm missing here?
  • I have already deleted the dhcp scopes in webadmin and replaced them to no avail.
  • I think I'd run diagnostics on the hardware and consider installing from ISO - this just isn't an issue that's reported by others.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Found the problem!

    So last night I continued to look for dragons to slay on this problem.  It was driving me absolutely crazy.  I also wanted to update to 9.2.  I couldn't figure how to make an update happen or figure out why updates weren't happening.  I was on 9.111-11.

    So I DL'd the ISO and whacked everything.  Reinstalled with 9.2, restored a config, and bang!  Guess what still have the problem!

    I even had switched NIC's in the FW when I did the install.

    So now I'm eyeing the last thing It could be, my Switch.

    I had updated the Firmware in the switch about the same time this started happening.  So I scoured through the Netgear smartswitch and everything "appeared" correct.

    I found a very slightly updated FW for the switch and flashed it.

    Still have the problem.  Hmmmm, getting Mo' ticked off  by the second.

    So I put a Hub in place of the switch, problem GONE!

    Put the switch back, problems back.

    So now with the proper Google search tags, resolution is at hand immediately.  It was a setting in the switch to filter DHCP!!

    This switch Interface is in Chingrish and it has been difficult at times to understand how they label things and that's what got me.  The switch interface is terrible.

    So  there we go, not a Sophos problem at all.

    Thanx to everyone who helped out here!
  • Clarification on the dhcpd.conf location confusion:

    The dhcp server runs in a chroot: /var/chroot-dhcps/
    The config file is /var/chroot-dhcps/etc/dhcpd.conf not in /etc/

    I'd like to know more about the switch:

    What is the model and firmware versions of the switch?
    How is/was the switch dhcp filtering feature labeled?
    Did something with the switch change at the same time you made the move to 9.111-11?
  • Clarification on the dhcpd.conf location confusion:

    The dhcp server runs in a chroot: /var/chroot-dhcps/
    The config file is /var/chroot-dhcps/etc/dhcpd.conf not in /etc/

    I'd like to know more about the switch:

    What is the model and firmware versions of the switch?
    How is/was the switch dhcp filtering feature labeled?
    Did something with the switch change at the same time you made the move to 9.111-11?


    Thanx for the file location info.

    The switch reconfiguration was my fault but I see how I was going through it quickly and didn't pay attention to how it was laid out.

    It is a Netgear GS724T v3

    Lifetime warranty, great deal on a switch, about $200.  even has spots for GBICs.  I got hit by lightening and they just cross shipped me a new one after 3 years.

    The timing was that the FW update was about the same time that  the switch FW upgrade was and the now apparent reconfiguration was.  Took a while for the DHCP issue to rear it's ugly head because I leave all my computers, tablets, etc running all the time.   So took a few weeks for me to say WTF is going on here.  During the troubleshooting I had gazed back over the switch but still didn't see the DHCP filtering.  I'm getting older, blinder, and lazier as a near the later 3rd of life it seems...

    Here is the screenshot of the switch config page.  If you are jsut looking at the center panal, this doesn't look like a filtering page at first.  It looks like you are enabling a smewhat ubiquitous admin mode.

    The switch interface on the netgear is kludgy, slow, and poorly laid out IME.  But this was still my error.