Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2013 09:29:39 +0100
From:      Karl Pielorz <kpielorz_lst@tdx.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   jail.conf ignoring exec.fib?
Message-ID:  <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98486B2D79D00F0898B7C9E6>