Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2021 12:41:52 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        mike tancsa <mike@sentex.net>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: routing changes from Sept 7th and possible ppp breakage (RELENG_13)
Message-ID:  <67010baa-ecb4-7b9b-a797-efb3e2940fbb@FreeBSD.org>
In-Reply-To: <c1cd5310-c241-6b7a-b81a-33e29648fa82@sentex.net>

index | next in thread | previous in thread | raw e-mail

On 10/09/2021 00:38, mike tancsa wrote:
> On our standard nanobsd router image we use, I noticed failover routing
> broke all of a sudden.  We are not using multiple FIBs, but somehow we
> now have two default routes I am guessing because of multipath.  (Note,
> we just started testing RELENG_13 so its possible I am making bad
> assumptions somewhere.)
> 
> default            10.255.255.1       UGS         6   1500       igb0
> default            10.1.0.1           UGS        17   1500      tun10
> 
> I am pretty sure from the code base from 3+ days ago, I would not see
> this condition.

I just want to add that I've been seeing the same behavior on CURRENT for a few 
months now.
I think that ppp probably needs some sort of an update to be aware of multipath.

BTW, net@ may be a good mailing list to discuss this as well.

> In the past, my nano image would get a default route via DHCP.  If that
> path was not functional or blocked, my monitoring software would detect
> the failure and fire up PPP which has
> 
>   add! default HISADDR
> 
> That now seems to add a second default route instead of getting rid of
> the old one.
> 
> if I add net.route.multipath=0
> 
> I get back the old behaviour
> 
> According to the ppp docs
> 
>           If the add! command is used (note the trailing "!"), then if the
>           route already exists, it will be updated as with the `route change'
>           command (see route(8) for further details).
> 
> Where as now, it doesnt seem to replace it, it seems to just add another
> default route.
> 
> For my purposes, setting net.route.multipath=0 seems to work just fine,
> but I wonder if this warrants a note in ppp's docs since it no longer
> seems to work that way in RELENG_13 ?


-- 
Andriy Gapon


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67010baa-ecb4-7b9b-a797-efb3e2940fbb>