You have been subscribed to a public bug:

I did a clean install of Ubuntu 26.04 on two separate machines.
Using Settings->Network, I changed the wired IP to manual, putting in a static 
IP address.
After reboot, machine had 2 IPs: the static one, and a DHCP one.

Under the hood, after the change to manual IP:
/etc/netplan/00-installer-config.yaml (as installed by subiquity) remained 
unchanged with dhcp4: true.
A new /etc/netplan/90-NM-*.yaml static profile was created.
Netplan ended up with two definitions for the same interface.
netplan generate failed with conflicting default routes.
The interface acquired both the static address and a DHCP lease.
Deleting 00-installer-config.yaml fixed the problem on both machines.

A thread on https://answers.launchpad.net/ubuntu/+question/824604 seemed
to confirm this is a bug in Gemini/netplan.  The system should have
disabled the 00-installer yaml when 90-NM* was installed.

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

-- 
change ethernet to manual IP resulted in 2 IP addresses
https://bugs.launchpad.net/bugs/2160170
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to