Guest User!

You are not Sophos Staff.

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

Trouble with DHCP. Dynamic and static leases present

Somehow along the way, the way Astaro handles static mapped dhcp clients has changed.  My configuration has not changed.  Astaro has changed, and now it's not working.

I have a laptop that won't aquire an IP address.  I get this message:

2010:05:04-16:07:30 hondafw1 dhcpd: Dynamic and static leases present for 192.168.0.71.
2010:05:04-16:07:30 hondafw1 dhcpd: Remove host declaration REF_xGocMMsalY or remove 192.168.0.71
2010:05:04-16:07:30 hondafw1 dhcpd: from the dynamic address pool for 192.168.0/24 

I have my laptop entered in Static MAC/IP Mappings, and also under Definitions-> Networks as a host.  Obviously somehow it doesn't like my setup, but I don't know how to fix it.

What I want is DHCP with static mapping, so that my laptop with its MAC address is always given the ip 192.168.0.71


This thread was automatically locked due to age.
  • Hi, can you post screenshots of your DHCP reservation page?

    Barry
  • I hope this is what you wanted, the DHCP static mapping table?

    Here it is.
  • Still having this problem.  It's pretty infuriating.

    Anyone might have an idea?
  • What do you get when you paste REF_xGocMMsalY into the 'Resolve REF_' tab of 'Support >> Advanced'?

    Please show a picture of the 'Lease Table' tab in 'Network Services >> DHCP'.

    Cheers - Bob
  • Hi all,

    I have same problem too with dhcp services.
    i want to know how to calculate dhcp lease time if i want my lease time in 5 days.
    b coz i'm already set enable dhcp but it can't be change after 1 week with default setting.
    i try to decrease time too but nothing happen.

    thanks in advance
  • What do you get when you paste REF_xGocMMsalY into the 'Resolve REF_' tab of 'Support >> Advanced'?

    Please show a picture of the 'Lease Table' tab in 'Network Services >> DHCP'.

    Cheers - Bob


    Thanks for the reply Bob, here is what happened when I did the Resolve REF_ on the devices having trouble in the DHCP server log:

    $VAR1 = {
              'lock' => '',
              'ref' => 'REF_BTmPnNAcVL',
              'hidden' => 0,
              'class' => 'dhcp',
              'type' => 'mac_map',
              'data' => {
                          'comment' => 'hondaiphone',
                          'ip' => '192.168.0.60',
                          'name' => 'REF_BTmPnNAcVL',
                          'mac' => '00:23:12:A9:B8:4C'
                        },
              'nodel' => ''
            };


    $VAR1 = {
              'lock' => '',
              'ref' => 'REF_UCKiRteStR',
              'data' => {
                          'comment' => 'Lilah Work Laptop',
                          'ip' => '192.168.0.70',
                          'name' => 'REF_UCKiRteStR',
                          'mac' => '00:1B:77:95:90:A4'
                        },
              'type' => 'mac_map',
              'class' => 'dhcp',
              'hidden' => 0,
              'nodel' => ''
            };

    $VAR1 = {
              'lock' => '',
              'ref' => 'REF_xGocMMsalY',
              'hidden' => 0,
              'class' => 'dhcp',
              'type' => 'mac_map',
              'data' => {
                          'comment' => 'hondamac1-W',
                          'ip' => '192.168.0.71',
                          'name' => 'REF_xGocMMsalY',
                          'mac' => '00:17:F2:EB:F4:9B'
                        },
              'nodel' => ''
            };



    And this is the line in my lease table:

    ndal1070358  00:15:58:c9:7b:74  192.168.0.80   2010/06/21 23:22:50 UTC  2010/06/21 23:32:50 UTC

    I know what that is, it is dhcp on my wifes laptop via lan, since wireless kept disconnecting.

    After I did that resolve thing you suggested, and it found the device, will it be permanent now?  Or will it "forget" when the lease expires?  I guess I don't understand how or what is happening.

    Update:  I just answered my own question.  It seems to be still giving the same errors:

    2010:06:21-18:34:45 hondafw1 dhcpd: Remove host declaration REF_UCKiRteStR or remove 192.168.0.70
    2010:06:21-18:34:45 hondafw1 dhcpd: from the dynamic address pool for 192.168.0/24
    2010:06:21-18:34:45 hondafw1 dhcpd: DHCPREQUEST for 192.168.0.70 from 00:1b:77:95:90:a4 via eth1
    2010:06:21-18:34:45 hondafw1 dhcpd: DHCPACK on 192.168.0.70 to 00:1b:77:95:90:a4 via eth1
  • chriztlaurentz, most DHCP servers will assign the same IP to the same MAC address everytime you renew the lease.  With Astaro, the default is 600 seconds = 10 minutes.

    Hondaman, I think I'd take the warning at face value: "remove 192.168.0.71 from the dynamic address pool for 192.168.0/24" - change the range to something like 192.168.0.80-99.

    Cheers - Bob
  • chriztlaurentz, most DHCP servers will assign the same IP to the same MAC address everytime you renew the lease.  With Astaro, the default is 600 seconds = 10 minutes.


    Cheers - Bob


    Thanks Bob
  • Wow,
    DirectV has an IP/Mac address, Gotta try that. [:)] Mine is old school maybe not.
  • "dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file "

    I took an update then DCHP stopped working correctly. Now it won't even show up however I can see it on eto 1/2. Timeout 1 month lease.

    Help.

    Problem is that I have no DHCP clients for VOIP thus I cant control them if I dont see them. However, QOS is horrible sounds like tin can dropping packets on both VOIP.

    Reboot/ back firmware wont help.

    Mike