Suse 10.2, eth up but cannot connect outside (ping, browse)

Hi,
I have Suse 10.2 installed. Ifconfig shows lo and eth1 (Ethernet, an IP adress is present). I can ping both localhost and eth1, but cannot ping outside, ssh or browse. I tried disabling the firewall, but that didn’t help. Any help would be greatly appreciated.
Thanks,
Suzy

Sounds like you’re missing a gateway.

Check /sbin/route and see if you have anything under default:

For example it might look like this:


/sbin/route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.240 U     0      0        0 eth0
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

If not, go to YAST / Network / Network Card -> Edit Card (The LAN you use) -> Routing -> And type the default gateway there.

That won’t work in 10.2 IIRC

In 10.2, if you use the defaults, IIRC the gateway “slot” in the Yast GUI for “Network Devices” is grayed out and inaccessible via the button “Routing”.

To get around that you must goto Yast –> Network Services –> Routing –> Default gateway. Put the IP address of the router in the slot “Default Gateway”.

I tested it on a 10.2 box but I had a static IP set for it so I’m not sure if it’ll allow it with DHCP.

I’ve written back an old image –> it’s not grayed out for fixed IP but is grayed for DHCP IP.