Private bug reported:

Description: Netplan static IP configs resetting to default, post reboot
in ubuntu 22.04.5

Version-Release
ubuntu 24.04.5

Error:
---------
Netplan static IP configs resetting to default, post reboot in ubuntu 22.04.5

Expected: Netplan static IP configs should retain across reboots in
ubuntu 22.04.5

Before reboot netplan configuration:
root@linux:~# cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
  version: 2
  ethernets:
    eno12399np0:
      dhcp4: no
      addresses: [192.168.1.100/24]
      routes:
        - to: 0.0.0.0/0
          via: 192.168.1.1
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]

    eno12409np1:
      dhcp4: no
      addresses: [192.168.1.101/24]
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]

    eno8303:
      dhcp4: true

    eno8403:
      dhcp4: true

    enp152s0f0np0:
      dhcp4: no
      addresses: [192.168.1.102/24]
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]

    enp152s0f1np1:
      dhcp4: no
      addresses: [192.168.1.103/24]
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]

Post reboot netplan configuration:

network:
  version: 2
  ethernets:
    eno12399np0:
      dhcp4: true

    eno12409np1:
      dhcp4: true

    eno8303:
      dhcp4: true

    eno8403:
      dhcp4: true

    enp152s0f0np0:
      dhcp4: true

    enp152s0f1np1:
      dhcp4: true


Note: Ubuntu 22.04.4 has been tested and functions as anticipated, with
the static IP configuration being preserved after reboots. Additionally,
the Ubuntu 24.04 GA build operates as expected.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Sosreport"
   
https://bugs.launchpad.net/bugs/2106475/+attachment/5870244/+files/sosreport-linux-netplan-22.04.5-2025-04-08-jjogehg.tar.xz

** Information type changed from Public to Private

** Description changed:

  Description: Netplan static IP configs resetting to default, post reboot
  in ubuntu 22.04.5
  
  Version-Release
  ubuntu 24.04.5
  
  Error:
  ---------
- Netplan static IP configs resetting to default, post reboot in ubuntu 22.04.5 
 
+ Netplan static IP configs resetting to default, post reboot in ubuntu 22.04.5
  
- 
- Expected: Netplan static IP configs should retain across reboots in ubuntu 
22.04.5  
- 
- 
+ Expected: Netplan static IP configs should retain across reboots in
+ ubuntu 22.04.5
  
  Before reboot netplan configuration:
  root@linux:~# cat /etc/netplan/00-installer-config.yaml
  # This is the network config written by 'subiquity'
  network:
-   version: 2
-   ethernets:
-     eno12399np0:
-       dhcp4: no
-       addresses: [192.168.1.100/24]
-       routes:
-         - to: 0.0.0.0/0
-           via: 192.168.1.1
-       nameservers:
-         addresses: [8.8.8.8, 8.8.4.4]
+   version: 2
+   ethernets:
+     eno12399np0:
+       dhcp4: no
+       addresses: [192.168.1.100/24]
+       routes:
+         - to: 0.0.0.0/0
+           via: 192.168.1.1
+       nameservers:
+         addresses: [8.8.8.8, 8.8.4.4]
  
-     eno12409np1:
-       dhcp4: no
-       addresses: [192.168.1.101/24]
-       nameservers:
-         addresses: [8.8.8.8, 8.8.4.4]
+     eno12409np1:
+       dhcp4: no
+       addresses: [192.168.1.101/24]
+       nameservers:
+         addresses: [8.8.8.8, 8.8.4.4]
  
-     eno8303:
-       dhcp4: true
+     eno8303:
+       dhcp4: true
  
-     eno8403:
-       dhcp4: true
+     eno8403:
+       dhcp4: true
  
-     enp152s0f0np0:
-       dhcp4: no
-       addresses: [192.168.1.102/24]
-       nameservers:
-         addresses: [8.8.8.8, 8.8.4.4]
+     enp152s0f0np0:
+       dhcp4: no
+       addresses: [192.168.1.102/24]
+       nameservers:
+         addresses: [8.8.8.8, 8.8.4.4]
  
-     enp152s0f1np1:
-       dhcp4: no
-       addresses: [192.168.1.103/24]
-       nameservers:
-         addresses: [8.8.8.8, 8.8.4.4]
- 
+     enp152s0f1np1:
+       dhcp4: no
+       addresses: [192.168.1.103/24]
+       nameservers:
+         addresses: [8.8.8.8, 8.8.4.4]
  
  Post reboot netplan configuration:
  
  network:
-   version: 2
-   ethernets:
-     eno12399np0:
-       dhcp4: true
+   version: 2
+   ethernets:
+     eno12399np0:
+       dhcp4: true
  
-     eno12409np1:
-       dhcp4: true
+     eno12409np1:
+       dhcp4: true
  
-     eno8303:
-       dhcp4: true
+     eno8303:
+       dhcp4: true
  
-     eno8403:
-       dhcp4: true
+     eno8403:
+       dhcp4: true
  
-     enp152s0f0np0:
-       dhcp4: true
+     enp152s0f0np0:
+       dhcp4: true
  
-     enp152s0f1np1:
-       dhcp4: true
+     enp152s0f1np1:
+       dhcp4: true
+ 
+ 
+ Note: Ubuntu 22.04.4 has been tested and functions as anticipated, with
+ the static IP configuration being preserved after reboots. Additionally,
+ the Ubuntu 24.04 GA build operates as expected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106475

Title:
  [DELL Ubuntu 22.04.5 LTS] Netplan static IP configs resetting to
  default, post reboot in ubuntu 22.04.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2106475/+subscriptions


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

Reply via email to