Wrong ip address displayed in webinterface

I am having a strange problem, a have a device listed with a static ip in my dhcp config:

config host
        option leasetime '30d'
        option dns '1'
        option ip '192.168.0.34'
        option name 'no2'
        option mac 'e8:db:84:d0:76:36

But in the webinterface it shows up with an ip address of 192.168.0.185 (and just now changed to 192.168.0.35)

The dhcp.leases file shows the correct address:
1634133118 e8:db:84:d0:76:36 192.168.0.34 no2 *

Of course, the box is reachable on the .34 address...
and the arp table also shows the .34 address...
The addresses displayed do not exist (so they are free addresses in my dhcp pool)

Logging doesnt show anything weird:

daemon.info dnsmasq-dhcp[13010]: DHCPDISCOVER(br-lan) e8:db:84:d0:76:36
daemon.info dnsmasq-dhcp[13010]: DHCPOFFER(br-lan) 192.168.0.34 e8:db:84:d0:76:36
daemon.info dnsmasq-dhcp[13010]: DHCPREQUEST(br-lan) 192.168.0.34 e8:db:84:d0:76:36
daemon.info dnsmasq-dhcp[13010]: DHCPACK(br-lan) 192.168.0.34 e8:db:84:d0:76:36 no2

Try using the default lease time and restarting both the router and the client.

1 Like

Already did that initially, same issue...

Sorry, tried that again, and now it seems to look OK...

Any ideas why this happens vgaetera?

ubus call system board
{
        "kernel": "4.14.221",
        "hostname": "r7800",
        "system": "ARMv7 Processor rev 0 (v7l)",
        "model": "Netgear Nighthawk X4S R7800",
        "board_name": "netgear,r7800",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.7",
                "revision": "r11306-c4a6851c72",
                "target": "ipq806x/generic",
                "description": "OpenWrt 19.07.7 r11306-c4a6851c72"
        }
}
1 Like
  • Search the router's ARP cache for the wrong IP entries.
  • Restart any intermediate commutators which may use stale ARP cache entries.
  • Try accessing the router in incognito mode and with HTTPS.
  • Check if both the status overview page and the static lease config page are affected.
2 Likes