Networking-Forums.com

Professional Discussions => Routing and Switching => Topic started by: yhoofan on February 21, 2023, 10:26:15 AM

Title: How do I prevent pfsense dhcp to go upstream?
Post by: yhoofan on February 21, 2023, 10:26:15 AM
So at the moment. I have my virtual machines partitioned in a way that they can't interact with each other and grouped via a new network instead of a vlan. I do not want to vlan my network. I do not want to put pfsense in front of my network. and if anything opnsense is my vm right now.

Networking pfsense is weird. wan which is my physical lan is 10.0.0.0/24 which is opnsense wan 10.0.0.123, opnsense lan 192.168.1.0/24.

What works. Setting a static route in 10.0.0.0/24 router pointing to 192.168.0.0 255.255.255.0 192.168.1.1 , then adding a physical nic to opnsense lan switch so 10.0.0.0 can see 192.168.0.0 network.
Issues: WLAN devices answer faster to opnsense dhcp request  , making them on another network which can't see physical devices, this is an issue for IoT devices.

What doesn't work. Setting up firewall rules, 1:1 , no natting , block blogon and private network unchecked. nothing works unless i add a physical nic to the switch of pfsense lan

please. help :(

https://prnt.sc/CoiUvgxjsBNa
https://prnt.sc/pcVZWOyaUcdk
https://prnt.sc/jUhXb2y0hVRm
Title: Re: How do I prevent pfsense dhcp to go upstream?
Post by: deanwebb on February 22, 2023, 11:54:44 AM
If you don't want to break your network into VLANs, then the fastest DHCP server wins in terms of servicing DHCP requests. The solution would be to only have the one DHCP server (pfsense) and turn off the undesired one (opensense). If you want to have both act as DHCP servers, but for different groups of devices, then you will need VLANs for those device groups that only forward DHCP requests to one server or the other, depending on the device types being considered.