jail.conf ignoring exec.fib?

Karl Pielorz kpielorz_lst at tdx.co.uk
Wed Aug 14 08:29:50 UTC 2013


I'm running 9.2-RC2 amd64 on a system, with a number of jails. The jails 
are setup using '/etc/jail.conf' - but the exec.fib in jail.conf seems to 
be being ignored?

e.g. in /etc/jail.conf I have:

"
testjail {
        jid = 100;
        exec.fib = 1;   <---- Set FIB 1
        path = /usr2/jails/testjail;
        host.hostname = testjail.somedomain.com;
        ip4.addr = 192.168.0.40;
        mount.devfs;
}
"

But if I run up that jail and connect to it, 'netstat -r -n' shows it's 
still using fib 0 (i.e. the default gateway is set).

If before running the jail, I do 'setfib 1 route add default 192.186.0.90' 
- when the jail is run up, again - netstat within it still shows the 
systems default gateway, not the gateway from fib 1?

-Karl


More information about the freebsd-questions mailing list