Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 2024 09:02:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278220] gre: route add -iface invalid argument
Message-ID:  <bug-278220-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278220
           Summary: gre: route add -iface invalid argument
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dinoex@FreeBSD.org

Setup:
Using a GRE Tunnel to route an IPv4 and IPv6 network.
The endpoint is a small Cisco Router with "ip unnumbered"

After Updating from FreeBSD-13 to FreeBSD-14.
the gre tunnels stopped working for IPv4, IPv6 seems okay.
Kernel is GENERIC

On FreeBSD-14 any IPv4 route set is rejected with "Invalid argument"

Diagnostics:

# freebsd-version -kru
14.0-RELEASE-p6
14.0-RELEASE-p6
14.0-RELEASE-p6

# ifconfig gre0
gre0: flags=3D1008051<UP,POINTOPOINT,RUNNING,MULTICAST,LOWER_UP> metric 0 m=
tu
1476
        description: f2
        options=3D80000<LINKSTATE>
        tunnel inet 192.168.XXX.15 --> 185.XXX.XXX.2
        inet6 fe80::xxxx:xxxx:xxxx:xxxx%gre0 prefixlen 64 scopeid 0x4
        groups: gre
        fib: 3
        tunnelfib: 3
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>

# route add -4 10.10.10.10/24 -iface gre0
add net 10.10.10.10: gateway gre0 fib 0: Invalid argument

--=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-278220-227>