2 interface 1 dhcp

Started by article15, May 05, 2023, 09:23:15 PM

Previous topic - Next topic
hi all,

i am pretty new with opnsense, comin from pfsense. somethings quite diffrent.
have 2 questions if you may.
is it possible to assign 2 interfaces to 1 dhcp server?
and which option i should choose at hardware acceleration with Celeron N5105
thnx

What is the goal of having 1 DHCP instance on two interfaces? Do the two interfaces represent different segments of the same network? If so, you can create a bridge interface and assign DHCP to the bridge.

thnx for reply.
the thing is, my switch has 8 gigabit ports, but my main pc and storage has 2.5g
so if i can i would try to benefit 2.5g ports on the n5105 device.
ll try my chance with bridge
thnx

That sounds like a perfect scenario for a bridge. The bridge will not only share DHCP between the network segments, but fully join them so that traffic can pass from hosts on the gigabit switch to 2.5G hosts.

One thing to keep in mind is that a firewall does not make a great network bridge. If you have any meaningful amount of host-to-host traffic on your network, you may see increased CPU usage on your firewall.

Give it a try and see what happens. If you see high CPU usage in OPNsense or poor host-to-host performance, then you might want to consider adding a 2.5 (or faster) switch to your network so that the firewall does not need to act as a bridge.