Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2021 08:29:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255227] route(8) ignoring ifp parameter after upgrade from 12.2-RELEASE to 13.0-RELEASE
Message-ID:  <bug-255227-227-XajVDIz70Q@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255227-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255227-227@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=3D255227

Alexander V. Chernikov <melifaro@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |melifaro@FreeBSD.org

--- Comment #1 from Alexander V. Chernikov <melifaro@FreeBSD.org> ---
Hi!

Do I understand correctly that creating p2p gif0 interface & trying to use =
the
remote end as a gateway should trigger the problem?

I'm trying the following with 13-S (don't have 13-R handy, will test later
today):

8:25 [0] m@devel0 s ifconfig gif0
gif0: flags=3D8011<UP,POINTOPOINT,MULTICAST> metric 0 mtu 1280
        options=3D80000<LINKSTATE>
        inet 10.0.1.1 --> 10.0.1.2 netmask 0xffffffff
        groups: gif
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
8:25 [0] m@devel0 netstat -4rnW | grep 10.0.1
10.0.1.1           link#4             UHS       152  16384        lo0
10.0.1.2           link#4             UH        149   1280       gif0
8:25 [0] m@devel0 s route add -net 172.16.0.0/24 10.0.1.2
add net 172.16.0.0: gateway 10.0.1.2 fib 0
8:25 [0] m@devel0 netstat -4rnW | grep 172.16.0.0
172.16.0.0/24      10.0.1.2           UGS       153   1280       gif0
8:25 [0] m@devel0 s route delete 172.16.0.0/24
delete net 172.16.0.0 fib 0
8:25 [0] m@devel0 s route add -net 172.16.0.0/24 10.0.1.2 -ifp gif0
add net 172.16.0.0: gateway 10.0.1.2 fib 0
8:25 [0] m@devel0 netstat -4rnW | grep 172.16.0.0
172.16.0.0/24      10.0.1.2           UGS       153   1280       gif0


Meanwhile, could you consider sharing `netstat -4rnW` output (at least for =
10.0
routes) after gif0 creation?

Also: could you please clarify the reason of adding `-ifp gif0`?

--=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-255227-227-XajVDIz70Q>