Partially working here on fully updated Ubuntu 18.04 Server on
VirtualBox :(

I've enabled -proposed repo and updated both nplan/bionic-proposed and
netplan.ion/bionic-proposed packages.

Now interfaces got renamed, but IPs are not assigned at boot (both DHCP and 
static ones).
Calling "netplan generate && netplan apply" after boot only sets the static IPs 
while DHCP still remains unset.


# dpkg -s netplan.io
Package: netplan.io
Status: install ok installed
Priority: important
Section: net
Architecture: amd64
Version: 0.36.3

# cat /etc/netplan/01-netcfg.yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    id0:
      match:
        macaddress: 08:00:27:6b:d8:91
      set-name: eth_static
      addresses: [ 1.2.3.4/16 ]
      gateway4: 5.6.7.8
    id1:
      match:
        macaddress: 08:00:27:23:68:f5
      set-name: eth_dhcp
      dhcp4: true

*** (just after boot) ***
# ifconfig -a
eth_dhcp: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 08:00:27:23:68:f5  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

eth_static: 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 2  bytes 78 (78.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 78 (78.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


*** (after "netplan apply") ***
eth_dhcp: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 08:00:27:23:68:f5  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

eth_static: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        inet 1.2.3.4  netmask 255.255.0.0  broadcast 1.2.255.255
        inet6 fe80::a00:27ff:fe6b:d891  prefixlen 64  scopeid 0x20<link>
        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 2  bytes 78 (78.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 78 (78.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


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

** Tags removed: verification-needed

-- 
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