[Bug 236833] Radix_MPATH is kernel options error [ifa_maintain_loopback_route: switch failed for interface]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 29 17:42:32 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236833

--- Comment #4 from Grzes <grzesiek at bajtnetbusko.pl> ---
RADIX_MPATH I use to route to two default gateways to the edge router. I have
two links leased from different providers and balances outgoing and incoming
traffic, in case of problems with one whole traffic goes the other thanks to
ospfd with frr5.0 which supports multipath routing. I get on bandwidth and I
have a backup provider failure. Router is FreeBSD 11.2 with RADIX_MPATH, ospfd
with frr5. Each provider on a different network infrastructure.

ifconfig
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu
1492
        inet 192.168.249.1 --> 192.1.1.2 netmask 0xffffffff
        nd6 options=9<PERFORMNUD,IFDISABLED>
        groups: tun
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu
1480
        inet 192.168.249.1 --> 192.1.1.3 netmask 0xffffffff
        nd6 options=1<PERFORMNUD>
        groups: tun

netstat -rn
192.168.249.1      link#9             UHS         lo0
192.1.1.3          link#10            UH          ng1
x.x.x.x/28         link#5             U           em0
x.x.x.x            link#5             UHS         lo0
192.1.1.2          link#9             UH          ng0



After disconnecting all pppoe sessions and reconnecting with the error
"ifa_maintain_loopback_route: deletion failed for interface ng1: 3" the routing
table has a doubled entry

netstat -rn

192.168.249.1      link#9             UHS         lo0
192.168.249.1      link#9             UHS         lo0
192.1.1.3          link#10            UH          ng1
192.1.1.2          link#9             UH          ng0

ifconfig
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu
1492
        inet 192.168.249.1 --> 192.1.1.2 netmask 0xffffffff
        nd6 options=1<PERFORMNUD>
        groups: tun
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu
1492
        inet 192.168.249.1 --> 192.1.1.3 netmask 0xffffffff
        nd6 options=1<PERFORMNUD>
        groups: tun

Log from the production machine:
Mar 29 17:51:22 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng239: 3
Mar 29 17:58:55 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng270: 3
Mar 29 18:05:14 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng236: 3
Mar 29 18:06:45 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng236: 3
Mar 29 18:07:38 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng220: 3
Mar 29 18:07:51 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng5: 3
Mar 29 18:29:26 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng279: 3
Mar 29 18:32:25 xxxxx kernel: ifa_maintain_loopback_route: switch failed for
interface ng1: 3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list