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
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) *** BROADCAST, MULTICAST> mtu 1500
# 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
*** (after "netplan apply") *** BROADCAST, MULTICAST> mtu 1500
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 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 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