Using a Switch to Boost Speeds

JacobvonChorus

Reputable
Aug 23, 2014
2
0
4,510
Hi,

I make heavy use of my local network but am being limited by my 10/100 router. Instead of upgrading to a gigabit router, it would be cheaper to get a gigabit switch and hook that up behind the router. What I am wondering is if I would benefit from these gigabit speeds when connecting to my server using a DNS record that points to my external IP, which my router then forwards to the server?

I know that if I specify a local ip then the switch should route that to the server directly, all at gigabit speeds. The way I have it set up though is using my domain names which point to my external IP, so I figure that the packet would have to go to my router, and then get routed to the server, bottlenecking the system.

Jacob
 
Solution
You are correct about the traffic flow. Normally the traffic would never go to the router to access local machines except in the one case you describe.

The solution to this is also the fix for routers that do not support hairpin..which is going up and down to the router on the same interface. You can put a entry in the local host file that maps to your internal IP address. This will let you use the domain name but it look it up in the host file rather than the dns server. It will then use the local ip to access the server.

USAFRet

Titan
Moderator
Network speeds depends on the speed of the slowest device in the chain. If your traffic is going through the 10/100 router at some point, that is all you will ever get.

If your traffic goes from PC to 10/100/1000 switch to server, then you will converse with the server at 1G speed. Once stuff goes through the 10/100 router.....there is the choke point.
 
You are correct about the traffic flow. Normally the traffic would never go to the router to access local machines except in the one case you describe.

The solution to this is also the fix for routers that do not support hairpin..which is going up and down to the router on the same interface. You can put a entry in the local host file that maps to your internal IP address. This will let you use the domain name but it look it up in the host file rather than the dns server. It will then use the local ip to access the server.
 
Solution

JacobvonChorus

Reputable
Aug 23, 2014
2
0
4,510
Thank you, there should be no addition overhead with an outside connection having to pass through both the router and the switch correct? Though considering the slowness of the WAN connection, I'm certain it wouldn't be an issue.
 

Kewlx25

Distinguished


You'd be surprised how many desktop switches that not only cannot support full 1gb/1gb on all ports at the same time, but of the switches that actually support enough bandwidth, they do not support enough packets per second and can only support full speeds on all ports if the packets are 1500bytes

Not that it matters, all that I've seen support enough to have several devices at once running full speed, which is way more than enough for 95% of home users.

Even some DLink high end $200+ professional switches cannot support full line rate on all ports for even switches as small as 16 ports. They seem to be the exception. Netgear, HP, Cisco, Juniper, etc all seem to exclusively sell line rate switches, at least for business.

Some switches for the really high end even support beyond line rate, which helps in some very special work loads that are highly sensitive to jitter.
 

Stop being a jerk. Sure there are switches that don't run at full line rate. Didn't I clearly tell him to look. I could say watch out a someone might illegally import a switch that will burn down your house because they do not have approved power supplies. This just confuses the end consumer level people who come to this forum. You are picking at details that just confuse people. Show me that MOST consumer switches do not run at line rate now days. Talking about exceptions just makes things confusing for people.

You should know very well I know all about this topic from reading my other posts. What do I have to do post huge disclaimers when I try to generalize to not confuse the non professional networking people....watch out kewlx is going to say that is not true because he found some exception.