Jail FIB?

Boris Kochergin spawk at acm.poly.edu
Sun Nov 3 16:41:59 UTC 2013


I am running 9.2-RELEASE/amd64 and would like to have a jail use FIB 1.
The host portion of this seems to work fine:

# sysctl net.fibs net.fibs: 2

# setfib 0 route -n get default

# setfib 1 route -n get default

In my /etc/rc.conf, I have:


And, with rc_debug="YES", rc.d tells me that it picked that up:

/etc/rc.d/jail: DEBUG: wa_console fib: 1

But, inside the jail:

# sysctl net.my_fibnum
net.my_fibnum: 0

And, indeed, it takes the FIB 0 route out to the world. Why? How do I
make it use FIB 1?


More information about the freebsd-net mailing list