PDA

View Full Version : 2 servers 2 ip's


SpaZ
11-18-2002, 07:46 PM
I want to run 2 servers on 2 ips. I have 2 NIC cards setup with ip addresses. I tried just setting the net_ip on the servers but when I run them i get both ip addresses listed.

Is there any way to designate server to a single ip address on the same machine? I want to run mohaa on 1 ip address and mohaas on the other.

I am running a win2k pro machine dualprocessors 1.4 and 512mb ram. Any suggestions?

CobraEF
11-18-2002, 11:24 PM
Use the same Ip but chage the Port number like this in your config of the different servers
like this.
127.0.0.1:12203
127.0.0.1:12204
127.0.0.1:12205
127.0.0.1:12206
________
vaporizer (http://vaporizer.org/)

11-19-2002, 07:11 AM
The trick here is to have 2 public IP address but yes you can bind up to 254 IP address to the same nic. This is how many of the larger game hosting companies do it. One very powerful box, with 1 or 2 nics and 12 games.

since all my win2K servers have been converted over to XP or .net (beta) I don't have one to sit in front of but they should all be the same.

right click your network neighborhood icon. right click then properties of your nic. I believe it's under the advanced tab, but you should be able to assign more IP addresses there.

Sorry for the vague answer but again this is from memory and it's early in the am. Been looking for meteors with my kids :?

SpaZ
11-19-2002, 09:50 AM
yeah... I have 2 NIC's installed already. The goal was to split the load between the 2 physical NIC cards as to not bog one down. I tried setting the net_ip and net_port but unfortunately when I start the servers they show ip twice with both addresses. I may just use the primary NIC with different ports and leave the 2nd for my host remote.

I didn't think this was gonna be that hard. Shoulda known better. lol

Shockwave
11-19-2002, 10:15 AM
I know that game server parameters are not all processed the same way. For example, you must specify changes to the path and name of the server log file on the command line in order for them to be parsed properly. The only suggestion I could make would be to specify the net_ip and net_port options on the command line that starts the server if you haven't already tried it.

11-19-2002, 10:20 AM
Unless you have a really really cheap nic, your going to saturate your downstream connection and or CPU b4 your nics.

privateink
11-20-2002, 09:49 AM
I'd agree with Rudedog... your nic should have a 10mb connection at the very least. Your bandwidth to the Internet won't be anywhere near close to that unless you've got a little extra sum'in sum'in going around with your ISP.

Your bandwidth, CPU and memory utilization will give you a headache before your nic will. Unless of course you have some cheap made in antarctica unsupported nic card. ;)

EaSyKiLL
12-10-2002, 04:09 PM
I am trying to run MOHAA and SP on 1 server too. I am also getting the same problems. Which ever server I start first uses both IP's I have set even though I specify in the startup .bat to use only one of the IP's. Anyone have any suggestions?

SpaZ
12-10-2002, 08:50 PM
I found that setting the net_ip and net_port in the shortcut worked. It still listed both IP's but only opened the one set. However... I did try just running both from the same ip different port using the same method and found that both servers did truly run just fine from one NIC. I use the other NIC and IP for host/remote.

EaSyKiLL
12-11-2002, 10:18 AM
Hmm, I must be doing something simple wrong. The only server I can connect to is the first one I start. Do I need two instances of MOHAA?

FredG
12-18-2002, 11:11 AM
I'm thinking of doing this too. Could somebody who has setup multiple servers on one machine provide the setup steps or make a short tutotrial?