You are not logged in.

#1 2016-03-16 18:23:30

romansaveljev
Member
Registered: 2015-10-06
Posts: 2

[SOLVED] Bad entries added to routing table

Hello,

I am experiencing strange behavior on Arch Linux, when various virtual network interfaces lead to undesired automatic updates to the routing table. For example, when I start KVM.

Before (network is OK):

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    600    0        0 wlp3s0
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     600    0        0 wlp3s0
$ ip route get 173.194.222.99
173.194.222.99 via 192.168.1.1 dev wlp3s0  src 192.168.1.89 

After (network is not OK):

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 vnet0
0.0.0.0         192.168.1.1     0.0.0.0         UG    600    0        0 wlp3s0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 vnet0
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     600    0        0 wlp3s0
$ ip route get 173.194.222.99
173.194.222.99 dev vnet0  src 169.254.195.255

The update happens with some delay. The vnet0 route is not inserted, when I have a wired connection (its metric is 0).

I think this is not from NetworkManager.. Where else should one look for pointers, when debugging such issues?

Thanks in advance!

Last edited by romansaveljev (2016-03-29 16:12:28)

Offline

#2 2016-03-27 12:02:08

romansaveljev
Member
Registered: 2015-10-06
Posts: 2

Re: [SOLVED] Bad entries added to routing table

I had conman running and it created bogus entries

Offline

#3 2016-03-27 12:46:45

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Bad entries added to routing table

Great that you managed to solve it. Please mark the thread as solved.

Offline

Board footer

Powered by FluxBB