Date: Sun, 03 Nov 2013 16:53:48 -0800 From: Julian Elischer <julian@freebsd.org> To: Boris Kochergin <spawk@acm.poly.edu>, freebsd-net@freebsd.org Subject: Re: Jail FIB? Message-ID: <5276F01C.9010404@freebsd.org> In-Reply-To: <52767C6D.9010206@acm.poly.edu> References: <52767B9A.6090002@acm.poly.edu> <52767C6D.9010206@acm.poly.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/3/13, 8:40 AM, Boris Kochergin wrote: > Figured out my own question. I was jexec'ing into it, and jexec inherits > FIB 0 from the host. SSHing into the jail results in the desired behavior. > > Thanks. > > -Boris yeah, because the two things are actually orthogonal, and the jail-fib config capability hides this fact.. you would have to do setfib 1 jexec {cmd} to do what you want.. OR you could use a VIMAGE jail and give it its own stack (and routing table(s)) but then you;d have to put it on a bridge or give it its own interface..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5276F01C.9010404>