Still not working on my side (plain vanilla Ubuntu Server 18.04, fully
updated, no cloud).

The renaming regression of 0.40.1~18.04.1 has been fixed, but it's still
not applying IP address just after boot.

A manual "netplan apply" correctly configures the network interface.

-----------------------------------------------------
root@test:~# dpkg -s netplan.io | grep Version
Version: 0.40.1~18.04.2
-----------------------------------------------------

=======================
=== Just after boot ===
=======================

root@test:~# ifconfig -a
eth_lan: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 08:00:27:6b:d8:91  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6  bytes 318 (318.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 318 (318.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

-----------------------------------------------------
root@test:~# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    id0:
      match:
        macaddress: 08:00:27:6b:d8:91
      set-name: eth_lan
      addresses: [ 192.168.1.10/24 ]
      gateway4: 192.168.1.1
      nameservers:
          addresses: [ 8.8.4.4 ]

-----------------------------------------------------
root@test:~# cat /run/systemd/network/10-netplan-id0.link
[Match]
MACAddress=08:00:27:6b:d8:91

[Link]
Name=eth_lan
WakeOnLan=off

-----------------------------------------------------
root@test:~# cat /run/systemd/network/10-netplan-id0.network
[Match]
MACAddress=08:00:27:6b:d8:91
Name=eth_lan

[Network]
LinkLocalAddressing=ipv6
Address=192.168.1.10/24
Gateway=192.168.1.1
DNS=8.8.4.4

-----------------------------------------------------

====================================
=== After manual "netplan apply" ===
====================================

root@test:~# ifconfig -a
eth_lan: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.10  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a00:27ff:fe6b:d891  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:6b:d8:91  txqueuelen 1000  (Ethernet)
        RX packets 277  bytes 51263 (51.2 KB)
        RX errors 0  dropped 128  overruns 0  frame 0
        TX packets 13  bytes 946 (946.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 20  bytes 1470 (1.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 20  bytes 1470 (1.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

-----------------------------------------------------
root@test:~# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    id0:
      match:
        macaddress: 08:00:27:6b:d8:91
      set-name: eth_lan
      addresses: [ 192.168.1.10/24 ]
      gateway4: 192.168.1.1
      nameservers:
          addresses: [ 8.8.4.4 ]

-----------------------------------------------------
root@test:~# cat /run/systemd/network/10-netplan-id0.link
[Match]
MACAddress=08:00:27:6b:d8:91

[Link]
Name=eth_lan
WakeOnLan=off

-----------------------------------------------------
root@test:~# cat /run/systemd/network/10-netplan-id0.network
[Match]
MACAddress=08:00:27:6b:d8:91
Name=eth_lan

[Network]
LinkLocalAddressing=ipv6
Address=192.168.1.10/24
Gateway=192.168.1.1
DNS=8.8.4.4

-----------------------------------------------------

Please let me know if you need further info...


** Tags removed: verification-needed-bionic
** Tags added: verification-failed-bionic

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

Title:
  systemd-networkd not renaming devices on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1770082/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to