Client does not get address in specified range
-
Hi,
The LAN interface is on 192.168.0.0/24, and I specified the DHCP range as 192.168.0.175-192.168.0.199, but almost all clients have static mappings outside this range. When I now start a new VM (without a static mapping), it gets 192.168.0.12 - why is that? Shouldn't it get an address from the range I specified? Is there something I misunderstand here?
-
If you disable the DHCP service on the firewall does your client still receive an address? If so, you probably have another DHCP server operating on your network.
-
Yeah if your getting ips outside the range that would point to different dhcp server to be honest.. Was the range modified and there might of been an old lease hanging around? If not then yeah look for another dhcp server..
-
No, sorry, I should have provided a lot more information. There is no other DHCP server on the network, I moved all the gateway functionality off an OpenWRT router to a PC with pfSense, but I've shut down the DHCP server on the OpenWRT box and confirmed that it's not running. Furthermore, when I reboot the VM I get this in the DHCP log on the pfSense gateway:
dhcpd: DHCPACK on 192.168.0.12 to 52:54:00:xx:xx:xx (vivid-vm) via re0
This is a fresh install, I just adjusted the DHCP range, added the static leases, restarted the service and booted the VM.
Any clues on what I can examine, as I'm really lost here?
-
yeah if your saying you adjusted the range, there is prob an OLD lease the client is asking for… You need to delete that lease off pfsense, since the client is prob asking for it.. You can sniff the dhcp packets and look for the discover..
Make sure you look in all the pfsense leases and delete the OLD one..