Date: Fri, 16 Nov 2007 15:55:47 -0500 From: alexus <alexus@gmail.com> To: "Bram Van Steenlandt" <bram@diomedia.be> Cc: freebsd-questions@freebsd.org Subject: Re: multihome network Message-ID: <6ae50c2d0711161255t67ffa5a9y870ce91af572cf1d@mail.gmail.com> In-Reply-To: <473E10CB.6030001@diomedia.be> 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> <473E10CB.6030001@diomedia.be>
next in thread | previous in thread | raw e-mail | index | archive | help
i'm pretty sure you can do it on freebsd, especially if its possible on Linux, routing works same way as on Linux On Nov 16, 2007 4:51 PM, Bram Van Steenlandt <bram@diomedia.be> wrote: > > 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 <iaccounts@ibctech.ca> 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. > > > -- http://alexus.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ae50c2d0711161255t67ffa5a9y870ce91af572cf1d>