From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 00:05:19 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 C8A5516A41C for ; Tue, 12 Jul 2005 00:05:19 +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 7B4B943D4C for ; Tue, 12 Jul 2005 00:05:17 +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 1Ds8Gx-000OIe-0M; Mon, 11 Jul 2005 18:05:16 -0600 In-Reply-To: <20050711232642.GK39292@obiwan.tataz.chchile.org> References: <20050711232642.GK39292@obiwan.tataz.chchile.org> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 11 Jul 2005 18:05:14 -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 00:05:19 -0000 On Jul 11, 2005, at 5:26 PM, Mario Lobo wrote: > Forgive me if this is off-topic. > > How could I force a packet to go out through an interface, > despite the default route? > > Suppose I have two interfaces connected to the internet: > > 1) rl0 (real.ip.no.1) ---> ISP x > > 2) rl1 (real.ip.no.2) ---> ISP y > > ISP y is just a backup link. ISP x is the working link. > Don?t want to load-balance them. Use 2) ONLY if 1) is out. > > Suppose 1) is down. I switch to 2). But I have to keep testing 1) > to see when it comes back up. How could I force a packet (ping maybe?) > to www.whatever.com through 1), despite the default route being 2) ? > > I am aready binding the ping packet to the IP I want but that?s not > enough. If #1 still has an address associated with it, ping something in that same subnet -- like the ISPs router -- that should force the packet out #1 Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net