That’s interesting, because I did not add anything manually.
Here’s what I did:
- I added a Private IP to my VM through the provider’s control panel
- I configured it as LAN (DHCP) in the Cockpit interface
- I tried to change it to Static through the Cockpit interface
- I got the error message shown above (even when there was only 1 WAN and 1 LAN
- I used the Legacy interface to change the LAN to Static
- All my network interfaces went down (ip a showed DOWN status)
- I restarted the machine
- It came back online with the LAN connection showing a static IP
- I created ANOTHER LAN in my admin console connection to try to reproduce this issue:
- I restarted NethServer again
- I went to the Cockpit Network page to try to change the network type and got the error above.
I do see that they are showing the same IP, but I’m not sure why because I never typed in any IPs manually, and you can see from the VM admin panel that they are on different subnets.
Taking a closer look at the results of
ip a we can see that for some reason eth1 has IPs on both 10.1.* and 10.0.*
I’m not sure what caused this. I will play around to see if I can get rid of the duplicate IP and get back to a single LAN DHCP connection that I’m trying to convert to static.
I got it back to 1 LAN using DHCP, trying to switch it to static shows the same error.
This is what
ip a shows. I’ve never typed in any of this so, I’m not sure where these defaults are coming from but they seem to be conflicting.