[Bug 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP)

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278394

--- Comment #19 from Zhenlei Huang <[email protected]> ---
@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 ended up
recursive encapsulation. Unfortunately vxlan(4) does not handle the recursive
correctly and thus results in kernel stack overflow.

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

Now happy starting bird2 :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.