From owner-freebsd-questions Tue Jul 11 17:10:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sdca.home.com (ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.freebsd.org (Postfix) with ESMTP id 5DD4E37B97B for ; Tue, 11 Jul 2000 17:10:25 -0700 (PDT) (envelope-from RaymundoVega@home.com) Received: from home.com ([24.5.252.61]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20000712001024.GTHQ11127.mail.rdc1.sdca.home.com@home.com>; Tue, 11 Jul 2000 17:10:24 -0700 Message-ID: <396BB76F.1B161947@home.com> Date: Tue, 11 Jul 2000 17:10:23 -0700 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Cortese Cc: questions@FreeBSD.ORG Subject: Re: routing question References: <20000710170446.25398.qmail@web3605.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cortese wrote: > > Hi, > I would like to know how can I do to have a FreeBSD > 3.4 perform static routing rules like : > ip route 192.168.252.0 172.16.250.3 metric 1 > ip route 192.168.252.0 172.16.250.4 metric 5 > I want to have two different routes to the same > network, and if the first gateway is down (or better > if the link is down) I want my FreeBSD to route > packets via the second gateway. Is it possible without > using routing protocols ? > Thank's a lot !!!! > L.C. You may do it with static routes, but only if the FreeBSD box does have the two different links (routes) connected directly (i.e. two interfaces), if the two paths are (for instance) on the same local network, there is no way for the FreeBSD to know of the down links without hte help of a routing daemon. raymundo. > > > > __________________________________________________ > Do You Yahoo!? > Get Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message