From owner-freebsd-questions@FreeBSD.ORG Fri Nov 16 17:08:05 2007 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 3B0BD16A46C for ; Fri, 16 Nov 2007 17:08:05 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id B9E8D13C45A for ; Fri, 16 Nov 2007 17:08:04 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 90561 invoked by uid 1002); 16 Nov 2007 17:08:03 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.70.104.100):. Processed in 11.981083 secs); 16 Nov 2007 17:08:03 -0000 Received: from unknown (HELO ?192.168.30.110?) (steve@ibctech.ca@208.70.104.100) by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Nov 2007 17:07:50 -0000 Message-ID: <473DCE68.6010509@ibctech.ca> Date: Fri, 16 Nov 2007 12:07:52 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: alexus References: <6ae50c2d0711152118h2f2a9989q2b39eba077154041@mail.gmail.com> <20071116063832.GB4164@saraswathy.susmita.org> <473DA109.6020707@ibctech.ca> <6ae50c2d0711160850x14df83c8nf278d995936349a7@mail.gmail.com> In-Reply-To: <6ae50c2d0711160850x14df83c8nf278d995936349a7@mail.gmail.com> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: multihome network 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: Fri, 16 Nov 2007 17:08:05 -0000 alexus wrote: > my private IP that eventually resolves to public IP through PIX is > different then coming from my other public IP that assigned on my fxp1 > that comes from another ISP, the fxp1 IP already configured this way > so it pass everything to my box > > what i've tried is adding route on my box > > route add 216.112.241.24 216.112.241.25 255.255.255.248 Wait a minute...this doesn't look right... Try this: # route add $homeIP/$netmask $gateway Where: - if you have a static IP at 'home', $netmask should be /32, otherwise, you'll need to shorten the prefix (such like /24) This will depend on your 'home' Internet provider setup - $gateway is the next hop upstream on the interface that has 216.112.241.x address on it. Steve