Jump to content

How connect 2 PC?

keavlar

Hey all, 

I saw a lot of options over the internet, but still was unable to successfully connect 2 pc.

My main idea behind it, to try and stream on second pc. 

Before start doing so, I wanted to understand how to connect 2 pc. 

 

Mind helping me with that!? 

 

Thanks in advance. 

CPU - AMD 5800XMotherboard - ROG STRIX B550-E GAMING , Memory  - G.SKILL TridentZ Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM DDR4 3600 ,

GPU - NVIDIA GeForce RTX 3080 Ti MSI SUPRIM X 12G,  Case - 4000D AIRFLOW Tempered Glass Mid - Tower ATX Case - Black ,

Storage - Samsung 970 EvoPlus 500GB - Samsung 870 EVO 1TB + 6TB HDD,

PSU - Corsair HX1000 , Display -  ASUS TUF Gaming VG27A 165HZ + Dell 24 UltraSharp Monitor , Cooling - Noctua NH-D15 Black , 

Keyboard - Razer Stalker , Mouse - Logitec G502 Wireless , Operating System - Win 10 Pro , 

Sound - Logitech Z906 5.1 THX Surround Sound Speaker System

Link to comment
Share on other sites

Link to post
Share on other sites

Your question is albeit confusing, tho. But if you just want to make a direct LAN connection, the most simple but effective solution is directly connect your computers with RJ-45 cable. Just use the first PC as 'gateway PC' with 192.168.1.1 for the IP, and 255.255.255.0 as the subnet mask, leave the default gateway as it is.

 

On the second PC, use 192.168.1.2 for the IP, subnet mask as like before, and fill 192.168.1.1 as the gateway.

 

It's way easier if you have a router, and just connect both PCs. IP will assigned automatically.

Humor me, as you should do.

 

Daily drivers, below.

 

Diccbudd PC

Intel Xeon E3-1225 v2 || ASRock B75M Motherboard || MSI GeForce GTX 1650 Gaming X 4G || Hynix 2x8 GB DDR3 1600 MHz RAM || 480 GB Pioneer APS-SL3 SATA SSD // 1 TB Seagate 2.5" HDD || be quiet! System Power 9 500 W PSU || Cooler Master T20 CPU Cooler || Samsung S19D300 Monitor || Fantech X6 Knight Mouse || VortexSeries VX7 Pro Keyboard

 

Samsung Galaxy A34 5G

8GB RAM, 256GB Internal Storage, 128GB SanDisk Extreme, and you could find the rest of the specs on the interwebz lol

 

Lenovo ThinkPad L390 Yoga

Intel Core i5-8365U || 8 + 16 GB DDR4 (don't ask, gf bought me the 16 GB RAM as my birthday present lol) || Samsung 256GB SSD

 

Personal Server: CasaOS, Home Assistant, ESPHome, Jellyfin.

AMD E-350 || 3GB DDR3 || 120GB random SSD || 1TB Toshiba HDD

 

Audio

Redmi TV Soundbar || KZ EDX Ultra + KZ APTX Bluetooth Module || JCALLY JM6 CX31933 DAC

Link to comment
Share on other sites

Link to post
Share on other sites

Another solution would be to get a Ras Pi and a cheap switch then use DNSMasq on Raspbian to act as a DHCP server. This would cost more and is very complex to setup but its a more permanent solution.

 

ATM I'm experimenting with running SAMBA as a Windows Active Directory Domain Controller on my Ras Pi but its a nightmare to get working.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, dhannemon13 said:

Your question is albeit confusing, tho. But if you just want to make a direct LAN connection, the most simple but effective solution is directly connect your computers with RJ-45 cable. Just use the first PC as 'gateway PC' with 192.168.1.1 for the IP, and 255.255.255.0 as the subnet mask, leave the default gateway as it is.

 

On the second PC, use 192.168.1.2 for the IP, subnet mask as like before, and fill 192.168.1.1 as the gateway.

 

It's way easier if you have a router, and just connect both PCs. IP will assigned automatically.

It's worth noting that if he's working with Windows 7 or later (I can't verify older versions) that Windows has Self-Assignable addresses. When you directly connect two computers the PCs will receive an address automatically in the 169.254.X.X/16 range. If this is for a one off file transfer that's usually sufficient but if he wants to set this up for the long term then yes a Static IP on both machines would be preferred.

 

Also when using a P2P connection like this a Default Gateway doesn't need to be specified. ?

 

The popularly of doing this type of setup is why it's on my to-do list to write a short guide on it.

 

Link to comment
Share on other sites

Link to post
Share on other sites

It sounds like OP is talking about a dual PC streaming setup. 

To do that, you have a capture card in your streaming PC, you have HDMI from the "secondary" HDMI port on the GPU in your gaming PC to the IN port on the capture card in the stream PC, then on your gaming PC you configure it to duplicate your primary display to the secondary display 

 

dualstreaming-graphic.jpg

 

 

You can eliminate using a capture card and do a dual PC setup over IP with OBS, using OBS NDI: https://obsproject.com/forum/resources/obs-ndi-newtek-ndi™-integration-into-obs-studio.528/ You just have to ensure that both PC's are on the same network. 

 

 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×