Jacques Du Pasquier wrote:
> 
> Hello there,
> 
> I am trying to setup a 2 machines TCP/IP LAN. I have read carefully
> the NET-3 HOWTO and the Intranet HOWTO (among others), and I think I
> followed all indications. It doesn't work, I have no clue where to
> investigate further the problem, so let me say a bit more in case some
> good soul in here could suggest me something.
> 
> As you'll see below, it seems that about EVERYTHING works (including
> the hardware), except than I cannot even ping a machine from the other
> :-). If someone could suggest me further tests to help me identify the
> problem, I'd be grateful.
> 
> Set-up:
> 
> - one machine is named "phat" (IP 192.168.1.1), has RedHat 5.0
> - the other is named "admin" (IP 192.168.1.2), has Win95 with MS-TCP/IP
> - local domain name is corcise
> - netmask in both machines is 255.255.255.0
> 
> What doesn't work:
> 
> - I cannot successfully ping phat from admin or admin from phat (and
>   so no other networking works either).
> 
> What does work:
> 
> - DNS looks OK, on both machines the name addres is resolved into the
>   right IP address (phat=162.198.1.1, admin=162.198.1.2); I've set a
>   netmask of 255.255.255.0 on both machines.

Is this really DNS or do you have host files set up?

> 
> - the hardware looks OK, as the LAN does work if I boot phat in Win95
>   (NetBeui LAN);
> 
> - I can ping localhost fine on both machines
> 
> - when I ping phat on admin, ping fails (times out), but the phat LAN
>   adapter led blinks in rythm with the ping packets sent (also true in
>   the other way, ie when I ping admin from phat).
> 
> - on phat, some command (I've forgotten which one), that reports bytes
>   sent to and received from an interface, reports the bytes sent when
>   I ping admin from phat; and the bytes received when I ping phat from
>   admin
> 
> - also note that I did manage to make the link work some months ago
>   with the same hardware (some guru no more available made it work
>   using forgotten incantations).
> 
> - I connect to the INternet fine with both machines (each has its modem)
> 
> Some outputs on phat (the Linux box):
> 
> /home/jacques 1010 # ping admin
> PING admin.corcise (192.168.1.2): 56 data bytes
> [hangs; then when interrupted reports:]
> --- admin.corcise ping statistics ---
> 9 packets transmitted, 0 packets received, 100% packet loss

try to ping 192.168.1.2

> 
> /home/jacques 1012 # ifconfig
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>           UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
>           RX packets:389 errors:0 dropped:0 overruns:0
>           TX packets:389 errors:0 dropped:0 overruns:0
> 
> eth0      Link encap:Ethernet  HWaddr 00:00:E8:DE:CA:BB
>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:198 errors:0 dropped:0 overruns:0
>           TX packets:79 errors:0 dropped:0 overruns:0
>           Interrupt:11 Base address:0x6500

Interesting base address (mine's 0x300 I believe)

> 
> /home/jacques 1013 # route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.1.0     phat.corcise    255.255.255.0   UG    0      0        4 eth0
> 192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        7 lo
> 
> Don't hesitate to ask me for more information in case you think it
> could be useful.
> 
> Any help appreciated,
> 
> Jacques Du Pasquier

Take a look here, I have collected a bunch of Linux networking info and
links;
http://www.on-net.net/~jsprag/linuxnet.htm

Reply via email to