DHCP on interfaces other than LAN

Started by tdalej, January 15, 2024, 08:07:51 PM

Previous topic - Next topic
Quick search on here doesn't provide any obvious hits.

I want to set up a DHCP server for interfaces other than "LAN" -- I want a separate range for a wireless subnet (just an interface connected to an access point), a separate internal subnet for 10gb network, etc ...

I don't see a way to access DHCP setting for anything other than the first configure LAN interface .....

Is this possible with OPNsense?


Sure. Set a static IP address for that interface, then navigate to Services > DHCPv4 > <interface> ...
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I did that.
I'm trying to set this up in parallel and shift one subnet at a time, thus the effort to configure then enable.

DHCP server doesn't show up until the interface is enabled. doh!

Even after figuring that out, enabling the interface, rebooting, enabling the DHCP server for an OPTn interface, rebooting again, still no leases handed out though.

Two interfaces not in use by the other firewall still not functioning. :/

One interface is wired directly to a wireless access point and another is connected to an 8 port hub with one laptop connected.
Neither seem to be able to get an IP address.


Use tcpdump to trace DHCP requests and replies and find where the first or the second are lost.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)