Why can't I ping outside the Linux box?

From: JSM (jsm_at_nospam.com.au)
Date: 06/26/04


Date: Sat, 26 Jun 2004 12:41:12 +1000

Hi,

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
anything.

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

          collisions:0 txqueuelen:100

          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

          collisions:0 txqueuelen:0

          RX bytes:3260 (3.1 Kb) TX bytes:3260 (3.1 Kb)

        Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use
Iface

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.

Cheers,

John



Relevant Pages

  • Re: Why cant I ping outside the Linux box?
    ... ]> which dual boots with Windows XP Pro. ... ]> When I boot the dual boot system into Windows I can ping the other XP ... ]> I have configured the Linux pc using YaST. ... ]> Each PC can ping themselves but not each other so I know networking is up ...
    (comp.os.linux.networking)
  • Re: Did SPICE development cease around the turn of the century?
    ... but prefer Linux for serious work. ... Any time I'm connecting to a Unix box from Windows, ... have to put up with dual boots, virtual pcs, etc. ... Or, install windows first. ...
    (sci.electronics.design)
  • RE: Network Problem
    ... What version of windows if XP is the firewall turned on? ... Linux from win but not the other way then I would guess your blocking ICMP ... Can you ping the gateway? ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • cannot connect from linux cipe server to windows cipe client
    ... I am trying to connect Redhat Linux 9 cipe server to Windows 2003( ... tried windows NT too) cipe client. ... But i cannot ping the Windows CIPE client from the Linux ...
    (comp.os.linux.networking)
  • cannot connect from linux cipe server to windows cipe client
    ... I am trying to connect Redhat Linux 9 cipe server to Windows 2003( ... tried windows NT too) cipe client. ... But i cannot ping the Windows CIPE client from the Linux ...
    (comp.os.linux.security)