I am using Dell 5000 edge gateway and installing ubuntu-core on it.
I have seen that on the start up the output of ip addr
gives:
eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether f4:8e:38:d1:eb:7c brd ff:ff:ff:ff:ff:ff
inet 192.168.11.89/24 brd 192.168.11.255 scope global dynamic eth0
valid_lft 498360sec preferred_lft 498360sec
inet 192.168.11.91/24 brd 192.168.11.255 scope global secondary dynamic eth0
valid_lft 498550sec preferred_lft 498550sec
inet6 fe80::f68e:38ff:fed1:eb7c/64 scope link
valid_lft forever preferred_lft forever
Notice that there is global secondary dynamic eth0
is configured by default.
I tried getting configuration through console-conf
that too says eth0
is configured as DHCP with giving the above two ip addresses. But, after saving changes from console-conf
the secondary IP disappeared and after doing a reboot it re-appears.
/etc/netplan/00-snapd-config.yaml
contains:
# This is the network config written by 'console_conf'
network:
ethernets:
eth0:
addresses: []
dhcp4: true
nameservers: {}
version: 2
Is it any installed snap that is trying to assign multiple IP’s to eth0
? I have network-manager
and modem-manager
snaps installed.