From owner-freebsd-questions@FreeBSD.ORG Thu Jan 12 08:32:38 2012 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 B578D1065670 for ; Thu, 12 Jan 2012 08:32:38 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 95BBB8FC08 for ; Thu, 12 Jan 2012 08:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=v5HkT2Mx1hBuWTwmfcu5hDE4exWdYZA7A0Lbg2gWpQ0=; b=icN0WZrB0UjhyeXw7ilMPkChS24XMH16+bo98X0+edQeHqF3az3+OvN7bP5c1n0GDirR3qPWszwdN1+XPI2/537wKdK8ngS+G1fhsY1DAL+i31t+3P6WBBKgho1YnxCtUe/iE3ZA2X4WXvEtvKgFUfaI7Uvw5+TtJowpqgonoyY= Received: from [192.168.1.105] ([120.29.65.16]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 12 Jan 2012 00:32:38 -0800 Message-ID: <4F0E9AA8.3050303@a1poweruser.com> Date: Thu, 12 Jan 2012 16:32:40 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jack Raats References: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430> In-Reply-To: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Jan 2012 08:32:38.0880 (UTC) FILETIME=[BE3F5E00:01CCD104] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: freebsd-questions@freebsd.org 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: Thu, 12 Jan 2012 08:32:38 -0000 Jack Raats wrote: > I have a question. Perhaps someone can point me to a solution. > > I have a server running FreeBSD 7.4-STABLE with one network card running ezjail > My network has two gateways. > > 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 > > Is this possible? > How to do it?? > What kind of problems to expect? > > Thanks for your time > Jack Raats > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > No you can not use those ip address to connect directly to the public internet. Those IP address are reserved for private lan use only. You have to explain how you are connected to the public internet and a diagram of your network would go a long way to help us to understand your setup. Also qjail far exceeds the ability that ezjail gives you. Check out the qjail port.