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)