OPNsense Forum

English Forums => General Discussion => Topic started by: tavi on November 16, 2025, 03:27:12 PM

Title: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: tavi on November 16, 2025, 03:27:12 PM
Hi,

I have a very simple setup. On LAN, DHCP service giving IPs within 192.168.100.101 - 192.168.100.254 range.

Outside, I have static assigned IPs for a lot of MACs. The range for these static IPs is between 192.168.0.1 to 192.168.11.254.

LAN0 IP 192.168.0.1

I cannot from DHCP pool to outside and vice versa.

Is there a solution to this problem, other than extending the pool?
Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: Patrick M. Hausen on November 16, 2025, 03:41:21 PM
What is the netmask set of this LAN IP of 192.168.0.1?
Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: tavi on November 16, 2025, 04:02:21 PM
Hi,

192.168.0.1/16

Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: tavi on November 16, 2025, 04:18:51 PM
(https://i.imgur.com/eTMnZRX.png)
(https://i.imgur.com/a3jDTHy.png)
(https://i.imgur.com/Ob4X5VT.png)
Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: meyergru on November 16, 2025, 04:50:23 PM
Is the netmask and gateway that the DHCP service hands out correct? Or is it /24?
Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: tavi on November 16, 2025, 05:08:33 PM
Inside the pool:

IPv4 Address. . . . . . . . . . . : 192.168.100.104(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1

(https://i.imgur.com/XdIR1jF.png)
(https://i.imgur.com/l0Rvo8H.png)
Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: pfry on November 16, 2025, 10:22:20 PM
How is that Killer wireless connected? Guessing an AP, which I'd expect to be a bridge; does it have any firewall rules?

Also, specifics of connectivity: on the same subnet, you should see ARP for everything. "arp -a" on Windows and FreeBSD shell; "Interfaces: Diagnostics: ARP Table" in OPNsense GUI.
Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: tavi on November 17, 2025, 07:33:55 AM
Thanks for the tips. Once I get back to the PCs I will try your suggestions.

But, I did some tests. So, if I switch, ETH mac in the pool, and Wi-Fi static assigned, like 192.168.0.20 then things get switched.

No access to anything outside the pool for the ETH interface.
Title: Re: How to make DHCP pool IPs access static assigned IPs outside the pool?
Post by: tavi on November 17, 2025, 02:37:51 PM
Well, this little bugger was checked:

(https://i.imgur.com/sNk1A6q.png)

Unchecked and all seems normal so far.

But I swear I'm not sure how this got activated. I'm not really tinkering too much on the firewall.

First time I noticed there were issues, was when I was plying around with netboot.xyz and some machines could not download the environment.