I have Ubuntu 24.04 and a local network. I try to configure in the Network settings a wired connection with manual IPv4 mode, static IP address, I apply it and it works, but after a while it is still trying to get an address through DHCP. I reopen the network dialog and it came back to Automatic (DHCP), though my static address still works. Restarting didn't change anything. It's like "Apply" is not saving my settings.
After many tries to reconnect through DHCP, it gives up and disables the connection, rendering the static IP unusable.
I tried also creating a configuration file in /etc/netplan/ or editing /etc/netplan/01-network-manager-all.yaml, but to no avail, same behavior.