Why is some DHCP Leases can be removed and some cannot?
-
Hi All
I am a new user for pfSense. I use the 2.2.6-RELEASE (amd64) version. One of the computer in my place managed to get pool ip from the DHCP which is 192.168.0.231 and I want to reserve an IP for it. So, I created the static ip reservation under DHCP server for 192.168.0.30 for that mac. I checked many times and it also showed in the DHCP Leases list that the mac is correct.
But for some reason, pfSense keeps giving out ip 231 instead of 30. And the weird thing is in the DHCP Leases list, it shows two same mac having two IPs, one is 192.168.0.231 and another is 192.168.0.30 and both are online status.
I tried to delete 231, but there is no delete button next to its entry. Also, I tried to delete the entries in the /var/dhcpd/var/db/dhcpd.leases and /var/dhcpd/var/db/dhcpd.leases~, but the 231 ip suddenly come up again.
Any idea how to delete this and why no delete button shows up for the 231 ip? I used to be able to kick people out from DHCP list so easily in m0n0wall. I thought pfSense would be the better version of it.
Please check my attachment picture
Please help
Thank you
-
It only allows deleting leases that are offline (don't exist in the ARP cache). That's probably not the best assumption in the world, but at the stage we're at with 2.3 release coming soon, not something I'll change at this instant. Take the host in question offline and you'll be able to delete. 'arp -da' at a command prompt followed by a refresh of the page may suffice if the host isn't talking out to the Internet frequently.