Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2007 16:21:19 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        ossama abdel-haleem <ossama2m@yahoo.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Muti Gateways
Message-ID:  <36AF432D-C0A8-4AB0-85C5-E1DC13CD7CF4@mac.com>
In-Reply-To: <580199.92674.qm@web37009.mail.mud.yahoo.com>
References:  <580199.92674.qm@web37009.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 13, 2007, at 3:08 PM, ossama abdel-haleem wrote:
> we going to design new concept in my company which built on the  
> redundant solutions for this we've two WAN connections from two  
> different providers so the question here is :
> How can I configure  My FreeBSD server to accept and play with two  
> different Routers (FreeBSD Server ->Router1 = 172.16.1.254  &  
> Router2 = 172.16.1.74 )

You need to provide more information about your networking, such as  
whether you have an ASN and a routable address block, or whether your  
IPs are being delegated to you from your ISP(s).  If so, then you  
ought to look into BGP/EGP.  Otherwise, you might find something like  
carp(4) useful.

However, FreeBSD does not support multiple default gateways-- the  
standard routing table is designed to give one and only one answer,  
based on the destination IP, for where packets should go.  If you  
need more complicated routing, you can use something like the  
openbgpd port, aka http://www.openbgp.org/....

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36AF432D-C0A8-4AB0-85C5-E1DC13CD7CF4>