Ethernet question

James Howard jrh at mustang.dell.com
Mon Jul 16 06:05:09 AEST 1990


In article <7490 at uudell.dell.com>, stecz at hotwheel.dell.com (John
Steczkowski) writes:
 > In article <23877 at adm.BRL.MIL>, terry at cssun.tamu.edu (Terry
Escamilla) writes:
 > > 
 > > Someone please settle an argument we've been having at work.
 > > 
 > > Is it possible for a workstation on an Ethernet to dynamically
 > > determine the Internet (or even Ethernet) addresses of the
 > > hosts/workstations immediately to its left and right?  
 > > I guess this would be like an "intelligent" ping or ARP.
 > 
 > I believe you use /dev/right to find the ethernet id for the machine to
 > your right, but to get the ethernet id for the machine on the left, you
 > need the new GNU addon device driver /dev/ambidextrous.  Implementation of
 > these devices is hemisphere dependent, the default is for the northern
 > hemisphere (except of course for the UK, since there internet addresses are
 > backwards).

I thought there was a new 'proximity calculating protocol' (PCP) available
that will attempt to determine the nodes immediately adjacent to the local
machine.  First of all, you must be running with a nameserver, which is used
as a reference point.  You must know where the nameserver machine is located
relative to your own system.  Then, go edit the space.c file under
/etc/conf/pack.d/pcp and uncomment out one of the following lines as 
appropriate:

/* #define DIR_SERVER	LEFT	*/
/* #define DIR_SERVER	RIGHT   */

Then, rebuild a kernel.  At which point, the driver executes 'ping' on
each host
recognized by the nameserver and saves the average round-trip time in
ms.  Then,
the shortest two values are returned as the most nearly adjacent systems
available.
At this point, the definition of DIR_SERVER above becomes important. 
For example,
if DIR_SERVER = LEFT, then the lowest time is assumed to belong to the machine
closest to the nameserver, hence on the left.  In the alternate case, it
must be
on the right side.  Of course, this is difficult if the shortest times
are identical,
or if the load average on the machines are not all identical, of if ....


No one is really taking this seriously I hope...  ;-)


---------------------------------------------------------
James Howard
Dell Computer Corp.
jrh at mustang.dell.com 

The opinions expressed are my own, and not necessarily
those of my employer.  
---------------------------------------------------------



More information about the Comp.unix.questions mailing list