From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 08:29:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EDFB5549 for ; Wed, 14 Aug 2013 08:29:49 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id B731626DC for ; Wed, 14 Aug 2013 08:29:49 +0000 (UTC) Received: from Mail-PC.tdx.co.uk (storm.tdx.co.uk [62.13.130.251]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id r7E8TeGe073038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Aug 2013 09:29:41 +0100 (BST) Date: Wed, 14 Aug 2013 09:29:39 +0100 From: Karl Pielorz To: freebsd-questions@freebsd.org Subject: jail.conf ignoring exec.fib? Message-ID: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 08:29:50 -0000 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