rsa@tppjoe01:~$ uname -a
Linux tppjoe01 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
rsa@tppjoe01:~$ cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
eno1: addresses: []
dhcp4: true optional: true
enp94s0f0: addresses:
- 10.5.0.12/24
mtu: 9000
dhcp4: false optional: true
enp94s0f1: addresses:
- 10.6.0.12/24
mtu: 9000
dhcp4: false optional: true
version: 2
Apparently this was not fixed for Ubuntu 18.04 release?
rsa@tppjoe01:~$ cat /etc/os-release /www.ubuntu. com/" /help.ubuntu. com/" /bugs.launchpad .net/ubuntu/" POLICY_ URL="https:/ /www.ubuntu. com/legal/ terms-and- policies/ privacy- policy" CODENAME= bionic CODENAME= bionic
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
rsa@tppjoe01:~$ uname -a
Linux tppjoe01 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
rsa@tppjoe01:~$ cat /etc/netplan/ 50-cloud- init.yaml cloud.cfg. d/99-disable- network- config. cfg with the following:
addresses: []
optional: true
addresses:
optional: true
addresses:
optional: true
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/
# network: {config: disabled}
network:
ethernets:
eno1:
dhcp4: true
enp94s0f0:
- 10.5.0.12/24
mtu: 9000
dhcp4: false
enp94s0f1:
- 10.6.0.12/24
mtu: 9000
dhcp4: false
version: 2
rsa@tppjoe01:~$ sudo netplan generate
rsa@tppjoe01:~$ sudo netplan apply
rsa@tppjoe01:~$ ifconfig UP,BROADCAST, RUNNING, MULTICAST> mtu 1500 84ff:fea2: 9922 prefixlen 64 scopeid 0x20<link>
eno1: flags=4163<
inet 10.2.0.202 netmask 255.255.255.0 broadcast 10.2.0.255
inet6 fe80::aa1e:
ether a8:1e:84:a2:99:22 txqueuelen 1000 (Ethernet)
RX packets 477 bytes 51423 (51.4 KB)
RX errors 0 dropped 7 overruns 0 frame 0
TX packets 463 bytes 56944 (56.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x9d100000-9d17ffff
enp94s0f0: flags=4163< UP,BROADCAST, RUNNING, MULTICAST> mtu 1500 9aff:fe2e: 13b0 prefixlen 64 scopeid 0x20<link>
inet 10.5.0.12 netmask 255.255.255.0 broadcast 10.5.0.255
inet6 fe80::ee0d:
ether ec:0d:9a:2e:13:b0 txqueuelen 1000 (Ethernet)
RX packets 249 bytes 33951 (33.9 KB)
RX errors 0 dropped 219 overruns 0 frame 0
TX packets 19 bytes 1426 (1.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp94s0f1: flags=4163< UP,BROADCAST, RUNNING, MULTICAST> mtu 1500 9aff:fe2e: 13b1 prefixlen 64 scopeid 0x20<link>
inet 10.6.0.12 netmask 255.255.255.0 broadcast 10.6.0.255
inet6 fe80::ee0d:
ether ec:0d:9a:2e:13:b1 txqueuelen 1000 (Ethernet)
RX packets 249 bytes 34056 (34.0 KB)
RX errors 0 dropped 218 overruns 0 frame 0
TX packets 19 bytes 1426 (1.4 KB)
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 160 bytes 11012 (11.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 160 bytes 11012 (11.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0