Posts: 127
Threads: 31
Joined: Jun 2007
Reputation:
0
my friend was running a dedicated server off his computer for a few months and now hes setting up a dedicated computer in his basment just for the server. he has it all set up and running but we have a connection prob. the new server is connected to the same router as his first server computer and they now have the same ip. should both computers have the same ip? will it work if we just run the new server on a different port or do we need to change the ip completly?
Posts: 36
Threads: 4
Joined: Oct 2007
Reputation:
0
10-15-2007, 04:00 AM
(This post was last modified: 10-15-2007, 04:02 AM by kilorat.)
2 computers cannot have the same IP and work, that is just not how it works.
The other computer should get a private fake IP like 192.168.0.2 or 10.0.0.1 or one of those special addresses, then your router will forward the packets to the internal server, but you'd have to set it up to do this. It's not easy to setup if you don't know networking, at least conceptually.
How to make it works depends on if the first computer has a real IP, or if it already has a fake one and your router is doing the NAT, so your dedicated server will either have to route through the first computer (if it has a real IP), or route through your firewall, and you'll have to setup the NAT on the router in that case.
Posts: 3,906
Threads: 404
Joined: Oct 2007
Reputation:
21
I'm probably just repeated what other said, but...
First, any computer you will be using as a server, give it a STATIC internal IP. So give it something like 192.168.0.150. (obviously each computer needs a different IP). That can be done in windows (or linux) and helps make sure that your router doesn't change your internal IP thus messing up your port forwarding.
Now host the servers on whatever computers you want, just make sure they all use DIFFERENT PORTS. Then set up port forwarding in your router.
~ Mooga ...w00t? -
SRCDS.com on Twitter
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Posts: 127
Threads: 31
Joined: Jun 2007
Reputation:
0
ok it already has a static ip...its all set up properly, we just changed the port and it worked =D