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 Kernel
Packages, which is subscribed to linux in 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

Status in linux package in Ubuntu:
  New

Bug description:
  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.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to