Hi, I have a Flint 2 that is assigning IP's to devices outside of the range its supposed to.
Basically, I have my subnet mask at 255.255.0.0 because I want to have specific devices on a subnet like 192.168.10.X via static ip, but I made it so that the routers DHCP should only give out IP's to devices from 192.168.1.10, up to 192.168.1.250, and that the only way that they should have an IP on any other subnet besides 192.168.1.X is if I manually set a static IP.
Despite this, I have some random devices like my google home and other devices that are on the 192.168.10.X and 192.168.0.X subnet that were supposedly given out by the routers DHCP server, even though its only supposed to give out ips on the 192.168.1.X subnet. I never configured these devices to have a static IP, so the routers DHCP server must have done this.
How do I fix this issue? I have tried resetting my router over and over with no success.
How are you verifying they were "supposedly" being assigned by the router's DHCP process?
On the router, look at the /tmp/dhcp.leases file and see if those IPs are in there. That should be a record of all DHCP addresses that were assigned by the router DHCP process(es).
This is what I see when I check that file
How I verified it was that at any point, I had never put any device on the .10 subnet manually, which is how any device should even end up on that subnet, by me manually adding it to it
I also traced down one of the devices, (192.168.10.22 in the client list) to be one of my smart light siwttches, which I don't even know how I would give a static IP, so I don't know any other way this device got an IP on the .10 subnet, and it didn't appear on the file, yet its still active under that subnet.
Hi, it seems to me that the configuration for the dhcp 'lan' is not correct, if you check the"
option start '266', as per documentation:
"Specifies the offset from the network address of the underlying interface to calculate the minimum address that may be leased to clients. It may be greater than 255 to span subnets."
Well thats what im confused about, but that's what GLinet is doing apparently when I set the subnet mask to 255.255.0.0 and the range from 10 to 255, if in luci I change it from the bugged out value to 10 to 255 for the DHCP server, the glinet configuration breaks