Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2019 17:42:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 236833] Radix_MPATH is kernel options error [ifa_maintain_loopback_route: switch failed for interface]
Message-ID:  <bug-236833-7501-PCrW2bJEzl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236833-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236833-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236833

--- Comment #4 from Grzes <grzesiek@bajtnetbusko.pl> ---
RADIX_MPATH I use to route to two default gateways to the edge router. I ha=
ve
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, os=
pfd
with frr5. Each provider on a different network infrastructure.

ifconfig
ng0: flags=3D88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 =
mtu
1492
        inet 192.168.249.1 --> 192.1.1.2 netmask 0xffffffff
        nd6 options=3D9<PERFORMNUD,IFDISABLED>
        groups: tun
ng1: flags=3D88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 =
mtu
1480
        inet 192.168.249.1 --> 192.1.1.3 netmask 0xffffffff
        nd6 options=3D1<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 rou=
ting
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=3D88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 =
mtu
1492
        inet 192.168.249.1 --> 192.1.1.2 netmask 0xffffffff
        nd6 options=3D1<PERFORMNUD>
        groups: tun
ng1: flags=3D88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 =
mtu
1492
        inet 192.168.249.1 --> 192.1.1.3 netmask 0xffffffff
        nd6 options=3D1<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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236833-7501-PCrW2bJEzl>