Bind more ips with debian

Discussion in 'Bukkit Help' started by Arubian, Jan 30, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Arubian

    Hi

    My host gives me 6 ips for me to use but i need to bind them in the /etc/network/interfaces
    (eth0)
    For some reason when i restart the interface the dedi won't come back online.
    and i have to contact the support to bring it back up with a backup of the old interface :3
    Can any 1 help me with this?

    os: debian
    pm me
     
  2. Offline

    LaxWasHere

    Define "bind"? You mean allocate your additional ip's to be used?
     
  3. Offline

    Arubian

  4. Offline

    MYxNINJAxWEED

    I have a Dedicated server, Running CentOS, Follow the directions below!


    Code:
    Make sure your Ports are Forwarded, For this example, I will be using the port "25565"
    The default Minecraft Port.
     
     
     
    Make sure you know the dedicated server IP.
     
     
    where it says server-ip=.... Put your IP
     
    So if the dedicated IP was 11.111.111.111, It would look like
     
    server-ip=11.111.111.111
     
    Here is a copy of my CentOS server's server.properties.
     
     
    #Minecraft server properties
    #Wed Jan 30 19:48:47 CST 2013
    generator-settings=
    allow-nether=true
    level-name=world
    enable-query=false
    allow-flight=false
    server-port=25565
    level-type=DEFAULT
    enable-rcon=false
    level-seed=
    server-ip=108.***.***.192
    max-build-height=256
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    snooper-enabled=true
    hardcore=false
    texture-pack=
    online-mode=true
    pvp=true
    difficulty=1
    server-name=Unknown Server
    gamemode=0
    max-players=150
    spawn-monsters=true
    generate-structures=true
    view-distance=10
    spawn-protection=16
    motd=Mc-Ninja Prison Server\!
     
    I put *'s in the IP to censor it, Thanks!
     
    
    If you have any issues, Add me on skype at: Zaconis
     
  5. Offline

    AyshineMatt

    Simply just create more than one server on the dedi. But you have to make sure of one thing: the port within each of the server.properties MUST be different. If not, the server running on the same port as another server will appear with an error, something along these lines:

    "*** FAILED TO BIND TO PORT ***"
     
  6. Offline

    Arubian

    sorry i was tired and didn't want to put more information into the post

    its not that problem

    updated

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  7. Offline

    cnaude

    Have you tried the auto keyword?

    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
     
    # The loopback network interface
    auto lo
    iface lo inet loopback
     
    # The primary network interface
    allow-hotplug eth0
    auto eth0
    iface eth0 inet static
     
        address 192.151.147.202
        netmask 255.255.255.248
        gateway 192.151.147.201
        dns-nameservers 74.91.20.18 74.91.30.106
    auto eth0:1
    iface eth0:1 inet static
     
        address 192.151.147.203
        netmask 255.255.255.248
        gateway 192.151.147.201
        dns-nameservers 74.91.20.18 74.91.30.106
     
  8. Offline

    Arubian

    no,

    i'm new to this :(

    i asked my host and they send me this tutorial

    http://www.cyberciti.biz/faq/bind-alias-range-of-ip-address-in-linux/
     
  9. Offline

    cnaude

Thread Status:
Not open for further replies.

Share This Page