Why can't I ping outside the Linux box?
From: JSM (jsm_at_nospam.com.au)
Date: Sat, 26 Jun 2004 12:41:12 +1000
I've finally given up. I have just installed SuSe 9.0 server on a system
which dual boots with Windows XP Pro. I have second PC which runs only XP.
When I boot the dual boot system into Windows I can ping the other XP
machine without a problem however when I boot into Linux I can't ping
The IP address of the XP pc is 192.168.0.1 / 255.255.255.0.
I have configured the Linux pc using YaST. I have assigned an IP address of
192.168.0.2 / 255.255.255.0 to my ethernet card and left everything else as
default. When I try to ping 192.168.0.1 I get "Destination Host is
unreachable". I can see the Linux box attempting to ping on the switch so at
least I know it is looking.
Each PC can ping themselves but not each other so I know networking is up
and running. The results of running ifconfig and route are as follows.
eth0 Link encap:Ethernet HWaddr 00:80:C8:F7:36:BC
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::280:c8ff:fef7:36bc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:288 (288.0 b)
Interrupt:10 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:3260 (3.1 Kb) TX bytes:3260 (3.1 Kb)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
The frustrating thing about this is when I first set up the Linux box the
networking was running. I switched off the PC overnight then in the morning
it wasn't working. I have configured the firewall on the XP box to allow the
Linux box's IP - I have even turned the firewall off without success. What I
really want to do at the end of the day is share the internet connection on
the XP box - I could do this initially - but at the moment I just want to
get the two talking to each other, Can anyone help me with this? I thought
it would have been very simple to set this up but I was obviously wrong.