From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 08:45:32 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 A536F1065701 for ; Wed, 22 Jun 2011 08:45:32 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 431B38FC15 for ; Wed, 22 Jun 2011 08:45:31 +0000 (UTC) Received: by wyb33 with SMTP id 33so576483wyb.13 for ; Wed, 22 Jun 2011 01:45:30 -0700 (PDT) Received: by 10.227.178.135 with SMTP id bm7mr432496wbb.52.1308732330731; Wed, 22 Jun 2011 01:45:30 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id gb6sm255466wbb.51.2011.06.22.01.45.29 (version=SSLv3 cipher=OTHER); Wed, 22 Jun 2011 01:45:29 -0700 (PDT) Message-ID: <4E01ABA7.9020808@my.gd> Date: Wed, 22 Jun 2011 10:45:27 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Bernt Hansson References: <201106211128.p5LBSvCe095130@x.it.okstate.edu> <4E0196E4.2060900@bah.homeip.net> <4E019DAD.2070608@my.gd> <4E01A478.3020101@bah.homeip.net> In-Reply-To: <4E01A478.3020101@bah.homeip.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Two Networks on one System 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, 22 Jun 2011 08:45:32 -0000 On 6/22/11 10:14 AM, Bernt Hansson wrote: > 2011-06-22 09:45, Damien Fleuriot skrev: >> On 6/22/11 9:16 AM, Bernt Hansson wrote: >>> >>> Have you tried route add netA netB or route add netB netA >>> >>> >> >> No offense but please do not give random, untested advice. > > No offense, but it is tested. > > route add 192.0.0.192 10.0.0.3 > Works like a charm. > Sure does, however this is not what the OP wants. >> What you just wrote reads as: >> - if you want to go to network A, do that through network B >> - if you want to go to network B, do that through network A > > And the OP whanted that. > No he wants 2 public IPs in 2 different subnets to be reachable and working for internet clients. You won't be able to do it with conventional means like "route add".