Click to See Complete Forum and Search --> : Problems Pinging


RedMark
01-07-2001, 10:56 PM
Hi PPL,

Any help VERY gratefully received!

I have a problem, I'm trying to get TCP/IP running on my system, I have a DLINK 530TX, Linux says it running ok, I'm currently running Corel 1.2 previously Mandrake 7.1 which had exactly the same result (thought I'd try another distrib).

The box can ping itself, but nothing else.

I have the Linux box set as follows:
Ip Addr 192.168.1.1
Netmask 255.255.255.0
Gateway 192.168.1.2

I have a win2k machine connected via a rossover cable that works fine (I can connect when I boot the Linux box into Windows).

The win2k has TCP/IP set as follows

Ip Addr 192.168.1.2
Netmask 255.255.255.0
NO gateway.

If I try and ping the linux box from Win2K I get Timeouts.

IF I try to ping the win2k machine from Linux I get no error messages just 100% packet loss.

ifconfig -a shows as follows:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0

eth0 Link encap:Ethernet HWaddr 00:50:BA:07:2F:34
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:201 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:9 Base address:0x6500

Any ideas?

Thanks in Advance

LordStanley
01-08-2001, 12:00 PM
Originally posted by RedMark:


The box can ping itself, but nothing else.

I have the Linux box set as follows:
Ip Addr 192.168.1.1
Netmask 255.255.255.0
Gateway 192.168.1.2

I have a win2k machine connected via a rossover cable that works fine (I can connect when I boot the Linux box into Windows).

The win2k has TCP/IP set as follows

Ip Addr 192.168.1.2
Netmask 255.255.255.0
NO gateway.

If I try and ping the linux box from Win2K I get Timeouts.

IF I try to ping the win2k machine from Linux I get no error messages just 100% packet loss.

ifconfig -a shows as follows:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0

eth0 Link encap:Ethernet HWaddr 00:50:BA:07:2F:34
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:201 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:9 Base address:0x6500

Any ideas?

Thanks in Advance

Ok try this. change the gatewat on the linux box to 192.168.1.1

on the win2k put a gateway of 192.168.1.1

make sure you can ping your card in each box ping 192.168.1.1 on the linux box and tha same for the win2k box( but with .2) if you cant ping the card they are not set up right.

also check yor /etc/hosts file. it should have 127.0.0.1 localhost.localdomain along with you windows box.

try that , that should get you going

njcajun
01-08-2001, 02:54 PM
you could also put the linux host in the 'lmhosts' file on your w2k box. http://www.linuxnewbie.org/ubb/smile.gif

RedMark
01-08-2001, 05:12 PM
Thanks for that, I tried everything suggested, unfortunately, it didn't help :-(

Each box can ping itself, but won't ping each other. The Linux machine is not even sending any packets on the cable. The Active lights on the card and the Win boxes Dongle (it's a laptop) aren't showing any activity.

Any other suggestions?

Thanks again