Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 2021 20:33:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 256393] Issue with recreation of ppp/tun interfaces
Message-ID:  <bug-256393-7501-vRk4gnZJGj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256393-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256393-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=3D256393

--- Comment #18 from Alexander V. Chernikov <melifaro@FreeBSD.org> ---
(In reply to Nathan Whitehorn from comment #12)

Interesting.

Are you absolutely sure it's stock 13-S?
Any custom sysctl's / multiple fibs ?

The logs above show commit
https://cgit.freebsd.org/src/commit/sys/net/route/route_ifaddrs.c?h=3Dstabl=
e/13&id=3Dae23d302479
, but does not explicitly specify the hostname (in that line).

Currently loopback routes in 13-S are PINNED:
https://cgit.freebsd.org/src/tree/sys/net/route/route_ifaddrs.c?h=3Dstable/=
13&id=3Dae23d302479#n163
, so it shouldn't be possible for routed(8) to delete such routes.

PINNED logic also should take precedence over any other non-PINNED routes,
allowing to replace these on route addition during interface address
assignment.

Could you by any chance show the following:

1) netstat -4rnW, netstat -4onW
2) route -n monitor
3) if possible, run `dtrace -i 'fbt:kernel:*:return /arg1=3D=3D17/ {stack()=
}'`

4) Run commmand-to-fail: `ifconfig tun0 192.168.42.1 192.168.42.2`

5) netstat -4rnW, netstat -4onW

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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