Re: Strangeness with networking example...

From: John Lazzaro (lazzaro@cs.berkeley.edu)
Date: Sat Aug 11 2001 - 22:51:50 EDT


> ./sa
> Error: Machine IP number unknown..
> Errno Message: No such file or directory
>
> Runtime Error.
> Potential problem: network setup failure.
> Exiting Program.

Just so no one wastes time replying to the earlier message, we
found the problem & solution to this -- basically, Mike was
using DHCP, and the DHCP setup wasn't handling /etc/hosts
setup well. See:

http://www.geocrawler.com/archives/3/80/1998/5/50/530444/

for a well-written explanation of the problem. We hacked
around it by setting up a /etc/hosts entry temporarily ...
but in general, well-configured DHCP setups won't have
this problem.

I'll probably be adding a bit more paranoia to sfront to
handle this mis-configuration case -- there are techniques
for working around misconfiguration ...

                                                        --jl

P.S. Mike and I ended up playing a session for an hour
once we got the networking handled -- the 100ms latency
from Chicago to Berkeley made the choice of material
limited :-). But none the less things seemed to work.
Incidently, best-case latency Berkeley-Chicago via
Internet 2 is 50ms (measured from UCB to UC) -- the
other 50ms was split between the cable modem path
(10ms), inferior long-haul network to Internet 2
(20ms), and horrible handoff from that long-haul
network to Internet2 in SF (20ms).



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:43 EST