OPNsense Forum

English Forums => General Discussion => Topic started by: slcoleman on November 25, 2023, 09:49:08 PM

Title: Unable to change interface from static to DHCP?
Post by: slcoleman on November 25, 2023, 09:49:08 PM
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
Title: Re: Unable to change interface from static to DHCP?
Post by: Patrick M. Hausen on November 25, 2023, 09:52:18 PM
You need to disable the DHCP server running on this interface. Services > DHCPv4.
Title: Re: Unable to change interface from static to DHCP?
Post by: Maurice on November 26, 2023, 12:12:10 AM
Are you sure enabling the DHCPv4 client on a LAN interface is actually what you want?