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 problem

I have DHCP functionality enabled 

Internal [Range 192.168.2.1 through 192.168.2.254]
DNS 1: 192.168.1.254 DNS 2: 0.0.0.0 Default Gateway: 192.168.2.100 WINS: 0.0.0.0

However when  I connect clients they always start from the end of the range rather the start of the range. First three clients connected below:

[unknown] 	00:1e:c9:67:44:6d 	192.168.2.253 	2009/03/13 19:29:20 UTC 	2009/03/13 19:30:53 UTC

[unknown]  00:13:02:b4:28:2a  192.168.2.252  2009/03/13 19:42:00 UTC  2009/03/13 19:48:40 UTC
[unknown]  00:16:01:ab:1b:65  192.168.2.254  2009/03/13 19:57:04 UTC  2009/03/13 19:59:30 UTC


I can  have static mapping which I did to overcome the problem. I was just wondering if there is a specific problem with the DHCP lease?


This thread was automatically locked due to age.
Parents
  • I've noticed the same thing. I don't consider it to be a problem though.

    Barry
  • yes indeed is not a great problem bu I thought I would ask just in case [:)]
  • Hi,
    as far as I can remember it always has started at the top and worked the allocations down.

    Ian M
  • It seems that my dhcp makes a requests every minute. Is that something you guys have noticed before?

    2009:03:22-00:02:24 Astaro dhcpcd[3536]: sending DHCP_REQUEST for x.x.x.x to 192.168.0.10
    
    2009:03:22-00:02:24 Astaro dhcpcd[3536]: dhcpIPaddrLeaseTime=300 in DHCP server response.
    2009:03:22-00:02:24 Astaro dhcpcd[3536]: dhcpT1value is missing in DHCP server response. Assuming 150 sec
    2009:03:22-00:02:24 Astaro dhcpcd[3536]: dhcpT2value is missing in DHCP server response. Assuming 262 sec
    2009:03:22-00:02:24 Astaro dhcpcd[3536]: DHCP_ACK received from  (192.168.0.10)
    2009:03:22-00:02:30 Astaro dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
    2009:03:22-00:03:30 Astaro dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
    2009:03:22-00:04:30 Astaro dhcpc-sh: DHCP connection fine. Checking again in 60 seconds

    2009:03:22-00:04:54 Astaro dhcpcd[3536]: sending DHCP_REQUEST for x.x.x.x to 192.168.0.10
    2009:03:22-00:04:54 Astaro dhcpcd[3536]: dhcpIPaddrLeaseTime=300 in DHCP server response.
    2009:03:22-00:04:54 Astaro dhcpcd[3536]: dhcpT1value is missing in DHCP server response. Assuming 150 sec
    2009:03:22-00:04:54 Astaro dhcpcd[3536]: dhcpT2value is missing in DHCP server response. Assuming 262 sec
    2009:03:22-00:04:54 Astaro dhcpcd[3536]: DHCP_ACK received from  (192.168.0.10)
    2009:03:22-00:05:01 Astaro /usr/sbin/cron[20998]: (root) CMD (   /usr/local/bin/reportcontrol.sh)
    2009:03:22-00:05:30 Astaro dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
    2009:03:22-00:06:30 Astaro dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
  • Hadn't noticed that, but I've noticed ARP requests repeat every minute, which is a little unusual.

    Barry
  • oh yes I've noticed that as well but though to ask about that first [:D]
  • Hi,
    with the dhcp request times, I had the same high request count when I was trying to implement vlans. Some of the network devices would get an IP address, but there would still be continuous dhcp requests from them. 
    I ended removing the vlan config for the moment, resetting the switch and ASG then the log settled down.

    So have a look at your network, you might have something simple like a faulty cable etc.

    Ian M
  • Hi,
    with the dhcp request times, I had the same high request count when I was trying to implement vlans. Some of the network devices would get an IP address, but there would still be continuous dhcp requests from them. 
    I ended removing the vlan config for the moment, resetting the switch and ASG then the log settled down.

    So have a look at your network, you might have something simple like a faulty cable etc.

    Ian M


    I think I know what the problem is. At the moment I using a netgear which I bridge to astaro. Netgear has PPPoA and ASG is connected using cable dhcp (as I am still trying to fix the PPPoA problem). The DHCP problem I am getting is because of that (the ip is the one that is assigned to netgear)
  • Hi,
    I am not sure why you have the ASG in DHCP mode for your external interface if you have the netgear modem in bridging mode. You either use PPPoE or PPPoA modes.
    I have a linksys AM300 in bridge mode with the ASG in PPPoE mode and it works well. The address on the ASG external interface is provided by the ISP.

    Ian M
Reply
  • Hi,
    I am not sure why you have the ASG in DHCP mode for your external interface if you have the netgear modem in bridging mode. You either use PPPoE or PPPoA modes.
    I have a linksys AM300 in bridge mode with the ASG in PPPoE mode and it works well. The address on the ASG external interface is provided by the ISP.

    Ian M
Children