From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 09:59:23 2011 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 39B741065675 for ; Wed, 21 Dec 2011 09:59:23 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 002948FC17 for ; Wed, 21 Dec 2011 09:59:22 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id C4D9611265E; Wed, 21 Dec 2011 10:59:21 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke X-Priority: 3 In-Reply-To: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430> Date: Wed, 21 Dec 2011 10:59:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <03F554F4-6A38-49AF-8F30-CC84021BC7EA@lassitu.de> References: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430> To: Jack Raats X-Mailer: Apple Mail (2.1251.1) Cc: "freebsd-questions@freebsd.org questions" Subject: Re: network with two gateways and one network card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 09:59:23 -0000 Please don't crosspost. Am 15.12.2011 um 19:43 schrieb Jack Raats: > I have a question. Perhaps soeone can point me to a solution. >=20 > I have a server running FreeBSD 7.4-STABLE with one network card = running ezjail > My network has two gateways. >=20 > The host is running as 10.10.10.10 netmask 255.255.255.0 with gateway = 10.10.10.1 > The jail must be running 192.168.178.10 netmask 255.255.255.0 with = gateway 192.168.178.1 >=20 > Is this possible? > How to do it?? > What kind of problems to expect? Look at kernel option ROUTETABLES and setfib(1). If you're adventurous, check out VIMAGE. Stefan --=20 Stefan Bethke Fon +49 151 14070811