Date: Mon, 11 Jul 2005 18:05:14 -0600 From: "Chad Leigh -- Shire.Net LLC" <chad@shire.net> To: mario.lobo@ipad.com.br Cc: freebsd-questions Question <freebsd-questions@freebsd.org> Subject: Re: Forcing a packet through an interface (OT?) Message-ID: <A15F4EEF-C11F-41DA-8D29-6F360243CB50@shire.net> In-Reply-To: <20050711232642.GK39292@obiwan.tataz.chchile.org> References: <20050711232642.GK39292@obiwan.tataz.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A15F4EEF-C11F-41DA-8D29-6F360243CB50>