[Bug 278220] gre: route add -iface invalid argument

2024-04-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278220

Mark Linimon  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|n...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 278220] gre: route add -iface invalid argument

2024-04-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278220

Marek Zarychta  changed:

   What|Removed |Added

 CC||zarych...@plan-b.pwste.edu.
   ||pl

--- Comment #2 from Marek Zarychta  ---
(In reply to Dirk Meyer from comment #1)
It has already been fixed in CURRENT[1], see also bug 275341. There was MFC to
stable/14 too[2], so 14.1-RELEASE should be fine.

1.
https://cgit.freebsd.org/src/commit/?id=f818559774cb0c1516364c4beca361480fd68b5b
2. https://lists.freebsd.org/archives/freebsd-net/2024-March/004714.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 278220] gre: route add -iface invalid argument

2024-04-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278220

Dirk Meyer  changed:

   What|Removed |Added

   Keywords||regression

--- Comment #1 from Dirk Meyer  ---

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

Possible Workaround:

After configuring an extra IPv4 address in the interface,
the route is accepted.

# ifconfig gre0 inet 10.10.30.1 10.10.30.12
# route add -4 10.10.10.10/24 -iface gre0 -fib 3

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 278220] gre: route add -iface invalid argument

2024-04-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278220

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: b...@freebsd.org
  Reporter: din...@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=1008051 metric 0 mtu
1476
description: f2
options=8
tunnel inet 192.168.XXX.15 --> 185.XXX.XXX.2
inet6 fe80:::::%gre0 prefixlen 64 scopeid 0x4
groups: gre
fib: 3
tunnelfib: 3
nd6 options=21

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

-- 
You are receiving this mail because:
You are the assignee for the bug.