Subject: Re: Cross-platform networking question
To: David A. Gatwood <marsmail@globegate.utm.edu>
From: Justin Vallon <vallon@mindspring.com>
List: port-mac68k
Date: 05/14/1997 00:58:25
At 3:26 PM -0400 1997/05/13, David A. Gatwood wrote:
>
>Linux Side:
>
>
>Destination   Gateway       Genmask           Flags  MSS      Window  Use
>Iface
>42.0.0.3      *             255.255.255.255   UH     1500     0       0   ppp0
>17.1.1.10     *             255.255.255.0     U      1500     0       0   eth0
>127.0.0.0     *             255.0.0.0         U      3584     0       0   lo0
>default       42.0.0.3      *                 UG     1500     0       0   ppp0
>
>Everything looks logical except the 42....
>
>
>BSD Side:
>
>Destination   Gateway            Flags     Refs     Use    Mtu   Interface
>default       10.0.0.2           UG          1        2     -    ppp0
>10.0.0.2      (173) beef dead be UH          1       10     -    ppp0
>localhost     localhost          UH          1       24     -    lo0
>
>My guess about the second line is that's because I had to kill the
>connection, and
>it was still trying to display the info (3 minutes in, I gave up...).
>Ping works,
>telnet doesn't, at least from the linux box to the NetBSD.  At one point,
>NetBSD's
>routed gave "lo0 has no address" and "ifinit: out of sync", but this only
>happened
>one time that I tried the connection (i.e. I haven't been able to
>duplicate it).
>
>
>I've compiled a linux server (Update 2...) with gateway support turned on,
>and I'm about to dl it to my 7100 and see if it works....  Wish me luck.
>What's odd is, ping works both ways, telnet doesn't work either way, and
>it takes the NetBSD box an incredible amount of time to find a route
>through that pppd link... the reverse isn't as bad, netstat -r takes
>forever on either platform.  ping on the linux box is almost instant.
>ping on the NetBSD box takes somewhere around a minute (haven't timed it)
>before it starts returning anything.  Weird.

netstat may be trying to use reverse DNS, which may be (mis)configured.
Try 'netstat -nr'.

ping might be trying the same thing.

What seems a little strange is that the two machines don't seem to agree on
the addresses at either end of the link.  Could you have something
misconfigured?  (duh)  I think you should be aiming for 10.0.0.2 and
10.0.0.3.  You might want to try hardcoding the "local IP address" in pppd.

>David


-Justin
vallon@mindspring.com