From owner-freebsd-questions@FreeBSD.ORG Sat Nov 17 01:08:20 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 C19AC16A418 for ; Sat, 17 Nov 2007 01:08:20 +0000 (UTC) (envelope-from bram@diomedia.be) Received: from dike.telenet-ops.be (dike.telenet-ops.be [195.130.132.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7958013C442 for ; Sat, 17 Nov 2007 01:08:20 +0000 (UTC) (envelope-from bram@diomedia.be) Received: from adicia.telenet-ops.be (adicia.telenet-ops.be [195.130.132.56]) by dike.telenet-ops.be (Postfix) with ESMTP id 2619E378174 for ; Fri, 16 Nov 2007 21:50:10 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by adicia.telenet-ops.be (Postfix) with SMTP id 342C4230099; Fri, 16 Nov 2007 21:50:08 +0100 (CET) Received: from [192.168.3.111] (d5152C2D6.access.telenet.be [81.82.194.214]) by adicia.telenet-ops.be (Postfix) with ESMTP id E14AD2300C0; Fri, 16 Nov 2007 21:50:07 +0100 (CET) Message-ID: <473E10CB.6030001@diomedia.be> Date: Fri, 16 Nov 2007 21:51:07 +0000 From: Bram Van Steenlandt User-Agent: Thunderbird 2.0.0.6 (X11/20071029) MIME-Version: 1.0 To: alexus , freebsd-questions@freebsd.org References: <6ae50c2d0711152118h2f2a9989q2b39eba077154041@mail.gmail.com> <20071116063832.GB4164@saraswathy.susmita.org> <473DA109.6020707@ibctech.ca> <6ae50c2d0711160850x14df83c8nf278d995936349a7@mail.gmail.com> <473DCE68.6010509@ibctech.ca> <6ae50c2d0711161223n4d219ce1l48636bbfe5d2f08c@mail.gmail.com> In-Reply-To: <6ae50c2d0711161223n4d219ce1l48636bbfe5d2f08c@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Sat, 17 Nov 2007 01:08:20 -0000 alexus wrote: > i dont see any difference as at the end i still get this > > 216.112.241.24/29 216.112.241.25 UGS 0 0 fxp1 > > in my netstat -rn, and no its still doesn't work... > > > > On Nov 16, 2007 12:07 PM, Steve Bertrand wrote: > >> 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 >> >> > > > > I'm kind of new to freebsd so forgive me if I'm wrong but I thought this was not possible with freebsd in a simple way. On linux you can create a default route for each interface thus packet get routed properly, on freebsd you can only have one default route (I think) so this is not really possible.