Unable to change interface from static to DHCP?

Started by slcoleman, November 25, 2023, 09:49:08 PM

Previous topic - Next topic
I have a Protectli 4 port device (OPNsense 23.7.8_1-amd64) which I have been having issues with setting up the third LAN interface. I am currently getting the error:

"The DHCP Server is active on this interface and it can be used only with a static IP configuration. Please disable the DHCP Server service on this interface first, then change the interface configuration.",

but its not clear to me what exactly it is telling me I need to do. I had already deleted and recreated the interface once but its just not intuitive to me why the third interface is such a problem.

Basically I wanted three LAN's with 192.168.X.1 where X is different for each interface. Lan's 1 & 2 are working fine, but my third "administrative lan" just isn't cooperating. What am I doing wrong?

Identifier    opt2
Device    igb3
Description LAN3
IPv4 Configuration Type: Static IPv4 --> DHCP
Alias IPv4 address: 192.168.30.1 24

You need to disable the DHCP server running on this interface. Services > DHCPv4.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Are you sure enabling the DHCPv4 client on a LAN interface is actually what you want?
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).