Results 1 to 5 of 5

Thread: Need help configuring the network for my first colocated server.

  1. #1
    Join Date
    Apr 2010
    Location
    Chicago, IL
    Posts
    171

    Exclamation Need help configuring the network for my first colocated server.

    Basically what the title says. Last night I hooked up my server in a data center, but I couldn't get it to connect to the internet. I was given a network address, a usable IP, a netmask, and a gateway. I tried a number of different things with route and the various configs in /etc/sysconfig/network, but couldn't seem to get it working. Running a traceroute confirmed that it was a local problem and not part of the network, since no packets left the box.

    This is on a pretty stock text-only 12.3 install recently upgraded to 13.1; all of my testing until now has just been on my home LAN, which didn't need additional configuration. I found some information on Novell's site that detailed a sysconfig routes file, but it looks like that information might be dated.

    Any tips? I'll be heading back over there after work today to try and fix it up.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,711
    Blog Entries
    1

    Default Re: Need help configuring the network for my first colocated server.

    These will show any routes defined
    Code:
    ip route show
    Code:
    netstat -r
    I assume you have /etc/sysconfig/network/ifcg-<name of interface> configured. Have you created /etc/sysconfig/network/ifroute-<name of interface> as well?

    See if this helps:

    How to setup persistent Static Routes in openSUSE 11.0 | SUSE & openSUSE

  3. #3
    Join Date
    Apr 2010
    Location
    Chicago, IL
    Posts
    171

    Default Re: Need help configuring the network for my first colocated server.

    I believe I did configure /etc/sysconfig/network/ifcg-<name of interface>, but I don't know about /etc/sysconfig/network/ifroute-<name of interface>. I'll be sure to check that.

    As far as getting the changes to take effect, is "service network restart" enough to reload any changes to the network sysconfig files?

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,711
    Blog Entries
    1

    Default Re: Need help configuring the network for my first colocated server.

    As far as getting the changes to take effect, is "service network restart" enough to reload any changes to the network sysconfig files?
    I think so. I know you can test the persistent route(s) immediately using
    Code:
    /etc/sysconfig/network/scripts/ifup-route

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Need help configuring the network for my first colocated server.

    Even if you are running a "minimal server" configuration,
    You can still run yast (not yast2 which is the GUI)

    So,
    logon locally to your colo server,
    Then
    Code:
    yast
    You should see a "text" (ncurses) version of YAST2 which you might be familiar with if you've run openSUSE at home before.
    And, it works the same way, but of course without a mouse... You'd be using TAB and ALT-key commands plus arrow keys to navigate.

    Once YAST is running, like any other openSUSE, just navigate to "Network Devices" and configure accordingly.

    Except for some very unusual settings, you should not be messing around with /etc/sysconfig/network... It is more or less setup to interact with a lot of functionality which is supposed to setup automatically and with the wrong setting might be difficult to track down exactly where you went wrong. This file is only for <unusual> settings, not typical problems like simple network connectivity.

    TSU

Posting Permissions

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