DHCP Server Issues
-
I have a pfsense running 1 lan with a DHCP server. My DHCP Subnet mask is 255.255.252.0, my lan range is 192.268.4.1-192.168.7.254. Until now I have only been running my DHCP Server from 192.168.7.1-197.168.7.254 and it has worked great. but now with all the addresses being used I changed my DHCP Server to 192.168.5.1-192.168.7.254. The problem is that it doesn't seem like I'm getting any addresses in the range other than 192.168.7.x , what could be wrong?
-
With all addresses/leases actively used in the initial pool 192.168.7.1-192.168.7.254, it shows in the DHCP server log that it refuses to hand over more leases, out of the 192.168.5.1-192.168.6.255 range ?
It says to the requesting device : sorry, no more leases available ? -
How do I fix the problem.....I've tried to clear DHCP Leases and it still doesn't work.
-
@KelvinW said in DHCP Server Issues:
The problem is that it doesn't seem like I'm getting any addresses in the range other than 192.168.7.x , what could be wrong?
Even on devices which didn't ever pull a lease from this server?
Normally devices get the former IPs again on new requests.
But you can try to clear existing leases in Status > DHCP Leases. -
@KelvinW said in DHCP Server Issues:
he problem is that it doesn't seem like I'm getting any addresses in the range other than 192.168.7.x , what could be wrong?
Can we see your dhcp server page.
dhcp can start from the end of the range or the beginning, not sure which way pfsense dhcp server likes to go. But also if a client already had an IP in the 192.168.7, he would normally request that IP again, and not get some IP from the beginning of the range.
-
@johnpoz
@johnpoz said in DHCP Server Issues:dhcp can start from the end of the range or the beginning, not sure which way pfsense dhcp server likes to go.
well, this is definitely not really evidence based...for what it might serve: the last 20 new clients here always got IPs from beginning of range via dhcp...
:) -
@the-other yeah they like to start at one end and move through, have seen both ways - just never really paid attention to which direction pfsense likes to go.
But if his clients had IPs in the 7.x and he deleted the leases, they would still like getting their old IPs back.. The way to check if new Ips are being handed out would be to change the range so 7 is no longer available and then delete the old leases.. Then client would have to get something in the range.