[Bug 272809] gre interfaces, tunnelfib is ignored

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Aug 2023 03:16:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272809

--- Comment #4 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Dirk Meyer from comment #2)

The FIB looks good.

(In reply to Dirk Meyer from comment #3)

> When I force the interface gre0 into fib 3 as well,
> then the IPv6 packages from inside the tunnel show up in fib 3 again.


The `fib` of interface is for incoming packets. Every packet receiving on that
interface is tagged with that fib number.

The `tunnelfib` of tunnel interfaces is for outgoing encapsulated packets. When
those packets are leaving, a FIB with `tunnel fib number` is chose for routing.


>Is there a possible mixup ?

> A FIB fib_number is assigned to all packets to all packets encapsulated by tunnel interface
I think the statement is somewhat confusing, it is more implementation
specific, but not user friendly.

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