Find the answer to your Linux question:
Results 1 to 5 of 5
Hello all, I come here to ask you guys for advice about how i can host multiple game servers on one physical server using multiple external ip adresses that all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    12

    Multiple ip adresses connect to servers one same machine. how to?


    Hello all,

    I come here to ask you guys for advice about how i can host multiple game servers on one physical server using multiple external ip adresses that all connect to one server. So i can use the same game ports for all servers and i can let players connect to the server using the ip adres without putting a port behind it. I know i can also achieve a lot of this using SRV Records with domain. But this is better when i can get it like this.

    The system i use:
    6.0 "Squeeze" 64bit
    kernel: 3.2.13-grs (ovh)
    with ISPConfig 3.

    I did some research on how i can achieve this and found out i need to use VMWare or something similair. Because i got no experience using these things i don't know if i can set this up. or also what i should use. and were i can find information about it. Can i also use a part of my machine for the virtualisation? so maybe i can get a part for the webservers, mailserver and one game server (on same ip) and then multiple other game servers on other ip? is this possible?

    Thank you for reading and hopefully someone can advice me on this. I truly need some help of smart people! Thank you for reading!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,574
    First, you need multiple NIC's (network cards), each with its own static IP address. Next, your game servers need to listen on different ports. Other than that, there isn't much you should need to do. Virtual machines should not be needed unless you only have one NIC.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Banned
    Join Date
    Dec 2013
    Posts
    10
    not probleme with me

  4. #4
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    You don't strictly need additional NIC's to add multiple IP addresses, just add them using the 'ip' command:

    ip addr add <address> dev <interface>

    for example:

    ip addr add 192.168.1.1 dev eth0
    ip addr add 192.168.1.2 dev eth0

    To make permanent you can add the config data to the /etc/networking/interfaces file

  5. #5
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    941
    With VirtualBox (a free virualazaion tool) you can configure each server to bridge off the host computers NIC so each virtual server will have its own IP address. Have done this to build lot of test systems and utility servers.

Posting Permissions

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