From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 11 23:31:05 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E5716A41C for ; Mon, 11 Jul 2005 23:31:05 +0000 (GMT) (envelope-from sean.hafeez@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59BFF43D48 for ; Mon, 11 Jul 2005 23:31:05 +0000 (GMT) (envelope-from sean.hafeez@gmail.com) Received: by zproxy.gmail.com with SMTP id f1so444562nzc for ; Mon, 11 Jul 2005 16:31:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:subject:date:to:x-mailer:from; b=OWve+8bPBfsEeRUDNmMFwWL+XZI0qIXT47ZR8R0btNpaCANcw5bCw+7QZqTVhZ/3YrWe/C7392bX71PNEhZnhCbPQqxs+CC4T26itiO0AazHKkzRN/CZfd49vFLEJGhTZ3HKv5kKBrLM7kdBmU9LxJL/3XSSv2WSbsAjyVAf8Lw= Received: by 10.36.222.39 with SMTP id u39mr1334864nzg; Mon, 11 Jul 2005 16:31:04 -0700 (PDT) Received: from ?192.168.0.112? ([67.109.14.227]) by mx.gmail.com with ESMTP id 34sm2157155nza.2005.07.11.16.31.03; Mon, 11 Jul 2005 16:31:04 -0700 (PDT) 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 Date: Mon, 11 Jul 2005 16:30:51 -0700 To: mario.lobo@ipad.com.br X-Mailer: Apple Mail (2.730) From: Sean Hafeez X-Mailman-Approved-At: Tue, 12 Jul 2005 12:33:11 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 23:31:06 -0000 add a static route ping the other side of the directly connect interface ..etc.. fr On Jul 11, 2005, at 4: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. > > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" >