Results 1 to 8 of 8

Thread: Static IP Problem openSUSE 11

  1. #1
    mjmurf NNTP User

    Default Static IP Problem openSUSE 11

    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.

    - Murf

  2. #2
    Join Date
    Mar 2008
    Location
    Bochum, Germany
    Posts
    3,587

    Default Re: Static IP Problem openSUSE 11

    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

  3. #3
    mjmurf NNTP User

    Default Re: Static IP Problem openSUSE 11

    Good guess.... but wrong.

  4. #4
    ab@novell.com NNTP User

    Default Re: Static IP Problem openSUSE 11

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

  5. #5
    Join Date
    Jun 2008
    Location
    Sarasota
    Posts
    301

    Default Re: Static IP Problem openSUSE 11

    Quote Originally Posted by mjmurf View Post
    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

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

  6. #6
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Static IP Problem openSUSE 11

    Quote Originally Posted by mjmurf View Post
    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.

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

  7. #7
    mjmurf NNTP User

    Default Re: Static IP Problem openSUSE 11

    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!

  8. #8
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Static IP Problem openSUSE 11

    My guess is XP detected that the gateway was outside the subnet and added a host route, equivalent to doing:

    Code:
    route add -host 142.177.32.240 dev eth0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •