How to get my other IP to work

Discussion in 'Bukkit Help' started by bartbergmans, May 22, 2012.

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

    bartbergmans

    I have a CentOS server with the main IP (eth0) 85.17.187.152 and a virtual interface (eth0:1) with the IP 85.17.187.136. As you can see they my virtual interface (eth0:1) redirects to my normal interface (eht0). But when I try to connect to the IP of my virtual interface (85.17.187.136) it doesn't let me connect to my minecraft server. How can I get this to work?
     
  2. Offline

    BobbyD441

    Sounds like a problem with the NAT (Network Address Translation) im no expert on that tho =/
     
  3. Offline

    Paswaru

    Just some ideas.

    You are trying to get the same CraftBukkit server to answer on both IPs? If so make sure server-ip= is blank in server.properties.

    Is there any kind of firewall external to your server that would require the port to be open for that IP?

    If my memory is correct, iptables just treats the virtual interface the same as the physical, but I could be wrong. Maybe worth looking into.

    Is SELinux set to enforcement mode?
     
  4. Offline

    bartbergmans

    I have set my server-ip= to 85.17.187.152. So if I make it blank it should work?
     
  5. Offline

    Paswaru

    Yes. What the server-ip= setting does is tell the CraftBukkit server which interface you want to bind too. By leaving it blank it will bind to all interfaces.
     
  6. Offline

    bartbergmans

    Thanks for the help! I changed my server-ip= to blank and it works now!
     
Thread Status:
Not open for further replies.

Share This Page