From owner-freebsd-jail@FreeBSD.ORG Fri Feb 5 15:39:21 2010 Return-Path: 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 83E4A1065672 for ; Fri, 5 Feb 2010 15:39:21 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 09AC98FC13 for ; Fri, 5 Feb 2010 15:39:20 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id o15FdIQi031319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 5 Feb 2010 16:39:19 +0100 Date: Fri, 5 Feb 2010 16:39:18 +0100 From: Albert Shih To: freebsd-jail@FreeBSD.org Message-ID: <20100205153918.GH31809@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.20 (2009-06-14) X-Miltered: at smtp-int-m.obspm.fr with ID 4B6C3BA6.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4B6C3BA6.000/145.238.184.233/pcjas.obspm.fr/obspm.fr/ X-j-chkmail-Score: MSGID : 4B6C3BA6.000 on smtp-int-m.obspm.fr : j-chkmail score : . : R=. U=. O=. B=0.018 -> S=0.018 X-j-chkmail-Status: Ham Cc: Subject: setfib with jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 15:39:21 -0000 Hi all. I'm trying to make setfib working with jail. I'm not sure to do correctly, but I'm sure it's not working. So this is what I do : - Rebuild kernel with option ROUTETABLES=4 - Re-install the kernel, reboot - Stop the jail - flush all route (not default) on 0 fib - create route in 1 fib setfib 1 route add default xxx.yyy.zzz.ttt - add jail_name_fib="1" in my rc.conf - start the jail with /etc/rc.d/jail start name ---> and it's not working because when I do jexec Jail_ID bash netstat -rn I see the 0 fib. What's wrong ? Thanks for your help Regards. JAS -- Albert SHIH SIO 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: Ven 5 fév 2010 16:34:51 CET