Public bug reported: I have a server running Ubuntu 20.10 running VMware Workstation 16 which loses its default route. I keep setting it manually but every 30 minutes or so, it reverts to the incorrect route.
This server has 5 (4 used) GigE ports on different VLANs. Each of the 4 ports is connected to a Cisco switch which applies the proper tag for that VLAN so that traffic can be routed correctly. I have tried disabling netplan and setting up interfaces in /etc/network/interfaces with the proper default route. But vmnetbrdige resets them every 30 minutes or so, adding routes for each interface which results in the incorrect default route. I have read of similar problems in Ubuntu 16.04 and 20.04 with a fix which claims to have corrected related problems, but not my issue. I had this server on CentOS 6 before and everything was work as expected. Below are the details. Contents of /etc/network/interfaces: iface eth1 inet static address 10.0.1.6 netmask 255.255.255.0 gateway 10.0.1.1 dns-nameservers 8.8.8.8, 75.75.76.76 dns-search mydomain.local up route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.0.1.1 dev eth0 iface eth2 inet static address 10.0.20.60 netmask 255.255.255.0 gateway 10.0.20.1 iface eth3 inet static address 10.0.4.60 netmask 255.255.255.0 gateway 10.0.4.1 iface eth4 inet static address 192.168.3.60 netmask 255.255.255.0 gateway 192.168.3.1 Output of ifconfig -a: eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.1.60 netmask 255.255.255.0 broadcast 10.0.1.255 inet6 fe80::264b:feff:fe5a:3622 prefixlen 64 scopeid 0x20<link> ether 24:4b:fe:5a:36:22 txqueuelen 1000 (Ethernet) RX packets 17216 bytes 14604772 (14.6 MB) RX errors 0 dropped 1283 overruns 0 frame 0 TX packets 14670 bytes 1719546 (1.7 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device memory 0xfc600000-fc61ffff eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.20.60 netmask 255.255.255.0 broadcast 10.0.20.255 inet6 fe80::226:55ff:fed7:d054 prefixlen 64 scopeid 0x20<link> ether 00:26:55:d7:d0:54 txqueuelen 1000 (Ethernet) RX packets 3159 bytes 212180 (212.1 KB) RX errors 0 dropped 1426 overruns 0 frame 0 TX packets 1691 bytes 122628 (122.6 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 106 memory 0xfca00000-fca20000 eth3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.4.60 netmask 255.255.255.0 broadcast 10.0.4.255 inet6 fe80::226:55ff:fed7:d057 prefixlen 64 scopeid 0x20<link> ether 00:26:55:d7:d0:57 txqueuelen 1000 (Ethernet) RX packets 3835 bytes 249203 (249.2 KB) RX errors 0 dropped 1408 overruns 0 frame 0 TX packets 370 bytes 31235 (31.2 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 115 memory 0xfc820000-fc840000 eth4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.3.60 netmask 255.255.255.0 broadcast 192.168.3.255 inet6 fe80::226:55ff:fed7:d056 prefixlen 64 scopeid 0x20<link> ether 00:26:55:d7:d0:56 txqueuelen 1000 (Ethernet) RX packets 2973 bytes 211765 (211.7 KB) RX errors 0 dropped 1433 overruns 0 frame 0 TX packets 238 bytes 29345 (29.3 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 117 memory 0xfc800000-fc820000 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 119 bytes 17075 (17.0 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 119 bytes 17075 (17.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ** Affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1923686 Title: Ubuntu 20.10 Network Issue Status in systemd package in Ubuntu: New Bug description: I have a server running Ubuntu 20.10 running VMware Workstation 16 which loses its default route. I keep setting it manually but every 30 minutes or so, it reverts to the incorrect route. This server has 5 (4 used) GigE ports on different VLANs. Each of the 4 ports is connected to a Cisco switch which applies the proper tag for that VLAN so that traffic can be routed correctly. I have tried disabling netplan and setting up interfaces in /etc/network/interfaces with the proper default route. But vmnetbrdige resets them every 30 minutes or so, adding routes for each interface which results in the incorrect default route. I have read of similar problems in Ubuntu 16.04 and 20.04 with a fix which claims to have corrected related problems, but not my issue. I had this server on CentOS 6 before and everything was work as expected. Below are the details. Contents of /etc/network/interfaces: iface eth1 inet static address 10.0.1.6 netmask 255.255.255.0 gateway 10.0.1.1 dns-nameservers 8.8.8.8, 75.75.76.76 dns-search mydomain.local up route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.0.1.1 dev eth0 iface eth2 inet static address 10.0.20.60 netmask 255.255.255.0 gateway 10.0.20.1 iface eth3 inet static address 10.0.4.60 netmask 255.255.255.0 gateway 10.0.4.1 iface eth4 inet static address 192.168.3.60 netmask 255.255.255.0 gateway 192.168.3.1 Output of ifconfig -a: eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.1.60 netmask 255.255.255.0 broadcast 10.0.1.255 inet6 fe80::264b:feff:fe5a:3622 prefixlen 64 scopeid 0x20<link> ether 24:4b:fe:5a:36:22 txqueuelen 1000 (Ethernet) RX packets 17216 bytes 14604772 (14.6 MB) RX errors 0 dropped 1283 overruns 0 frame 0 TX packets 14670 bytes 1719546 (1.7 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device memory 0xfc600000-fc61ffff eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.20.60 netmask 255.255.255.0 broadcast 10.0.20.255 inet6 fe80::226:55ff:fed7:d054 prefixlen 64 scopeid 0x20<link> ether 00:26:55:d7:d0:54 txqueuelen 1000 (Ethernet) RX packets 3159 bytes 212180 (212.1 KB) RX errors 0 dropped 1426 overruns 0 frame 0 TX packets 1691 bytes 122628 (122.6 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 106 memory 0xfca00000-fca20000 eth3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.4.60 netmask 255.255.255.0 broadcast 10.0.4.255 inet6 fe80::226:55ff:fed7:d057 prefixlen 64 scopeid 0x20<link> ether 00:26:55:d7:d0:57 txqueuelen 1000 (Ethernet) RX packets 3835 bytes 249203 (249.2 KB) RX errors 0 dropped 1408 overruns 0 frame 0 TX packets 370 bytes 31235 (31.2 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 115 memory 0xfc820000-fc840000 eth4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.3.60 netmask 255.255.255.0 broadcast 192.168.3.255 inet6 fe80::226:55ff:fed7:d056 prefixlen 64 scopeid 0x20<link> ether 00:26:55:d7:d0:56 txqueuelen 1000 (Ethernet) RX packets 2973 bytes 211765 (211.7 KB) RX errors 0 dropped 1433 overruns 0 frame 0 TX packets 238 bytes 29345 (29.3 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 117 memory 0xfc800000-fc820000 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 119 bytes 17075 (17.0 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 119 bytes 17075 (17.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1923686/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp