|
|
#1 |
|
User Title
Join Date: Sep 2009
Posts: 540
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Routers and switches
Hi. I'll start by saying I have a lot to learn about networking
![]() So I want to have the capability to transfer files between two computers as quickly as possible. My modem/router is only 100Mb and it is in a different room so I'd like to avoid running two cables to it if possible. I have one Ethernet cable connected to my PC. So I was thinking, would it be possible to connect that cable to a switch, then connect the other machine to the switch and be able to receive internet from the modem/router and also transfer files between the two PC's via the switch? I have tried to make a diagram of what I mean below. ![]() If the above configuration is possible, could I transfer at gigabit speeds between the two machines, and still get internet as normal? Thanks |
|
|
|
|
|
#2 |
|
Was that a warranty I just broke?
Join Date: Oct 2011
Location: Northampton
Posts: 1,305
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
That's how I have my network set up (well, not quite - I also have a hub between the switch and PCs).
Yes, you will be able to transfer between computers and use the internet at the same time. The maximum TOTAL transfer speed is the speed of the switch (so you could, for example, have 990 Mb transferring between the PCs and 10Mb off the internet). It is likely that you will get full internet speeds, with PC to PC transfers being reduced by whatever the speed of your internet is. |
|
|
|
|
|
#3 |
|
User Title
Join Date: Sep 2009
Posts: 540
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Perfect, thanks
|
|
|
|
|
|
#4 |
|
Multimodder
Join Date: Jan 2012
Location: London, England
Posts: 168
![]() |
dont be suprised if you dont max out the potential speed of gigabit connections. i often find that transfer speeds average out at about 90MB/s
__________________
Case > Fractal Define R3 CPU > Intel Core i7 3.4Ghz 2600K@ 4.6Ghz PSU > Corsair 850HX Motherboard > Asus P8Z68-V PRO GEN3 RAM > 16GB Corsair Vengeance Cooler > Antec Kuhler 920 SSD > 240GB Samsung 830 GPU > GeForce GTX560 Screens > Dell 3008WFP@2560x1600, HP 2210i@1920x1080 |
|
|
|
|
|
#5 |
|
User Title
Join Date: Sep 2009
Posts: 540
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I hear you jamesn, I could live with 90MB/s though, it's probably ten times what I'm getting at the moment.
|
|
|
|
|
|
#6 |
|
How many wifi's does it have?
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,555
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I have similar setup. In my case, I disabled the router of my modem/router combo unit as, like all combo units, the router usually is total crap. And use my own router.
So modem -> router, and computers (and wireless computer/device) all connects to my router.
__________________
Nv GPU Pro - Automate your graphic card overclock base on what you run, reduce power and noise. Designed for Laptops and Desktops. Filled with features. Core i7 930 2.8GHz | G.Skill Pi 6GB 1600MHz 7-5-7-24 1.5V | Gigabyte GA-X58A-UD5 | GeForce GTX 260 | W.D Caviar Black 1TB | Corsair AX750 | Noctua NH-U12P | Xonar Essence STX | Win8 Pro 64-bit | Dell U2410 - 1920x1200 | OCZ Vertex 4 250GB |
|
|
|
|
|
#7 |
|
User Title
Join Date: Sep 2009
Posts: 540
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Yeah, my modem/router is a crappy one provided by my ISP. Some day I plan on upgrading to a separate modem and router setup, or at least a better quality combo. Thanks for the input.
|
|
|
|
|
|
#8 |
|
Modder
Join Date: May 2010
Posts: 53
![]() |
Just so you know that when host A sends frames to host B the router will not get involved at all with the transfer as both hosts are on the same network segment.
To get the best speed you need to ensure that you are using 1gbps full duplex NICs in both hosts and that you are running at least category 5e straight through cable between the hosts and the switch. So theoretically you can run at 1000mbps transmit and receive, but realistically its a lot less.
__________________
Case: Fractal Design Define R2 Black Pearl, CPU: Intel i7 930 @ 4.2Ghz, Cooler: Corsair H70, Motherboard: Gigabyte GA-X58A-UD3R Rev 1.0, Memory: OCZ 6GB DDR3 1600MHz/PC3-12800 Reaper CL7, GPU: Nvidia Zotac GTX 480, Storage: Crucial RealSSD C300 128GB + 2x Samsung Spinpoint F3s, PSU: 750w, Sound Card: PCI Express X-Fi Xtreme Audio, Screen:ACER GD245HQ With Nvidia 3D Vision, Mouse: R.A.T 3 Gaming Mouse, Keyboard: Microsoft SideWinder X4, Speakers: Logitech 5.1 Sound System |
|
|
|
|
|
#9 |
|
Just me!
Join Date: May 2009
Location: U.S.A.
Posts: 398
![]() ![]() |
The router coordinates traffic, but once set up, the switch handles the flow.
As for speeds, it depends on drivers, hardware and the method of transport. The theoretical limit of gigabit is around 125MB (bit vs byte)or so, but very few get above 100MB in my experience (I can manage 114 on large files, but average closer to 80), if you think that is bad, some small NAS boxes transfer at a max of 40MB.
__________________
When in doubt, wear red. - Bill Blass Itty Bitty File Server (mini-itx cube) - 8in alum/oak cube, 2TB, 25watts, 100% silent Desktop - 2600k@4.2, Maximus IV Gene-Z/Gen3, 16gb Corsair DDR3-1600, XFX 6870 1GB, 2x Crucial 128 M4, PcP&C 750 Silencer, Fractal 1000, dual HP 25in, Das w/browns, G700 |
|
|
|
|
|
#10 | |
|
Modder
Join Date: May 2010
Posts: 53
![]() |
Quote:
1. Host A will use ARP to get the MAC for Host B, 2. Host A will transmit its segments to the port on the switch 3. the switch will then lookup its MAC table and see if the source address is in there, if not it will add it as well as the port number. 4. the switch will then look up the destination address in its MAC table, if it don't find it then it floods the frame out every port except the one it received it on, if it does find it will forward the frame out the port host b is on. so as you see the router is not involved in this process.
__________________
Case: Fractal Design Define R2 Black Pearl, CPU: Intel i7 930 @ 4.2Ghz, Cooler: Corsair H70, Motherboard: Gigabyte GA-X58A-UD3R Rev 1.0, Memory: OCZ 6GB DDR3 1600MHz/PC3-12800 Reaper CL7, GPU: Nvidia Zotac GTX 480, Storage: Crucial RealSSD C300 128GB + 2x Samsung Spinpoint F3s, PSU: 750w, Sound Card: PCI Express X-Fi Xtreme Audio, Screen:ACER GD245HQ With Nvidia 3D Vision, Mouse: R.A.T 3 Gaming Mouse, Keyboard: Microsoft SideWinder X4, Speakers: Logitech 5.1 Sound System |
|
|
|
|
|
|
#11 | |
|
Just me!
Join Date: May 2009
Location: U.S.A.
Posts: 398
![]() ![]() |
Quote:
Yes, a switch will take over, but the router still has to deal with initial addressing, unless you are running on static IP's, which is something most home users are not doing.
__________________
When in doubt, wear red. - Bill Blass Itty Bitty File Server (mini-itx cube) - 8in alum/oak cube, 2TB, 25watts, 100% silent Desktop - 2600k@4.2, Maximus IV Gene-Z/Gen3, 16gb Corsair DDR3-1600, XFX 6870 1GB, 2x Crucial 128 M4, PcP&C 750 Silencer, Fractal 1000, dual HP 25in, Das w/browns, G700 |
|
|
|
|
|
|
#12 | |
|
Modder
Join Date: May 2010
Posts: 53
![]() |
Quote:
DNS is only used when the host needs to resolve a name to an IP address, in this case you may get an initial request of Host B's IP when the computer starts up and then this information is then retained on Host A's arp table until it times-out.
__________________
Case: Fractal Design Define R2 Black Pearl, CPU: Intel i7 930 @ 4.2Ghz, Cooler: Corsair H70, Motherboard: Gigabyte GA-X58A-UD3R Rev 1.0, Memory: OCZ 6GB DDR3 1600MHz/PC3-12800 Reaper CL7, GPU: Nvidia Zotac GTX 480, Storage: Crucial RealSSD C300 128GB + 2x Samsung Spinpoint F3s, PSU: 750w, Sound Card: PCI Express X-Fi Xtreme Audio, Screen:ACER GD245HQ With Nvidia 3D Vision, Mouse: R.A.T 3 Gaming Mouse, Keyboard: Microsoft SideWinder X4, Speakers: Logitech 5.1 Sound System |
|
|
|
|
|
|
#13 |
|
I *am* a Dremel
Join Date: Apr 2009
Location: Belfast
Posts: 1,778
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CAT 6 is so cheap these days there is no reason to buy Cat 5e.
Ebuyer has good prices on long lengths of CAT cables.
__________________
PC: Silverstone TJ08B-E, 2500K, Corsair H80, 120GBVertex 3 MAX IOPS,GENE-Z , Corsair V. LP 16GB, Gigabyte 1.5GB GTX 580 Super Overclock. U2711 PC Audio: AKG 271 mk II + Samson Go mic. + Asus Xonar D2X Amp: DENON PMA510AE, Speakers: TANNOY MERCURY F1 |
|
|
|
|
|
#14 |
|
User Title
Join Date: Sep 2009
Posts: 540
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks everyone
I'll probably run CAT5e from the router to the switch (because that's what I have in place already), and then run CAT6 from the switch to each PC. |
|
|
|
|
|
#15 |
|
I *am* a Dremel
Join Date: Apr 2009
Location: Belfast
Posts: 1,778
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
That would be fine the shorter the distance the less of a difference there is between CAT 5e and 6
__________________
PC: Silverstone TJ08B-E, 2500K, Corsair H80, 120GBVertex 3 MAX IOPS,GENE-Z , Corsair V. LP 16GB, Gigabyte 1.5GB GTX 580 Super Overclock. U2711 PC Audio: AKG 271 mk II + Samson Go mic. + Asus Xonar D2X Amp: DENON PMA510AE, Speakers: TANNOY MERCURY F1 |
|
|
|
|
|
#16 |
|
Just me!
Join Date: May 2009
Location: U.S.A.
Posts: 398
![]() ![]() |
Exactly what I was getting at.
__________________
When in doubt, wear red. - Bill Blass Itty Bitty File Server (mini-itx cube) - 8in alum/oak cube, 2TB, 25watts, 100% silent Desktop - 2600k@4.2, Maximus IV Gene-Z/Gen3, 16gb Corsair DDR3-1600, XFX 6870 1GB, 2x Crucial 128 M4, PcP&C 750 Silencer, Fractal 1000, dual HP 25in, Das w/browns, G700 |
|
|
|
![]() |
| Thread Tools | |
|
|