user
July 2, 2008, 9:18pm
#1
I recently installed openSUSE 11 and everything seems to be working fine except for my internet access.
My ISP provided router provides me with a range of static IPs to use. In the case of my SUSE box I’m using the following settings.
IP 142.177.30.151
SUBNET 255.255.255.0
GATEWAY 142.177.32.240
DNS 142.177.1.2 and 142.177.129.11
I can ping other computers that have static IPs from this router but I cannot ping anything outside my network. I can’t even ping the router/gateway.
I’ve tried everything I can think of and I’m pretty sure I have everything setup ok with YAST Network Settings. My resolv.conf shows my DNS servers.
Can anyone offer some suggestions? Thanks.
On 07/02/2008 mjmurf wrote:
> I can ping other computers that have static IPs from this router but
> I cannot ping anything outside my network. I can’t even ping the
> router/gateway.
At a guess: The gateway IP address is wrong.
Uwe
user
July 3, 2008, 1:02am
#4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You cannot even ping your internal gateway? Post output from the
following, please:
ip addr sh
ip route sh
Good luck.
mjmurf wrote:
| Good guess… but wrong.
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIbAkO3s42bA80+9kRAjtwAJ0TvLZfCPY60iWGYIIs9i8k/p/4KACfQht5
YTpTi8GttmtNdZI4dcABSmA=
=HSMc
-----END PGP SIGNATURE-----
Assuming that your subnet is correct, then the first three octets of
your IP and your GATEWAY must match. But, they don’t.
i.e. either change your GATEWAY to 142.177.30.240 or change your
IP to 142.177.32.151
Or, maybe your subnet is supposed to be 255.255.0.0 ???
Otherwise, the ping of the gateway can’t work.
I recently installed openSUSE 11 and everything seems to be working fine except for my internet access.
My ISP provided router provides me with a range of static IPs to use. In the case of my SUSE box I’m using the following settings.
IP 142.177.30.151
SUBNET 255.255.255.0
GATEWAY 142.177.32.240
DNS 142.177.1.2 and 142.177.129.11
I can ping other computers that have static IPs from this router but I cannot ping anything outside my network. I can’t even ping the router/gateway.
I’ve tried everything I can think of and I’m pretty sure I have everything setup ok with YAST Network Settings. My resolv.conf shows my DNS servers.
Can anyone offer some suggestions? Thanks.
If your gateway is not within your subnet, the either the subnet mask is wrong, or you need another host route entry to get to the gateway.
user
July 3, 2008, 1:11pm
#7
The subnet mask was the problem. 255.255.0.0 fixed it. Funny thing is, the first posting was the settings provided by the ISP and they worked fine on this very computer when it was running WinXP. You would think that if the subnet mask was wrong it wouldn’t have worked on XP either. Weird…
Problem solved! Thanks to all who replied!
My guess is XP detected that the gateway was outside the subnet and added a host route, equivalent to doing:
route add -host 142.177.32.240 dev eth0