From owner-freebsd-jail@FreeBSD.ORG  Tue Mar 22 13:24:40 2011
Return-Path: <owner-freebsd-jail@FreeBSD.ORG>
Delivered-To: freebsd-jail@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1C8811065670;
	Tue, 22 Mar 2011 13:24:40 +0000 (UTC)
	(envelope-from Albert.Shih@obspm.fr)
Received: from spock-ext.obspm.fr (spock-ext.obspm.fr [145.238.186.3])
	by mx1.freebsd.org (Postfix) with ESMTP id A77D68FC1C;
	Tue, 22 Mar 2011 13:24:39 +0000 (UTC)
Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233])
	by spock-ext.obspm.fr (8.14.3/8.14.3/DIO Observatoire de Paris -
	15/04/10) with ESMTP id p2MDEZdb001814
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 22 Mar 2011 14:14:37 +0100
Date: Tue, 22 Mar 2011 14:14:35 +0100
From: Albert Shih <Albert.Shih@obspm.fr>
To: freebsd-jail@freebsd.org
Message-ID: <20110322131435.GA5792@obspm.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4
	(spock-ext.obspm.fr [145.238.186.20]);
	Tue, 22 Mar 2011 14:14:37 +0100 (CET)
X-Virus-Scanned: clamav-milter 0.97 at spock-ext.obspm.fr
X-Virus-Status: Clean
Cc: freebsd-net@freebsd.org
Subject: setfib mount
X-BeenThere: freebsd-jail@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Discussion about FreeBSD jail\(8\)" <freebsd-jail.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-jail>,
	<mailto:freebsd-jail-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-jail>
List-Post: <mailto:freebsd-jail@freebsd.org>
List-Help: <mailto:freebsd-jail-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-jail>,
	<mailto:freebsd-jail-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Mar 2011 13:24:40 -0000

Hi all

Sorry for the cross-posting. I don't known which list is the best. 

I'm using freebsd-jail since 5.x and yesterday I upgrading (from 7.3 to
7.4).

I've see the setfib working now pretty well with the jail. So I using two
routing table. One for the host, one for the jails.

But I don't known why the NFS mount (on the host off course) didn't use the
0 routing table. So when I try to execute the mount the connection start
from the second interface. If I do

	setfib 0 mount

every thing work fine. 

I don't known if it's a bug. If it's strange(for me) feature how can I tell
/etc/fstab to do that ? 

Regards.
-- 
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
mar 22 mar 2011 14:09:24 CET