Forcing a packet through an interface (OT?)
John Von Essen
john at essenz.com
Tue Jul 12 14:46:27 GMT 2005
I think the only way to do what you want is to find two hosts on the
internet that don't conflict with what you do on a day to day basis. Then
add custom routes for those two specific hosts, and with those routes, you
force traffic through each NIC.
A perfect example of two public servers would be time or whois servers.
Just be nice and dont ping too much (i.e., only send two "small" pings
every 2 minutes or something).
On Tue, 12 Jul 2005, 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 ----------> antenna ------> ISPx ------> internet
> So the fact that i can ping the hop next to rl0 doesn´t mean the link is up :(.
> That is why I NEED to ping something on the internet.
> //| //||
> // | // ||
> -//--//---|| ARIO LOBO
> // // ||
> mario.lobo at ipad.com.br
> On 12 Jul 2005 at 15:48, stsp at stsp.in-berlin.de wrote:
> > In case you got a static IP on rl0 from ISP x (and rl0 is up),
> > ping -I <IP of rl0> www.google.com
> > might help.
> > Just a guess though. Packets might still take the default route, even with -I.
> > Good luck,
> > --
> > stefan
> > http://stsp.in-berlin.de PGP Key: 0xF59D25F0
> > _______________________________________________
> > freebsd-hackers at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> freebsd-hackers at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers