Date: Tue, 12 Jul 2005 09:45:21 -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: <B64DEEA9-D914-4FA2-822F-493FD21F9D95@shire.net> In-Reply-To: <42D38178.8740.3F340A6@localhost> References: <20050711232642.GK39292@obiwan.tataz.chchile.org> <42D38178.8740.3F340A6@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B64DEEA9-D914-4FA2-822F-493FD21F9D95>