Hubs, Switches and Routers

Moderator: The Mod Squad

Hubs, Switches and Routers

Postby Comp_parter » Mon Sep 13, 2004 6:45 pm

Ever wondered what's the difference between a Hub a switch and a router?

Here's the quick and dirty on it..

A hub is nothing more than a multi-port repeater, what this means is it gets signals in on
any given port cleans the signal up and sends it out all ports. It doesn't concern itself
with addressing it just recieves and retransmits signals. These old gentlemen of lan technology usually
operates at the 10/100 Mb range. A hub creates a shared media, meaning all users have accesss at the same
time, this introduces the oppurtunity for collisions, which is bad, bad, bad.. Another thing to note on
hubs is that they will only operate as fast as the slowest node connected to the hub.. If you have 4
computers hooked to a hub and they have 10/100 Mb cards and introduce a 5th pc with a 10 Mb card you just
turned your 100 Mb network into a 10 Mb network.. Son-ova, that's gonna leave a mark!!!

Hubs operate at the "Physical layer" of the OSI model..

A switch on the other hand concerns itself with mac addresses and builds MAC tables which allows for
virtual circuits.. When a switch is turned on for the 1st time it has to learn the mac addresses of all
the nodes that are connected to it, it stores these addresses in it's MAC table and uses this table for
forwarding frames. When a switch gets a frame that has an unrecognized mac address it stores in it's MAC
table, if a switch gets a frame with a destination address it does not recognize the it and sends it out
all ports until it finds the destination port and at that point it creates (siwtches on) the virtual circuit.
Each and every NIC has it's own unique MAC address, that is hard coded into the NIC.
A switch micro-segments your lan, which means makes it smaller, which means virtually no collisions which is
good, good, good. Gigabit switches are now on the market which is 10 to 100 times faster than a Hub network.

Switches operate at the "Data-link Layer" of the OSI model..

A Router performs the functions of a switch along with the added function of routing packets. A rotuer makes
it's routing decisions based on IP Addresses. This is where the Internet lives and breathes.. A router has
routing tables based on IP Addresses and gets periodic updates from neighboring routers. Compared to switches Routers
are slow, usually operating at the speed of WAN links. A full T1 is only 1.5 Mbps which when compared to the speed of
a fully switched lan operating a 100 Mbps or full duplex lan operating at 200 Mbps is pathectically slow..

Rotuers operate at the "Network layer" of the OSI model..

What is the OSI model?

The OSI(Open Systems Interconnect) Model is a collection of standards and protocols
that make it possible for different types of hardware and software to be able to communicate.
More on this later..
Comp_parter
Black Belt
Black Belt
 
Posts: 563
Joined: Mon Nov 19, 2001 1:01 am
Location: Troy, Ohio

Postby Copper » Wed Jan 04, 2006 4:24 pm

The OSI(Open Systems Interconnect) Model is a collection of standards and protocols
that make it possible for different types of hardware and software to be able to communicate.
More on this later..


anymore yet ?
Copper
Black Belt 5th Degree
Black Belt 5th Degree
 
Posts: 8634
Joined: Mon Jul 14, 2003 12:38 pm
Location: Midlands UK

Postby Comp_parter » Wed Feb 15, 2006 5:19 pm

I haven't posted here since, well

since king kong was a chimp....

I promised more on the OSI model and I will

deliver shortly.. This is a good time for me to bone up,

have to recertify for the CCNA by September..
Comp_parter
Black Belt
Black Belt
 
Posts: 563
Joined: Mon Nov 19, 2001 1:01 am
Location: Troy, Ohio

Postby Comp_parter » Fri Jun 29, 2007 12:04 am

I had promised an explanation of the OSI Model.

But in lieu of re-inventing the wheel I will put a link to the Wiki for the:

OSI Model

Cuts down on the internet clutter that way. :wink:
Comp_parter
Black Belt
Black Belt
 
Posts: 563
Joined: Mon Nov 19, 2001 1:01 am
Location: Troy, Ohio

Postby Comp_parter » Sat Jul 14, 2007 4:23 am

Hey, found this cool Wiki on TCP/IP.

This protocol stack is a big part of how the Internet works.

TCP/IP

Good stuff!!!
Comp_parter
Black Belt
Black Belt
 
Posts: 563
Joined: Mon Nov 19, 2001 1:01 am
Location: Troy, Ohio


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest