Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'm a complete noob with Linux and need some assistance. Please pretend you're talking to a baby because I honestly find it very difficult to navigate. Basically, I run ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    1

    Setting up many servers on one machine


    Hi, I'm a complete noob with Linux and need some assistance. Please pretend you're talking to a baby because I honestly find it very difficult to navigate.

    Basically, I run many game servers. What I need to do is setup about 10 different game servers on the same machine but they need different IP addresses.

    So, that's not too hard. I can just give each game server a different port right? That's one way of doing it, but I don't want to do it like that. tsg.net:1, tsg.net:2 etc etc.

    I'd like to set it up like this: a.tsg.net, b.tsg.net. So to do that I assume I have to give each server a seperate IP address for the domain to forward to. I can setup a zones with my host and forward them to each address. But my question is, how do I setup different areas on the same machine with different IP addressses? Is this possible or should I revert to using different ports?

    Thanks,
    Joel.

    Running: Centos5

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    917
    Hello,

    It's entirely possible to bind more than 1 ip to an interface in linux. Here's a brief article describing the process:
    HowTo Bind A Range Of IP’s in Debian / Ubuntu Linux

    As far as running your game servers, I won't be able to help you with that. If your game servers have the ability to listen on a specific IP, then you should be good to go.

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    I would setup VM's and go from there. Each VM gets its own IP an the host machine interface acts like a bridge.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open
    $spacer_close

Posting Permissions

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