From owner-freebsd-questions@FreeBSD.ORG Tue Feb 5 16:23:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 017DD16A420; Tue, 5 Feb 2008 16:23:33 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.186.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C22513C448; Tue, 5 Feb 2008 16:23:32 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.184.233]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id m15GNRjl015776; Tue, 5 Feb 2008 17:23:28 +0100 Date: Tue, 5 Feb 2008 17:23:27 +0100 From: Albert Shih To: freebsd-questions@freebsd.org, freebsd-jail@freebsd.org Message-ID: <20080205162327.GF94606@pcjas.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.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.186.2]); Tue, 05 Feb 2008 17:23:28 +0100 (CET) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on mesiob.obspm.fr X-Virus-Status: Clean Cc: Subject: How to use two interface with jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 16:23:33 -0000 Hi all I've a server to run FreeBSD 7.0 with jail. On the server the are two physical interfaces. This two interfaces are on two different ip subnet. All jail are on the second interface How can I make all traffic from the server/for the server pass through the first interface all traffic from the jail /for the jail pass through the second interface. In fact : How can make two «default router» on for the server, another for all jail. Regards NB: Sorry for cross posting. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Mar 5 fév 2008 17:18:35 CET