Is firmware using DHCPRequest instead of PING by mistake?



  • I'm still wanting to know why the flic_hub makes DHCPREQUEST every 35-45 seconds?

    My only thought is when someone wrote the code for the HUB did they mistakenly use DHCPREQUEST instead of PING wanting to ascertain if the present connection is still active. I have seen countless devices and apps do this. This is not a unusual event or behavior; however, these devices and apps actually use PING instead.

    Now as I have been asked before back in December, "Have you tried a different router?" Yes, sixteen of them ranging from cheap off the shelf consumer routers, ISP supplied routers, to enterprise grade routers and switches (Cisco, Juniper, Ubiquiti, and HP). The HUB exhibits the same behavior on all of them. Even when DHCP is disabled after the HUB has acquired an IP address.

    Next issue. What type of connection? Wifi or Lan? I have used BOTH or all sixteen network setups. The behavior is the same.

    My next plan of attack is to create a script that floods the flic_hub with DHCPACK packets and watch to see if it still sends DHCPRequests. I'm willing to bet it does.

    In the Log below this router is assigning flic_hub a STATIC address with a DHCP lease of zero(0) which means the client should not make another request unless the connection is reset. I do not know of anything interrupting or resetting this connection every 35-45 seconds. I have also tried setting the DHCP lease length to 9999. This would mean there should be new requests or renewal requests from the client for approximately 4,990+ minutes, but I still get the same behavior.

    Apr 24 18:30:26 ###.###.###.### dnsmasq-dhcp DHCPOFFER(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:30:26 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:30:26 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:34:15 ###.###.###.### dnsmasq-dhcp DHCPOFFER(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:34:15 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:34:15 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:35:20 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:35:20 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:35:23 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:35:23 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:35:31 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:35:31 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:35:47 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:35:47 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:36:05 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:36:05 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:36:59 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:36:59 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:37:03 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:37:03 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:37:12 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:37:12 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:37:29 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:37:29 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:37:44 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:37:44 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:38:38 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:38:38 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:38:43 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:38:43 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:38:51 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:38:51 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:39:07 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:39:07 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:39:23 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:39:23 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:40:17 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:40:17 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:40:21 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:40:21 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:40:29 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:40:29 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:40:45 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:40:45 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:41:02 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:41:02 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:41:58 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:41:58 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:42:01 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:42:01 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:42:09 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:42:09 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:42:26 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:42:26 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:42:43 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:42:43 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:43:38 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:43:38 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:43:42 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:43:42 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:43:50 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:43:50 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:44:07 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:44:07 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:44:23 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:44:23 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:45:17 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:45:17 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:45:22 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:45:22 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:45:29 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:45:29 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:45:46 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:45:46 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub
    Apr 24 18:46:02 ###.###.###.### dnsmasq-dhcp DHCPREQUEST(br0) ###.###.#.29 9a:af:b1:1a:08:a7
    Apr 24 18:46:02 ###.###.###.### dnsmasq-dhcp DHCPACK(br0) ###.###.#.29 9a:af:b1:1a:08:a7 flic_hub


  • FlicTeam

    Hi. We use dhcpcd-8.1.9 (https://github.com/NetworkConfiguration/dhcpcd/tree/dhcpcd-8.1.9). You are free to investigate the code there to see if you can find any cause of this. Other than that, nothing on the Flic hub sends out dhcp requests.


Log in to reply