PDA

View Full Version : Question about Multiple IPS + 1 NIC with MOH:BT


muncher
10-01-2003, 01:38 PM
I'm having some strange problems with setting up multiple BT servers on one machine. I have added the multiple ips through the network configurations under the advanced settings however, when I start up a couple BT servers, the first instance of BT takes up all 3 ips that I assigned to the windows machine.

My startup line does have the ip set using +net_ip 64.237.43.66, so I figured that it would bind to that IP and only that ip, but it looks like it's binding against all IP's where this BT instance would show up as 64.237.43.66, 64.237.43.67, and 64.237.43.68.

Has anyone been able to put up multiple BT's on a box and have it bind to the ip correctly?

Thanks,
Muncher

muncher
10-01-2003, 09:41 PM
anyone have any ideas on this is kinda odd. Here's my cmd prompt line that I use to launch the server:


moh_Breakthrough_server.exe +net_ip 64.237.43.66 +exec server.cfg

The server runs fine..but the first server that I start when seen through ASE shows up on 64.237.43.66,67 and 68. And any subsequent server that I start up doesn't get seen...all three ips goes to the first game I serve up.

Thanks,
Muncher

Irksome
10-02-2003, 07:47 AM
I don't think you can do what you are trying to do ... I run SH and BT on the same box, SH on 12203 and BT on 12204 ... I think thats the only solution

Irksome
10-02-2003, 07:48 AM
I don't think you can do what you are trying to do. Have you tried setting the LAN ip instead of the server IP?

The solution of course is to change the ports ... I run a SH and BT server on the same box, SH on 12203 and BT on 12204, and that works fine.

muncher
10-02-2003, 02:08 PM
Hmm, that sounds more like a bug to me more than anything. In the past, for AA, I am able to divide servers up by IP addresses using the same port number on the same machine. Possibly because it was on Linux servers, but it should work the same on a Windows machine. I mean, the command line parameter +net_ip should tell the game to bind to a specific ip address on that machine...

Col_Pugh
10-03-2003, 01:35 AM
I don't think you can do what you are trying to do. Have you tried setting the LAN ip instead of the server IP?

The solution of course is to change the ports ... I run a SH and BT server on the same box, SH on 12203 and BT on 12204, and that works fine.
I am also running two servers from one comp (SH & BT).
How can I get the second one (port 12204) to show up on gamespy.
Only the 12203 shows up

Irksome
10-04-2003, 01:49 AM
Gamespy listing does seem to be a black art. Make sure you have all the ports listed in the guides section open, and make sure that your config for both servers has ...

// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
// If this is 0, players will not be able to see your server via the in-game browser nor gamespy arcade.
//set sv_gamespy 1
//set sv_master1 "mohmaster.2015.com"
//set sv_master2 "master0.gamespy.com"
//set sv_master3 "master1.gamespy.com
//set sv_master4 "clanservers.net"
//net_noipx 1
//set net_ip xxx.xxx.xxx.xxx

These are currently commented out of my server config ... and I don't know why, someone in my clan has probably done it for a reason.

prisoner24601
10-07-2003, 05:34 AM
I'm having some strange problems with setting up multiple BT servers on one machine. I have added the multiple ips through the network configurations under the advanced settings however, when I start up a couple BT servers, the first instance of BT takes up all 3 ips that I assigned to the windows machine.

My startup line does have the ip set using +net_ip 64.237.43.66, so I figured that it would bind to that IP and only that ip, but it looks like it's binding against all IP's where this BT instance would show up as 64.237.43.66, 64.237.43.67, and 64.237.43.68.

Has anyone been able to put up multiple BT's on a box and have it bind to the ip correctly?

Thanks,
Muncher

Yes. I got 3 (2SH 1BT) servers running on 3 different IPs on my machine using the same port. It is possible and alot of the game server providers do it. If all your traffic is directed to a single IP instead of going to its desired destination, it seems likely you executed the net_ip command after the server was loaded or misconfigured your NIC for multiple IPs.

1st case, make sure that the net_ip command is executed before the prog automatically binds to your default IP. Easiest way to do this is to insert +set net_ip command into your shortcut or start the server from a batch file. This was the problem with my set up, now it works great.

2nd case, i cant help you there without more info on the network your box is on.

Hope this helps.

GaSplat
10-07-2003, 07:00 PM
I think prisoner hit on the problem without calling it out explicitely. Use

+set net_ip xxx.xxx.xxx.xxx

instead of

+net_ip xxx.xxx.xxx.xxx

in your start up command. The command line parser is not the same one used for config files - I have seen it handle syntax issues differently. Try explicitely using the "set" command in your startup.

prisoner24601
10-07-2003, 07:36 PM
+set net_ip xxx.xxx.xxx.xxx

instead of

+net_ip xxx.xxx.xxx.xxx
.

Good eye. I totally didnt catch that. lol. Hey Muncher, if everything goes well your console should look like this:

------- Input Initialization -------
Initializing DirectInput...
Couldn't set DI coop level
Falling back to Win32 mouse support...
------- Input Initialization Complete ------- 16
You are now setup for medium mode.
Winsock Initialized
Opening IP socket: 216.93.168.235:12203
Hostname: moh.ssbclan.net
IP: 216.93.168.232
IP: 216.93.168.233
IP: 216.93.168.234
IP: 216.93.168.235
--- Common Initialization Complete --- 2126 ms

CassideyRae
10-18-2003, 02:54 AM
He ran our servers off of one IP for a month...on different ports.....naturally this doesn't work, but it took us a month of debating with him before he understood this.

(that was from Sitting_Duck)

Our game server provider does exactly what sitting duck eluded to. We have 2 servers from them, you connect to them via 66.199.183.155:14010 (for AA) and 66.199.183.155:14020 (for BT)

Does this actually affect how the server performs? If so can you give me some documentation so i can show him why it doesn't work?

prisoner24601
10-18-2003, 04:54 AM
My understanding is that if you run MOH servers on different ports, clients would have to enter your IP followed by the port address, e.g. 216.93.168.235:14210 and they just cant simply join through the in game browser by clicking on it.