Comment 5 for bug 1724895

Revision history for this message
Joe Gruher (joseph-r-gruher) wrote :

Apparently this was not fixed for Ubuntu 18.04 release?

rsa@tppjoe01:~$ cat /etc/os-release
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://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

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

rsa@tppjoe01:~$ sudo netplan generate

rsa@tppjoe01:~$ sudo netplan apply

rsa@tppjoe01:~$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 10.2.0.202 netmask 255.255.255.0 broadcast 10.2.0.255
        inet6 fe80::aa1e:84ff:fea2:9922 prefixlen 64 scopeid 0x20<link>
        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
        inet 10.5.0.12 netmask 255.255.255.0 broadcast 10.5.0.255
        inet6 fe80::ee0d:9aff:fe2e:13b0 prefixlen 64 scopeid 0x20<link>
        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
        inet 10.6.0.12 netmask 255.255.255.0 broadcast 10.6.0.255
        inet6 fe80::ee0d:9aff:fe2e:13b1 prefixlen 64 scopeid 0x20<link>
        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