Comment 8 for bug 1786839

Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

Seeing this again with 5.0 build 291. Especially for multiple static routes under one inetrface in /etc/network/interfaces only the first route is being moved to the vhost0 inetrface.

root@5c3s1-node2:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
root@5c3s1-node2:~#

root@5c3s1-node2:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.87.74.190 0.0.0.0 UG 0 0 0 em1
10.87.74.128 0.0.0.0 255.255.255.192 U 0 0 0 em1
172.16.0.0 192.168.1.254 255.255.0.0 UG 0 0 0 bond0 <<<<< This is the second route in network interfaces.
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
192.168.2.0 192.168.1.254 255.255.255.0 UG 0 0 0 bond0
root@5c3s1-node2:~# docker start vrouter_vrouter-agent_1
vrouter_vrouter-agent_1
root@5c3s1-node2:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.87.74.190 0.0.0.0 UG 0 0 0 em1
10.87.74.128 0.0.0.0 255.255.255.192 U 0 0 0 em1
169.254.0.4 0.0.0.0 255.255.255.255 UH 0 0 0 vhost0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vhost0
192.168.2.0 192.168.1.254 255.255.255.0 UG 0 0 0 vhost0