Jump to content

I recently bought an Nvidia shield pro and I want to stream my steam games to it through the steam link app. The wireless networking isn't as fast as I would like so I'm considering buying a switch and connecting the PC and the shield to the same unmanaged switch. From what I know about networking the network traffic should flow directly between the two devices instead of going through the router. Am I correct?

Link to comment
https://linustechtips.com/topic/1349914-question-about-unmanaged-switch/
Share on other sites

Link to post
Share on other sites

3 minutes ago, Withenex said:

I recently bought an Nvidia shield pro and I want to stream my steam games to it through the steam link app. The wireless networking isn't as fast as I would like so I'm considering buying a switch and connecting the PC and the shield to the same unmanaged switch. From what I know about networking the network traffic should flow directly between the two devices instead of going through the router. Am I correct?

Actually no.

 

The switch needs to go to the router and to the shield.

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 post
Share on other sites

5 minutes ago, Master Disaster said:

Actually no.

 

The switch needs to go to the router and to the shield.

Actually OP's understanding is correct. The traffic will be switched locally and won't need to touch the router since it will be on the same subnet. Now if the devices need to get out to the internet they'll need to hit the router.

Current Network Layout:

Current Build Log/PC:

Storage Server Setup:

 

Prior Build Log/PC:

Link to post
Share on other sites

5 minutes ago, Master Disaster said:

Actually no.

 

The switch needs to go to the router and to the shield.

I get that the traffic first has to be "routed" by the router but I thought that every packet shouldn't have to make a trip to the router 

Link to post
Share on other sites

If both are connected to the switch then yes the packets will go directly between them. You do want to connect the switch to the router for internet connectivity / DHCP though.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to post
Share on other sites

7 minutes ago, Withenex said:

From what I know about networking the network traffic should flow directly between the two devices instead of going through the router. Am I correct?

Yes, I believe that is the case yes.

This is not something I have intimate understanding off, but in the past I believed the data went from:

Device#1 > Switch#1 > Router > Switch#1 > Device#2, but I am pretty sure with a switch it just goes: Device#1 > Switch#1 > Device#2.

 

This is done with ARP: https://en.wikipedia.org/wiki/Address_Resolution_Protocol

 

See this thread for a bit more information and to also see me completely not knowing about this concept

 

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to post
Share on other sites

3 minutes ago, minibois said:

Yes, I believe that is the case yes.

This is not something I have intimate understanding off, but in the past I believed the data went from:

Device#1 > Switch#1 > Router > Switch#1 > Device#2, but I am pretty sure with a switch it just goes: Device#1 > Switch#1 > Device#2.

 

This is done with ARP: https://en.wikipedia.org/wiki/Address_Resolution_Protocol

 

See this thread for a bit more information and to also see me completely not knowing about this concept

 

The router doesn't need to be between the Computer and the Shield.

 

But it can't just be:

Shield -> Switch -> Computer

The router does need to be attached to the Switch as well.  Otherwise you'll have a switch not providing IPs or anything else to the ethernet cards, so they won't talk to each other.  (Unless you start setting static IPs and such things.)

Link to post
Share on other sites

1 minute ago, tkitch said:

The router doesn't need to be between the Computer and the Shield.

 

But it can't just be:

Shield -> Switch -> Computer

The router does need to be attached to the Switch as well.  Otherwise you'll have a switch not providing IPs or anything else to the ethernet cards, so they won't talk to each other.  (Unless you start setting static IPs and such things.)

Incorrect. They'll use APIPA addresses and they can talk still to each other.

Current Network Layout:

Current Build Log/PC:

Storage Server Setup:

 

Prior Build Log/PC:

Link to post
Share on other sites

Just now, tkitch said:

I have NEVER had any luck with devices talking to each other with APIPA.

I mean it's not the greatest in the world and the work to find both IP addresses so they can talk directly is probably going to take just as much time as setting two static addresses but it can still be done without the need for statics.

Current Network Layout:

Current Build Log/PC:

Storage Server Setup:

 

Prior Build Log/PC:

Link to post
Share on other sites

1 minute ago, Lurick said:

I mean it's not the greatest in the world and the work to find both IP addresses so they can talk directly is probably going to take just as much time as setting two static addresses but it can still be done without the need for statics.

OH!  If getting a cable to the router is really that difficult / impractical.  

Set up the computer for ICS over the wired connection.  That'll fix routing issues just fine. 

Link to post
Share on other sites

1 minute ago, tkitch said:

OH!  If getting a cable to the router is really that difficult / impractical.  

Set up the computer for ICS over the wired connection.  That'll fix routing issues just fine. 

Uh guys, I never said that the switch wouldn't be connected to the router

Link to post
Share on other sites

Just now, Withenex said:

Uh guys, I never said that the switch wouldn't be connected to the router

I figured/hoped there would be a connection to the router for external communication but your original question about how they will talk is 100% correct (provided both on the same subnet which they will be in this case I presume) Device 1 > Switch > Device 2

Current Network Layout:

Current Build Log/PC:

Storage Server Setup:

 

Prior Build Log/PC:

Link to post
Share on other sites

3 hours ago, minibois said:

Yes, I believe that is the case yes.

This is not something I have intimate understanding off, but in the past I believed the data went from:

Device#1 > Switch#1 > Router > Switch#1 > Device#2, but I am pretty sure with a switch it just goes: Device#1 > Switch#1 > Device#2.

 

This is done with ARP: https://en.wikipedia.org/wiki/Address_Resolution_Protocol

 

See this thread for a bit more information and to also see me completely not knowing about this concept

 

I mean, the router isn't even essential for the process of local traffic other than for DHCP.  I use a pfSense box in my apartment so all switching is done on physically separate unmanaged switches and an access point.  Since most of my hardware, that is not on wifi, is on static IPs, I can power down and even disassemble the pfSense box, but local traffic between my media servers and HTPCs and the likes continues to work fine.  Only the wifi devices, since Windows won't let me configure a static IP on one wifi network but to use DHCP on other wifi networks, are on DHPC and they have problems.

Desktop: Ryzen 9 3950X, Asus TUF Gaming X570-Plus, 64GB DDR4, MSI RTX 3080 Gaming X Trio, Creative Sound Blaster AE-7

Gaming PC #2: Ryzen 7 5800X3D, Asus TUF Gaming B550M-Plus, 32GB DDR4, Gigabyte Windforce GTX 1080

Gaming PC #3: Intel i7 4790, Asus B85M-G, 16B DDR3, XFX Radeon R9 390X 8GB

WFH PC: Intel i7 4790, Asus B85M-F, 16GB DDR3, Gigabyte Radeon RX 6400 4GB

UnRAID #1: AMD Ryzen 9 3900X, Asus TUF Gaming B450M-Plus, 64GB DDR4, Radeon HD 5450

UnRAID #2: Intel E5-2603v2, Asus P9X79 LE, 24GB DDR3, Radeon HD 5450

MiniPC: BeeLink SER6 6600H w/ Ryzen 5 6600H, 16GB DDR5 
Windows XP Retro PC: Intel i3 3250, Asus P8B75-M LX, 8GB DDR3, Sapphire Radeon HD 6850, Creative Sound Blaster Audigy

Windows 9X Retro PC: Intel E5800, ASRock 775i65G r2.0, 1GB DDR1, AGP Sapphire Radeon X800 Pro, Creative Sound Blaster Live!

Steam Deck w/ 2TB SSD Upgrade

Link to post
Share on other sites

4 hours ago, minibois said:

This is not something I have intimate understanding off, but in the past I believed the data went from:

Device#1 > Switch#1 > Router > Switch#1 > Device#2, but I am pretty sure with a switch it just goes:

Device#1 > Switch#1 > Device#2.

Actually that is incorrect, if it is just local LAN traffic then "technically" the traffic never hits the router in either scenario (other than DHCP to get its IP/DNS assigned in the first place).

 

Routers contain a switch, only traffic directed at the router itself or the Internet will pass from that switch into the router via an internally wired ethernet port, sometimes more than one (so that LAN and WAN traffic isn't sharing a single Gigabit port).

 

Its really quite fascinating as some routers have one ethernet port hooked into the switch and the WAN port is another ethernet port directly connected to the routers SoC, NOT the internal switch.  Other routers have one ethernet port into the switch and the WAN port is just another switch port using VLANs to isolate it from the LAN (this limits the WAN speed as traffic goes across this port twice, once coming in from the WAN and again when its sent to the LAN) and the third type have two ethernet ports into the switch to avoid the previous issue.

 

So basically a router (unless its insanely old) should be considered a router and a switch.

ASUS B650E-F GAMING WIFI + R7 7800X3D + 2x Corsair Vengeance 32GB DDR5-6000 CL30-36-36-76  + ASUS RTX 4090 TUF Gaming OC

Router:  Intel N100 (pfSense) Backup: GL.iNet GL-X3000/ Spitz AX Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz) WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz)
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~1200Mbit down, 115Mbit up, variable)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

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

×