Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2024 02:19:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP)
Message-ID:  <bug-278394-7501-21B7QmM0ra@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278394-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278394-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=3D278394

--- Comment #19 from Zhenlei Huang <zlei@FreeBSD.org> ---
@Gregory
bird2 learned more precise route for remote end of the vxlan tunnel from the
vxlan interface. When that route was installed into kernel FIB then it ende=
d up
recursive encapsulation. Unfortunately vxlan(4) does not handle the recursi=
ve
correctly and thus results in kernel stack overflow.

As a workaround, use a dedicated fib for vxlan tunnel. Assume x.x.x.x is yo=
ur
tunnel remote end, and y.y.y.y is original route for x.x.x.x .
```
# sysctl -n net.fibs=3D2
1 -> 2
# route add x.x.x.x y.y.y.y -fib 1
# ifconfig vxlan0 tunnelfib 1
```

Now happy starting bird2 :)

--=20
You are receiving this mail because:
You are the assignee for the bug.
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-278394-7501-21B7QmM0ra>