basic: what is switch, router..and hub

  • Thread starter Thread starter Systemrecovery
  • Start date Start date
S

Systemrecovery

anyone mind sharing their thoughts...

i have an idea...but cannot figure how they do the same thing (i think)
but have different names...

Thanks.
 
A Hub is an ethernet device (layer-2) that receives packets on any port,
then broadcasts the received packet to all oher ports.

A switch is also a layer-2 device, but is smarter than a hub because it
"learns" which ethernet addresses (MAC addresses) can be reached on each
port. Once it learns this, instead of broadcasting every received packet to
every other port, it forwards it only to the port where that MAC address is
connected.

A Router is a layer-3 device which receives IP encapsulated packets (might
be Ethernet, ATM, or other layer-2 protocol packets that deliver the IP
packet) and routes them based on the destination IP address. Hubs and
switches are dedicated ethernet devices, routers can exchange IP (layer-3)
packets between various layer-2 protocols. Consider your own SOHO Internet
router, if it's DSL it's routing packets between an ethernet interface on
your LAN side and an ATM interface on the phone side.
 
Kurt said:
A Hub is an ethernet device (layer-2) that receives packets on any port,
then broadcasts the received packet to all oher ports.

A switch is also a layer-2 device, but is smarter than a hub because it
"learns" which ethernet addresses (MAC addresses) can be reached on each
port. Once it learns this, instead of broadcasting every received packet to
every other port, it forwards it only to the port where that MAC address is
connected.

A Router is a layer-3 device which receives IP encapsulated packets (might
be Ethernet, ATM, or other layer-2 protocol packets that deliver the IP
packet) and routes them based on the destination IP address. Hubs and
switches are dedicated ethernet devices, routers can exchange IP (layer-3)
packets between various layer-2 protocols. Consider your own SOHO Internet
router, if it's DSL it's routing packets between an ethernet interface on
your LAN side and an ATM interface on the phone side.

Thanks Kurt, I did order a switch...to solve my little mulithome
config.
you know...it does matter which card is connected to which card..even
though they are all ethernet cards...as I say, Im patient. I have 5
nics all on the internet now..
thanks to you and another gentlemen.

So when my switch gets here..will the 5 port switch assign an ip to
each nic?

Thanks again.

oh, i did find a site that has a free tutorial for cisco networking.
it's flash, i got 40% on the pretest...im going back there, when I get
a few minutes to focus.
 
abicBAdNeGro said:
Thanks Kurt, I did order a switch...to solve my little mulithome
config.
you know...it does matter which card is connected to which card..even
though they are all ethernet cards...as I say, Im patient. I have 5
nics all on the internet now..
thanks to you and another gentlemen.

So when my switch gets here..will the 5 port switch assign an ip to
each nic?

No. A switch does not assign ip-addresses. You need a router to do that.
 
Back
Top