Re: Forcing a packet through an interface (OT?)

2005-07-13 Thread John Oxley
On Tue, Jul 12, 2005 at 09:45:21AM -0600, Chad Leigh -- Shire.Net LLC wrote: 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

Re: Forcing a packet through an interface (OT?)

2005-07-12 Thread Mario Lobo
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´m 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

Re: Forcing a packet through an interface (OT?)

2005-07-12 Thread Mario Lobo
Yeah Stefan. They do take the default route. That is what I am already doing. I even wrote a little prog using a variation of ping to do just that. The problem lies with the fact that, there is a router between my rl0 and the internet. 1) rl0 --- router -- antenna -- ISPx

Re: Forcing a packet through an interface (OT?)

2005-07-12 Thread Alex Zbyslaw
Mario Lobo wrote: Yeah Stefan. They do take the default route. That is what I am already doing. I even wrote a little prog using a variation of ping to do just that. The problem lies with the fact that, there is a router between my rl0 and the internet. 1) rl0 --- router --

Re: Forcing a packet through an interface (OT?)

2005-07-12 Thread Nate Nielsen
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? What I do for testing is: 1. Assign additional local IP aliases. 2. Use IPFW or pf to forward packets that from those IPs through the different NICs.

Re: Forcing a packet through an interface (OT?)

2005-07-12 Thread Chad Leigh -- Shire.Net LLC
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´m using 2). If I ping www.google.com, it will go out through 2). What I really

Re: Forcing a packet through an interface (OT?)

2005-07-12 Thread John Von Essen
Yep, that'll do it. Just choose two time servers that you would never need to use in real life. From google, you should be able to find a list of nearby public time servers. -john On Tue, 12 Jul 2005, Mario Lobo wrote: That sounds close to what I need !! 1) rl0 --- router

Re: Forcing a packet through an interface (OT?)

2005-07-11 Thread Warner Losh
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

Re: Forcing a packet through an interface (OT?)

2005-07-11 Thread Avleen Vig
On Mon, Jul 11, 2005 at 04:53:25PM -0300, 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? You have a couple of options. Look at CARP in 5.4, that might do what you want best. man 4 carp Also google for:

Re: Forcing a packet through an interface (OT?)

2005-07-11 Thread Chad Leigh -- Shire.Net LLC
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