From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 15:45:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13D1716A41C for ; Tue, 12 Jul 2005 15:45:29 +0000 (GMT) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5ABD43D46 for ; Tue, 12 Jul 2005 15:45:26 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1DsMwl-00031S-9L; Tue, 12 Jul 2005 09:45:25 -0600 In-Reply-To: <42D38178.8740.3F340A6@localhost> References: <20050711232642.GK39292@obiwan.tataz.chchile.org> <42D38178.8740.3F340A6@localhost> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 12 Jul 2005 09:45:21 -0600 To: mario.lobo@ipad.com.br X-Mailer: Apple Mail (2.730) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on hobbiton.shire.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_50, GREYLIST_ISWHITE autolearn=disabled version=3.0.3 X-SA-Exim-Version: 4.2 (built Mon May 30 00:43:02 MDT 2005) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) Cc: freebsd-questions Question Subject: Re: Forcing a packet through an interface (OT?) 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: Tue, 12 Jul 2005 15:45:29 -0000 On Jul 12, 2005, at 5:38 AM, Mario Lobo wrote: > First, thanks to all for the suggestions. > > Now, using the same scenario, > > >>> 1) rl0 (real.ip.no.1) ---> ISP x >>> >>> 2) rl1 (real.ip.no.2) ---> ISP y >>> > > Suppose 1) is down and I=B4m using 2). If I "ping www.google.com", > it will go out through 2). What I really need to do is to issue > the same "ping www.google.com" but make go out through 1) !! Nom what you want to do is ping isp1.router.net Since #1 should still have its IP assigned, the system should route =20 traffic out #1 for targets that are in the same subnet as the IP =20 address for #1. Your assigned ISP #1 router/gateway address is =20 probably in the same subnet but at the ISP, so traffic to it will go =20 out #1 even with a default route of #2. This will tell you if the =20 link to the ISP is back up or not. Chad > > Of course I could switch the default route to 1), test, then switch =20= > it back to 2), > but I can=B4t do it this way because internet traffic should remain =20= > undisturbed. > > That is why the "Forcing a packet..." subject. > > thanks > -- > //| //|| > // | // || > -//--//---|| ARIO LOBO > // // || > --------------------------------- > mario.lobo@ipad.com.br > http://www.ipad.com.br > > --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net