Server IP addresses

Mr Hollywood

Reputable
Aug 17, 2014
195
0
4,760
I need to have multiple IP addresses assigned to one server is it possible? I know I can do it by assigning different ports but I would need a single server per IP is there a way of doing it by having multiple IP's connected to one whole server? To sum my question up and simplify it is there such thing as sub-ports or anything like it? 123.456.456.456:80:60

color key:
Green= Made up IP address (ISP porovided)
Red= Port (Port forward)
Blue=sub-port (what i'm asking)

*Hope this makes some sense. Thanks!*
 
Solution
All operating systems allow you to assign multiple IP addresses to a single NIC. You don't say which OS you are using, so it's difficult to be specific, but here's how to do it in Windows: http://www.howtogeek.com/51741/how-to-quickly-add-multiple-ip-addresses-to-windows-servers/

Mr Hollywood

Reputable
Aug 17, 2014
195
0
4,760


@Emerald I am using PF Sense on a Citrix Access Gateway and this is for Minecraft Server Hosting. I have multiple servers on my rack but I would like to host multiple Minecraft servers on each one which is possible if you can get IP's for each one. I already know you can use a basic port and do this but that only lets you have one MC server per one rack server.
 

Mr Hollywood

Reputable
Aug 17, 2014
195
0
4,760


I am not quit sure what you mean? But I think I know what you are going at. Do you mean like using a switch?
 
lets start over. My understanding is that you have the following:

1 Rack with lets say five servers in it.
Each server is assigned a Public IP via the pfSense box.
One instance of MC on each server.

Now you want to be able to run two or more instances of MC on one server?
 

Mr Hollywood

Reputable
Aug 17, 2014
195
0
4,760


correct!
 
Not knowing anything about the configuration options in MC Server, in theory two options come to mind:

1) Use multiple network cards in a server and configure each instance of MC to use a specific network card. It will also require an additional network switch if you don't have enough ports available.

2) Configure each instance of MC to use its own set of ports. Then you should be able to configure pfSence to forward traffic coming in on the external IPs to those ports using the current internal IP of the server.

 

Mr Hollywood

Reputable
Aug 17, 2014
195
0
4,760


This sounds like the most possible way but is there any other way becuase I dont have enough network card to do such but I do have a switch. Is there anyway to do it like using ports though?
 
All operating systems allow you to assign multiple IP addresses to a single NIC. You don't say which OS you are using, so it's difficult to be specific, but here's how to do it in Windows: http://www.howtogeek.com/51741/how-to-quickly-add-multiple-ip-addresses-to-windows-servers/
 
Solution

Mr Hollywood

Reputable
Aug 17, 2014
195
0
4,760


Thanks a lot this will help! It's exactly what I wanted I just did not know how to word it. I am using Windows Server but I may try Linux Ubuntu Server another time do you have a link to how to do it on that OS as well?
 

Mr Hollywood

Reputable
Aug 17, 2014
195
0
4,760


Thanks but is there a way I can view all the IP's I added in Windows Server? Will it all be in that section where you add them? And how can I assign them with each MC Server? Is there a way to assign roles for those specific IP's like through Active Directory or something?
 
The Advanced page of the IP properties dialog will show all addresses assigned to the NIC.

I'm afraid that I don't have experience of Minecraft servers, but a quick search shows that you can set an IP Address in the configuation file (otherwise the server will listen on all addresses). So I presume you set up separate configuration files and specify the appropriate one when starting the server instance.

There's a post here: http://www.minecraftforum.net/forums/support/server-support/server-administration/1920697-advanced-server-properties-ip-and-port-settings that discusses this; it says that multiple servers with a single NIC are possible this way. I'm sure there's a whole lot more info out there about this sort of configuration.