OPNsense Forum

English Forums => General Discussion => Topic started by: lb1981 on May 20, 2025, 11:29:55 PM

Title: DHCP does not deny clients on some subnets, does not get defined IP.
Post by: lb1981 on May 20, 2025, 11:29:55 PM
OPNSense 25.1.6_6
isc-dhcp44-server 4.4.3P1_2
-

My setup does not use VLANs.
I am simulating an enviroment with VM's, but will have actual computers and servers.

I have n subnets, each one with it's own IP pool.
All DHCP pools are configured to deny unknown clients.

If I create 2 or more reservations, on each subnet, it seems the server gets confused, and a machine with a reservation configured on subnet A, gets IP address from subnet B or C, both of the later are with "deny unknown clients" set.

If I renew (on the client machine) the IP, sometimes it goes to the right subnet. Used both Linux and Windows clients.

I thought it was the client OS fault, some sort of cache, but even with liveCD's or completely creating another VM with a different OS and NIC mac address results in the same problem.

The problem seems to be intermitent, at the beggining it actually gets the IP address on the correct subnet.

When I create reservations on more than 2 subnets (for distinct VM's) it seems to trigger it.

Is this a limitation and should I migrate do Kea?