[cod] 2 servers on one machine -Help, Friday deadline!

Steven Hartland steven at multiplay.co.uk
Wed Jan 14 05:41:14 EST 2004


Don't talk rubbish. There is no reason to run each server from a separate
dir.

    Steve / K
----- Original Message ----- 
From: "Bill Wood" <wawoodtx at comcast.net>
To: <cod at icculus.org>
Sent: Wednesday, January 14, 2004 9:55 AM
Subject: RE: [cod] 2 servers on one machine -Help, Friday deadline!


Also you should run each server from a different directory, otherwise each
will overlay the others config_mp_server.cfg. We run two CoD servers and one
ET server on the same machine/NIC with no problems but they each have
seperate directories and, of course, use different ports.

-----Original Message-----
From: cod at kaleplek.net [mailto:cod at kaleplek.net] 
Sent: Wednesday, January 14, 2004 5:20 AM
To: cod at icculus.org
Subject: Re: [cod] 2 servers on one machine -Help, Friday deadline!



Hi ck,

Yes you are right, but this is on the internet and you send a heartbeat
and information to Activision with wich ip and port you are using. Thats
why you wil find them in your browser. But when you use LAN the clients
have to find the machines themselve. This will be a problem because the
are broadcasting on UDP and if you use 2 nics with same Port the client
will only pick up the first response (the first COD server who response).
This is why i say use 2 ports on different NIC's.

Greetz
Quint

> cod at kaleplek.net wrote:
>
>> Hi there,
>>
>> Yoe can see in your logfile that both servers are using the same port.
>> What you have to do is setup both servers on different ports.
>
> Sorry, but I really think that's nonsense. Why should there be any
> necessity to use different ports if one uses different IPs in the first
> place?
>
> What _I_ see from the startup log is that the boxes are using the same
> IP, which is the original reason for the posting.
>
> I have tried this with the current server release and a box that has one
>  interface with multiple IPs bound to it:
>
> ../cod_lnxded +set net_ip 62.4.81.209 +exec cod_server.cfg +set net_port
>  28960 +set ttycon 0
>
> and
>
> ../cod_lnxded +set net_ip 62.4.81.207 +exec cod_server.cfg +set net_port
>  28960 +set ttycon 0
>
> have this effect:
>
> udp        0      0 62.4.81.207:28960       0.0.0.0:*
>         11679/cod_lnxded
> udp        0      0 62.4.81.209:28960       0.0.0.0:*
>         11661/cod_lnxded
>
> So far, so good. As I fire up my copy of COD to see if both show up in
> the server browser, I use the string "stormix.de" to look for the
> servers. Shazam, both show up in the in-game server browser.
>
> So, probably the above lines work, and of course you won't need to set
> servers that are using different IPs to different ports.
>
> HTH,
>
> --ck



================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.





More information about the Cod mailing list