|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
Differences between Routers, Switches & Hubs
Hi folks,
Can someone explain to me the differences between Routers, Switches and Hubs? I've done some searching but can't really find a straight foward answer and I know I can always count on PCMECH (a little kissing up there)! Any explinations would be appreciated, Thanks, Stryker
__________________
Athlon XP 2800+ • Asus A7N8X (nVidia Nforce2) • Radeon 9600 Pro 256MB • 2x512MB KVR DDR PC3200 Dual Channel • 120GB Seagate 7200RPM 8MB • 160GB WD 7200RPM 8MB • Liteon DVD±RW DL • AOpen DVD±RW DL • Vantec Ion2 350W PSUSend me your picture for the Member Photo Gallery |
|
|
|
|
|
#2 |
|
Member (10 bit)
Premium Member
Join Date: Jul 1999
Location: Fairfax, Va
Posts: 995
|
Simply put, routers and switches keep a list of which connector leads to which IP address, and therefore do not have to broadcast to all connectors. hubs broadcast to all connectors. Hubs therefore, increase network traffic.
The diff between routers and switches is the level at which they work on the TCP/IP protocol.
__________________
After 40, its a matter of maintenance |
|
|
|
|
|
#3 |
|
I am, in reality, a moose
Staff
Premium Member
Join Date: Aug 1999
Location: RTP, NC
Posts: 2,439
|
hubs - early form of LAN connection. everyone sees all traffic from everyone. downside: lower performance as you must wait your turn to send.
switches - again a LAN connector. you only see traffic intended for you (identified by your unique MAC address), which really improves performance...you don't have to wait to send and other pc's are wasting cycles looking at and discarding data not meant for them routers - allows different networks (as ID'd by their IP addresses) to "see" and communicate with each other. without this device the internet would be a whole lot smaller than it is now. A common misconception: most switches are "layer 2" switches and they do not move (actually switch) traffic based on IP addresses. An L2 switch does not "unwrap" an ethernet frame far enough to access the IP address, the switch "opens" up the frame only far enough to view the destination MAC address. That address is then compared to the CAM table in the switch, which matches up MAC address to physical port. Now switches can be assigned IP addresses that is usually done to identify the switch as a unit for management purposes, a switch will work perfectly fine without an IP address. Now a "layer 3" (aka L3) switch, as it incorporates the key feature of a router (namely the ability to "see" and communicate with other IP networks), has the ability to unwrap an ethernet frame 1 step deeper than an L2 switch and makes its switching and routing decisions based upon both the MAC and IP address. The really cool part of the higher end L3 switches is that they are able to remember that a certain MAC address belongs to a certain IP subnet, so instead of having to "unwrap" every frame of a session it can remember the routing decision thereby giving a big boost in performance. but I digress. Last edited by mbossman2; 08-20-2004 at 12:22 PM. |
|
|
|
|
|
#4 |
|
Member (10 bit)
Join Date: Aug 2004
Location: Belgium
Posts: 873
|
Heheh, thanks for the info mbossman2. Is a L3 switch the same as a "managed switch" ? Oh, and you forgot one important practical consequence of the difference between hubs and (L2) switches (in fact THE most important difference) : if both have 10M/100M/1000M capabilities, on the hub all devices of the same speed will only see each other, while the switch will allow everyone to see each other, no matter what the speed. This is IMHO the most important reason to take a switch over a hub. With a hub, you would have to set every device to the lowest speed denominator (often 10M) for them to all see each other, otherwise the 10M devices would see only each other, the 100M only the other ones with 100M and so...
Last edited by Mesaeus; 08-20-2004 at 07:50 PM. |
|
|
|
|
|
#5 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
Wow some great information here guys!
Thanks for the replies everyone. |
|
|
|
|
|
#6 | ||
|
I am, in reality, a moose
Staff
Premium Member
Join Date: Aug 1999
Location: RTP, NC
Posts: 2,439
|
Quote:
Quote:
Last edited by mbossman2; 08-21-2004 at 10:34 AM. |
||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|