Author Topic: 2 network cards one computer.  (Read 2260 times)

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« on: August 31, 2007, 09:55:55 pm »
I have started a computer at home to run the game and extreme mod. The computer I am running has two gigabit network cards. I have static IPs set up on each. I also have two game short cuts set up for each card and IP. The problem is that only one card will connect to the internet. Both are enabled but only one is connecting. How do I get both to support the game so I can run a stock game and a modded game from one machine? I have been told that I need to load balance but all i have read regarding that is about internal networks with multiple computers. I want to run COD2 stock, and COD2 modded from two cards and one computer. The network cards are integrated on a BFG 680i SLI MOBO.Any ideas? I'm sure this can be done.
Respectfully submitted, Crick.

Windows 2000 XP PRO
Exterme+ 1.6

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
2 network cards one computer.
« Reply #1 on: August 31, 2007, 10:08:32 pm »
Crick --

Why not install COD2 and patches in 2 different directories, and from the same IP just use a different port?

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« Reply #2 on: August 31, 2007, 10:14:16 pm »
I have a business connection and the ISP provides 5 static IP addresses. It gives me a 10 down and one up speeds. I thought that I could set this up with each of the provided IP addresses on a seperate NIC and run an aplication from each. Either way I go I will still have the IP addresses and would like to use them. I also wanted to set up TS on one of the IP addresses.

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
2 network cards one computer.
« Reply #3 on: August 31, 2007, 10:26:11 pm »
So essentially you have a dedicated server.  Allocate all those IP's to the tcp/ip protocol

TS will sit on the main IP associated with the computer.  Then, in the commandline, use a different IP for each server and you can still use port 28960 for each server.

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« Reply #4 on: August 31, 2007, 10:33:38 pm »
I don't believe I understand what you mean with allocating the IP's to the TCP/IP protocol. Could you go into more detail? Please. I have come a long way with this so far and I want to make it work.

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
2 network cards one computer.
« Reply #5 on: August 31, 2007, 10:39:52 pm »
Start >> Control Panel >> Network Connections

Your NIC that connects to the internet.........Right-Click >> Properties

Highlight Internet Protocol (TCP/IP) >> Click Properties

Use the following IP address:
IP address:
Subnet mask:
Default gateway:

Use the following DNS server addresses:
Preferred DNS server:
Alternate DNS server:

All this information should come from your ISP provider, and this FIRST step is for the MAIN IP information.

After this, click on Advanced...

IP addresses TAB

Click Add...

IP address:
Subnet mask:

Do this for each IP you have with your business plan.

Default gateways: should be automatic at this point.

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« Reply #6 on: August 31, 2007, 11:01:38 pm »
Just so I understand what will happen, allocating the IP's in this manner will put them all coming in on the one card. Correct? If that is correct then there would be no need in additional cards. I simply need to designate what the IP is in the commandline?

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
2 network cards one computer.
« Reply #7 on: August 31, 2007, 11:05:30 pm »
Yep, absolutely correct.

I don't rent server m8 -- I get dedicated boxes with 10 IP's and simply allocate them as I have descripbed above.  1 server running 10 COD2's each on a different IP and I only have 1 NIC per computer. :)

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« Reply #8 on: August 31, 2007, 11:14:58 pm »
I have another question. I created a folder in activision and named it :|BC|:Stock. I tried to load the game into that directory but the install disc would not allow an install. I then copied the COD2 folder to the new directory. Is that functional or is there another way to get a fresh install on the box, or does it matter?

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
2 network cards one computer.
« Reply #9 on: August 31, 2007, 11:23:52 pm »
It doesn't really matter m8.  When I get a new box, I upload through FTP a fresh clean install with patch of COD2 ((takes forever *L*)) to a folder I make in the C drive called "Games" Call if Server 1.

C:\Games\Server_1

Then when I want a Second server, I simply copy the folder Server_1 to the desktop.  Rename it to Server_2 and slap it back into the Games folder.

C:\Games\Server_2

When you set up the commandlines they should look like this

"C:\Games\Server_1\CoD2MP_s.exe" +set dedicated 2 +set net_ip XX.XX.XX.XX +set net_port 28960 +set fs_game eXtremev2.2 +exec server.cfg

"C:\Games\Server_2\CoD2MP_s.exe" +set dedicated 2 +set net_ip XX.XX.XX.XX +set net_port 28960 +set fs_game eXtremev2.2 +exec server.cfg

"C:\Games\Server_3\CoD2MP_s.exe" +set dedicated 2 +set net_ip XX.XX.XX.XX +set net_port 28960 +set fs_game eXtremev2.2 +exec server.cfg

etc etc etc

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« Reply #10 on: August 31, 2007, 11:30:04 pm »
That is what I have done basicaly but with a different server name. I have allocated the IP's to the card hitting the internet and set up the commandlines for each application. The modded server hits fine but the stock is saying could not alocate ip port. I believe I have set it up as you stated? Do you have a thought about this?

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
2 network cards one computer.
« Reply #11 on: August 31, 2007, 11:34:42 pm »
I have never run into "could not alocate ip port"

On the stock server, add +net_port 28961 to the commandline and restart it -- see if it fires up?

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« Reply #12 on: August 31, 2007, 11:43:10 pm »
No good. This is what it is saying;

Winsock Initialized
Opening IP socket: 74.143.193.277:28961
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28962
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28963
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28964
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28965
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28966
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28967
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28968
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28969
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 74.143.193.277:28970
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't allocate IP port

abd this is the commandline;
"C:\Program Files\Activision\Call of Duty Stock\CoD2MP_s.exe" +set dedicated 2 +set net_ip 74.143.193.277 +set net_port 28961 +set sv_maxclients 30 +set sv_punkbuster +exec server.cfg +map_rotate

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
2 network cards one computer.
« Reply #13 on: August 31, 2007, 11:47:42 pm »
Something doesn't smell right, perhaps in the TCP/IP allocation?

Wanna do a bunch of screenshots for me?  Of the entire setup process of the TCP/IP setup?

Offline Crick

  • Rank: Private
  • *
  • Posts: 31
2 network cards one computer.
« Reply #14 on: September 01, 2007, 12:02:50 am »
Can i put them in here without uploading them to a url address?