jail fib no longer works after net.add_addr_allfibs=0

Ernie Luzar luzar722 at gmail.com
Mon Jan 11 21:49:30 UTC 2021


I think you are all barking up the wrong tree

The default OS comes with only ONE fib.
You need to re-compile the kernel with "option ROUTETABLES=2"
or use the net.fibs=2 option in /boot/loader.config file.

0= default host routing table
1= first additional routing table
2= second additional routing table

Then issue host console commend;
setfib 1 route add default "that jails default route ip address"

Adding the above to /etc/rc.conf would make it happen on every boot of 
the host system.


More information about the freebsd-current mailing list