bit-tech.net

Go Back   bit-tech.net Forums > Technology > Hardware

Reply
 
Thread Tools
Old 4th Feb 2012, 17:12   #1
Zener Diode
User Title
 
Join Date: Sep 2009
Posts: 540
Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!
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
Zener Diode is offline   Reply With Quote
Old 4th Feb 2012, 17:22   #2
debs3759
Was that a warranty I just broke?
 
debs3759's Avatar
 
Join Date: Oct 2011
Location: Northampton
Posts: 1,305
debs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpitdebs3759 is almost as Godly as yodasarmpit
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.
debs3759 is offline   Reply With Quote
Old 4th Feb 2012, 17:25   #3
Zener Diode
User Title
 
Join Date: Sep 2009
Posts: 540
Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!
Perfect, thanks
Zener Diode is offline   Reply With Quote
Old 4th Feb 2012, 17:41   #4
jamesn
Multimodder
 
jamesn's Avatar
 
Join Date: Jan 2012
Location: London, England
Posts: 168
jamesn has yet to learn the way of the Dremel
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
jamesn is offline   Reply With Quote
Old 4th Feb 2012, 17:49   #5
Zener Diode
User Title
 
Join Date: Sep 2009
Posts: 540
Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!
I hear you jamesn, I could live with 90MB/s though, it's probably ten times what I'm getting at the moment.
Zener Diode is offline   Reply With Quote
Old 4th Feb 2012, 17:53   #6
GoodBytes
How many wifi's does it have?
 
GoodBytes's Avatar
 
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,555
GoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpitGoodBytes is almost as Godly as yodasarmpit
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
GoodBytes is offline   Reply With Quote
Old 4th Feb 2012, 18:01   #7
Zener Diode
User Title
 
Join Date: Sep 2009
Posts: 540
Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!
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.
Zener Diode is offline   Reply With Quote
Old 5th Feb 2012, 04:23   #8
stevenrlp
Modder
 
Join Date: May 2010
Posts: 53
stevenrlp has yet to learn the way of the Dremel
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
stevenrlp is offline   Reply With Quote
Old 5th Feb 2012, 04:40   #9
leslie
Just me!
 
leslie's Avatar
 
Join Date: May 2009
Location: U.S.A.
Posts: 398
leslie has yet to learn the way of the Dremelleslie has yet to learn the way of the Dremel
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
leslie is offline   Reply With Quote
Old 5th Feb 2012, 05:05   #10
stevenrlp
Modder
 
Join Date: May 2010
Posts: 53
stevenrlp has yet to learn the way of the Dremel
Quote:
Originally Posted by leslie View Post
The router coordinates traffic, but once set up, the switch handles the flow.
Sorry dude that's wrong, when two devices are on the same network segment then there is no need for a layer 3 device to get involved.

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
stevenrlp is offline   Reply With Quote
Old 5th Feb 2012, 06:42   #11
leslie
Just me!
 
leslie's Avatar
 
Join Date: May 2009
Location: U.S.A.
Posts: 398
leslie has yet to learn the way of the Dremelleslie has yet to learn the way of the Dremel
Quote:
Originally Posted by stevenrlp View Post
Sorry dude that's wrong, when two devices are on the same network segment then there is no need for a layer 3 device to get involved.

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.
So set up two dhcp computers to only switch and see what happens.

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
leslie is offline   Reply With Quote
Old 5th Feb 2012, 09:09   #12
stevenrlp
Modder
 
Join Date: May 2010
Posts: 53
stevenrlp has yet to learn the way of the Dremel
Quote:
Originally Posted by leslie View Post
So set up two dhcp computers to only switch and see what happens.

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.
Yes the router is responsible for DHCP and forwarding DNS requests but in this situation we are discussing they are not used. DHCP is used when the hosts are first turned on as they go through broadcasting and uni-casting their dhcpdiscover, offer, request, acknowledgement messages, once they have their information they do not need to communicate until the lease has expired.

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
stevenrlp is offline   Reply With Quote
Old 5th Feb 2012, 11:59   #13
MSHunter
I *am* a Dremel
 
Join Date: Apr 2009
Location: Belfast
Posts: 1,778
MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!
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
MSHunter is offline   Reply With Quote
Old 5th Feb 2012, 13:03   #14
Zener Diode
User Title
 
Join Date: Sep 2009
Posts: 540
Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!Zener Diode - it's over 9000!!!!!!!!1!1!1!!!
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.
Zener Diode is offline   Reply With Quote
Old 5th Feb 2012, 13:05   #15
MSHunter
I *am* a Dremel
 
Join Date: Apr 2009
Location: Belfast
Posts: 1,778
MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!MSHunter - it's over 9000!!!!!!!!1!1!1!!!
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
MSHunter is offline   Reply With Quote
Old 5th Feb 2012, 21:26   #16
leslie
Just me!
 
leslie's Avatar
 
Join Date: May 2009
Location: U.S.A.
Posts: 398
leslie has yet to learn the way of the Dremelleslie has yet to learn the way of the Dremel
Quote:
Originally Posted by stevenrlp View Post
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.
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
leslie is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:10.
Powered by: vBulletin Version 3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.