• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to get unique IP address for two Servers.

Mussels

Freshwater Moderator
Staff member
Joined
Oct 6, 2004
Messages
58,413 (8.19/day)
Location
Oystralia
System Name Rainbow Sparkles (Power efficient, <350W gaming load)
Processor Ryzen R7 5800x3D (Undervolted, 4.45GHz all core)
Motherboard Asus x570-F (BIOS Modded)
Cooling Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate
Memory 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V)
Video Card(s) Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W))
Storage 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2
Display(s) Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144)
Case Fractal Design R6
Audio Device(s) Logitech G560 | Corsair Void pro RGB |Blue Yeti mic
Power Supply Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY)
Mouse Logitech G Pro wireless + Steelseries Prisma XL
Keyboard Razer Huntsman TE ( Sexy white keycaps)
VR HMD Oculus Rift S + Quest 2
Software Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware!
Benchmark Scores Nyooom.
CSS definately doesnt disallow people for having the same IP by default. i've got two housemates, and i know there'd be hell if we could only play one at a time.


You sure its not something else, like say... using the same steam account twice?
 

Sonido

New Member
Joined
Aug 25, 2008
Messages
356 (0.06/day)
Location
USA
System Name Sonido
Processor E6600 @ 3.20 GHz (1600 FSB)
Motherboard abit IX38 QuadGT
Cooling Tt SpinQ (load @ 29c)
Memory TopRam SpeedRAM A.K.A "El Cheapo" @ 800 MHz
Video Card(s) Diamond HD 4870 (@ Stock)
Storage Primary: 500 GB WD
Display(s) 32" Samsung 1080p HDTV
Case Antec Twelve hundred (Modded Tri-cool fans)
Audio Device(s) On-board HD Audio
Power Supply 700W Rocketfish
Software Vista\7\Linux\Hackintosh
Edit: that's what i get for not reading all the way...


Set up DHCP on a switch. That HUB won't have it. HUBs don't have routing tables.
 
Last edited:

Sir_Real

New Member
Joined
Feb 24, 2009
Messages
706 (0.13/day)
Location
Lincoln England
Processor PC 1: Q6600@3.25,1.34v / PC 2: E8200@3.88,1.35v
Motherboard PC 1: Asus P5Q-SE / PC 2: Asus P5Q-E
Cooling PC 1: Air / PC 2: Air
Memory PC 1: 4gb Ocz PC8500 / PC 2: 4gb Kingston hx PC8500
Video Card(s) PC 1: Saphirre HD4870x2 2GB / PC 2: 2x XFX HD4870 1GB in xfire
Storage PC 1: Samsung 750GB (win7) + Seagate Barracuda 500GB (XP pro) / PC 2: Seagate Barracuda 160GB
Display(s) 2x HANNS-G HH251 24.6" 1980x1080 LCD
Power Supply PC 1: CIT gold 750watt / PC 2: Powercool 850watt modular
Software PC 1: Win7 home 64 + XP pro 32 / PC 2: Win7 home 64
Benchmark Scores PC 1: 3Dmark2006: 18674 PC 2: 3Dmark2006: 19250
Or just plug one pc directly into the other via a crossover Lan cable. Then run the windows network wizard it will do all the settings for the network & internet connection sharing. Simple & cheap way to get two pc's hooked up & online.

Oh i know how to mod a standard lan cable into a crossover if anyone ever wants this info.
 

HussanAli

New Member
Joined
Mar 23, 2008
Messages
31 (0.01/day)
Location
Pakistan
Can anybody please tell me where to get CSS low-ping servers that my bros can't access. :eek:
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Oh dear...

You need a router. Both computers plug into that router. In the router settings you need to set both of their IPs to static/reserved. An example:

COMP1: 192.168.0.132
COMP2: 192.168.0.164


Then you have to add virtual server/port forwarding rules. Example

COMP1: 27115 UDP & TCP
COMP2: 27215 UDP & TCP


Now you have to tell Counter Strike to use the new port. You can do this by modifying the "Target" line of the shortcut to the game. Example:

COMP1: hlds.exe -game cstrike -port 27115
COMP2: hlds.exe -game cstrike -port 27215


You should now be able to host two internet servers at the same time on the same WAN IP. When someone on the Internet sends a packet to yourip:27115, it will be directed to 192.168.0.132:27115. When someone sends a packet to yourip:27215, it will be directed to 192.168.0.164:27215. Same Internet IP, different computers.


Like I said, it's the server that refuses connections from the same IP. So it's nice that your cod 4 server doesn't care, that source server does. Could be a setting or something source server just does, I wouldn't know. I don't use it.
Source and GoldSource would only freak out if the IP & client port matched (if they did, it would drop the older client and accept the new one assuming you are reconnecting to the server). NAT routers randomize the client port number on outbound connections so it's never a problem unless you have way too many connections trying to get out. Example...

His: 127.0.0.1:7423
Son's: 127.0.0.1:48234

That's completely normal.
 
Last edited:
Joined
May 20, 2004
Messages
10,487 (1.44/day)
Edit: that's what i get for not reading all the way...


Set up DHCP on a switch. That HUB won't have it. HUBs don't have routing tables.
Switches don't do anything on IP level, a DHCP server is a DHCP server, basically all routers have one built in though. Though it's not the same as a router either.

Source and GoldSource would only freak out if the IP & client port matched (if they did, it would drop the older client and accept the new one assuming you are reconnecting to the server). NAT routers randomize the client port number on outbound connections so it's never a problem unless you have way too many connections trying to get out. Example...

His: 127.0.0.1:7423
Son's: 127.0.0.1:48234

That's completely normal.

Google agrees here: http://forums.srcds.com/viewpost/26944#pid26944


And considering 127.0.0.1 is the loopback address that's a bad example :)
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Switches don't do anything on IP level, a DHCP server is a DHCP server, basically all routers have one built in though. Though it's not the same as a router either.



Google agrees here: http://forums.srcds.com/viewpost/26944#pid26944


And considering 127.0.0.1 is the loopback address that's a bad example :)
It was an example. No one "owns" 127.0.0.1 so it is safe for examples in the interwebs. 192.168.#.# is reserved for intranets.

I don't care what Google says. Just host a Quake/GoldSource/Source game and look at the IPs that join. If you get two people behind the same NAT router, you'll see it in action (connected from one IP but two ports).
 
Joined
May 20, 2004
Messages
10,487 (1.44/day)
Instead of not caring and trying to make your point again you could just read my post again, it's not that long. I said Google agrees, thus you are right. Though feel free to make some more posts explaining me in different ways.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Judging by my spelling...

Yes, a lot.
 
Top