From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 23:26:44 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 AC02F16A41C; Mon, 11 Jul 2005 23:26:44 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A50A43D49; Mon, 11 Jul 2005 23:26:43 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-2.free.fr (Postfix) with ESMTP id 12DCBC009; Tue, 12 Jul 2005 01:26:42 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id DDD5E405C; Tue, 12 Jul 2005 01:26:42 +0200 (CEST) Date: Tue, 12 Jul 2005 01:26:42 +0200 From: Mario Lobo To: freebsd-hackers@freebsd.org Message-ID: <20050711232642.GK39292@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-mailer: Pegasus Mail for Windows (4.21c) Organization: IPAD Priority: normal X-Antivirus: avast! (VPS 0528-1, 11/07/2005), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Errors-To: owner-freebsd-hackers@freebsd.org User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-questions@freebsd.org Reply-To: mario.lobo@ipad.com.br List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 23:26:44 -0000 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. any suggestions? thanks, -- //| //|| // | // || -//--//---|| ARIO LOBO // // || --------------------------------- mario.lobo@ipad.com.br http://www.ipad.com.br _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" ----- End forwarded message ----- -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >