Peer Selection by hop

From: Andriy Kopystyansky <anri@dont-contact.us>
Date: 22 Oct 1999 19:17:34 +0300

Hi,
is it possible in some way to select peer Not by icmp-RTT(icmp-query on),
but by Hops: e.g: If(Hops > 5)return "UDP_MISS_NOFETCH ?

Here is some explanation of my problem:

I have machine with 2 network interfaces. The routing is different for
each interface. So, I have Squid-1 on 1 interface and use _Satellite_ link
with 256K, and Squid-2 (parent for Squid-1) on the 2 interface _Ground_
link with 64K. Whereas it is _ground_ link, RTT in most cases is faster,
then in _Satellite_ link. But using this _ground_ link is suitable ONLY in
cases when hops <= 5, otherwise _Satellite_ link is preferred without
paying attention to RTT.
Any ideas?

Anri Kopystyansky
Webmaster at PolyNet
Received on Fri Oct 22 1999 - 10:25:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:01 MST