Version 0.36.3 fixed set-name bug but now IPs are not assigned anymore, both static and dynamic.
Running "netplan apply" just after boot fixes everything.
Steps to reproduce:
- trashed old VM and reinstalled a new Ubuntu Server 18.04 in VBox (no Guest Additions).
- apt update && apt-dist-upgrade
- enabled -proposed repo and updated both nplan/bionic-proposed and netplan.ion/bionic-proposed packages to 0.36.3
*************
Configuration
*************
# dpkg -s netplan.io
Package: netplan.io
Status: install ok installed
Priority: important
Section: net
Architecture: amd64
Version: 0.36.3
Version 0.36.3 fixed set-name bug but now IPs are not assigned anymore, both static and dynamic.
Running "netplan apply" just after boot fixes everything.
Steps to reproduce: proposed and netplan. ion/bionic- proposed packages to 0.36.3
- trashed old VM and reinstalled a new Ubuntu Server 18.04 in VBox (no Guest Additions).
- apt update && apt-dist-upgrade
- enabled -proposed repo and updated both nplan/bionic-
*************
Configuration
*************
# 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
******* ******* ******* **** ******* ******* **** BROADCAST, MULTICAST> mtu 1500
*** just after boot ***
*******
# ifconfig -a
eth_dhcp: flags=4098<
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
# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth_static ether off unmanaged
3 eth_dhcp ether off unmanaged
3 links listed.
******* ******* ******* ******* ******* **** ******* ******* ******* ******* **** UP,BROADCAST, RUNNING, MULTICAST> mtu 1500 27ff:fe23: 68f5 prefixlen 64 scopeid 0x20<link>
*** after running "netplan apply" ***
*******
# ifconfig -a
eth_dhcp: flags=4163<
inet 10.0.0.42 netmask 255.255.0.0 broadcast 10.0.255.255
inet6 fe80::a00:
ether 08:00:27:23:68:f5 txqueuelen 1000 (Ethernet)
RX packets 5709 bytes 688255 (688.2 KB)
RX errors 0 dropped 1065 overruns 0 frame 0
TX packets 112 bytes 16149 (16.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth_static: flags=4163< UP,BROADCAST, RUNNING, MULTICAST> mtu 1500 27ff:fe6b: d891 prefixlen 64 scopeid 0x20<link>
inet 1.2.3.4 netmask 255.255.0.0 broadcast 1.2.255.255
inet6 fe80::a00:
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 10 bytes 796 (796.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 90 bytes 5478 (5.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 90 bytes 5478 (5.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
4 eth_dhcp ether routable configured
5 eth_static ether routable configured
3 links listed.
Rebooted more than 5 times, same behavior.