From owner-freebsd-questions@FreeBSD.ORG Wed Jun 13 23:21:20 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56EE216A400 for ; Wed, 13 Jun 2007 23:21:20 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC5113C45D for ; Wed, 13 Jun 2007 23:21:20 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay5.apple.com (relay5.apple.com [17.128.113.35]) by mail-out3.apple.com (Postfix) with ESMTP id DC8368C5160; Wed, 13 Jun 2007 16:20:11 -0700 (PDT) Received: from relay5.apple.com (unknown [127.0.0.1]) by relay5.apple.com (Symantec Mail Security) with ESMTP id E2C4929C002; Wed, 13 Jun 2007 16:21:19 -0700 (PDT) X-AuditID: 11807123-9d81dbb000000a23-c3-46707bef956e Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay5.apple.com (Apple SCV relay) with ESMTP id CB7AE30400B; Wed, 13 Jun 2007 16:21:19 -0700 (PDT) In-Reply-To: <580199.92674.qm@web37009.mail.mud.yahoo.com> References: <580199.92674.qm@web37009.mail.mud.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <36AF432D-C0A8-4AB0-85C5-E1DC13CD7CF4@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 13 Jun 2007 16:21:19 -0700 To: ossama abdel-haleem X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@FreeBSD.org Subject: Re: Muti Gateways 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, 13 Jun 2007 23:21:20 -0000 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