From owner-freebsd-net@freebsd.org Fri Mar 29 17:42:32 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B4D71570425 for ; Fri, 29 Mar 2019 17:42:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E8A1970A0C for ; Fri, 29 Mar 2019 17:42:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A274E1570424; Fri, 29 Mar 2019 17:42:31 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DA0C1570423 for ; Fri, 29 Mar 2019 17:42:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F32C770A07 for ; Fri, 29 Mar 2019 17:42:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4CBAC11DBD for ; Fri, 29 Mar 2019 17:42:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2THgUCp017044 for ; Fri, 29 Mar 2019 17:42:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2THgUAR017043 for net@FreeBSD.org; Fri, 29 Mar 2019 17:42:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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] Date: Fri, 29 Mar 2019 17:42:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grzesiek@bajtnetbusko.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2019 17:42:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236833 --- Comment #4 from Grzes --- 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 metric 0 = mtu 1492 inet 192.168.249.1 --> 192.1.1.2 netmask 0xffffffff nd6 options=3D9 groups: tun ng1: flags=3D88d1 metric 0 = mtu 1480 inet 192.168.249.1 --> 192.1.1.3 netmask 0xffffffff nd6 options=3D1 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 metric 0 = mtu 1492 inet 192.168.249.1 --> 192.1.1.2 netmask 0xffffffff nd6 options=3D1 groups: tun ng1: flags=3D88d1 metric 0 = mtu 1492 inet 192.168.249.1 --> 192.1.1.3 netmask 0xffffffff nd6 options=3D1 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.=