Computer Hardware Switch VS Router

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Switch VS Router gecko 07-01-08
---> Re: Switch VS Router Marcel Overweel07-01-08
Posted by gecko on July 1, 2008, 8:26 am
Please log in for more thread options
In simple terms, what is the difference between a switch and a router.
What does one do that the other does not?

Thanks
-GECKO

Posted by Marcel Overweel on July 1, 2008, 9:04 am
Please log in for more thread options

> In simple terms, what is the difference between a switch and a router.
> What does one do that the other does not?
>
> Thanks
> -GECKO

Simply said:

To be complete, I will also explain a hub:
A hub is dumb, it transmits every incoming packet to every other
output. All pc's connected to this hub will recieve the packet and
the pc's themself have to decide if it should process the packet or
just drop it (and that is a waste of network capacity).

A switch knows which port is connected to which pc so incoming
packets are send to the correct output instead of all outputs so
there is no need for the other pc's to check (and discard) the
packet.

A router is a much more complicated device. It channels incoming
packets just like a switch but it can also change its destination
according to the protocol and/or tcp/udp port numbers.

If you simply want to connect several network devices like pc's
and printers: a switch will suffice. Every device has a known ip
address and communication is fairly simple.

If you need to send incoming data to one or more pc's, for instance
when you have one ore more web and/or ftp servers sharing one
internet connection, you need a router. Data from the outside
(internet) is coming in on your router's external IP address (WAN)
and the router needs to decide which pc on the local network (LAN)
should get the data.


hope this helps.

regards,
Marcel



Posted by gecko on July 1, 2008, 10:02 am
Please log in for more thread options
On Tue, 1 Jul 2008 15:04:46 +0200, "Marcel Overweel"

>To be complete, I will also explain a hub:
>A hub is dumb, it transmits every incoming packet to every other
>output. All pc's connected to this hub will recieve the packet and
>the pc's themself have to decide if it should process the packet or
>just drop it (and that is a waste of network capacity).
>
>A switch knows which port is connected to which pc so incoming
>packets are send to the correct output instead of all outputs so
>there is no need for the other pc's to check (and discard) the
>packet.
>
>A router is a much more complicated device. It channels incoming
>packets just like a switch but it can also change its destination
>according to the protocol and/or tcp/udp port numbers.
>
>If you simply want to connect several network devices like pc's
>and printers: a switch will suffice. Every device has a known ip
>address and communication is fairly simple.
>
>If you need to send incoming data to one or more pc's, for instance
>when you have one ore more web and/or ftp servers sharing one
>internet connection, you need a router. Data from the outside
>(internet) is coming in on your router's external IP address (WAN)
>and the router needs to decide which pc on the local network (LAN)
>should get the data.
>
>
>hope this helps.
>
>regards,
>Marcel
>


I have a simple LAN with 4 computers, any and all of which need to
access weblinks and webmails whenever the user decides to do so.
Each computer also needs access to the files/folders on all other
computers on the LAN using 'file sharing'. One computer has a USB
printer connected to it which might be printed to from any of the
other 3 computers, using 'printer sharing'. I have a new network
printer (HP 7280 AIO) which will printed to from any of the 4
computers.

I have been told to get a router. From what I read, including your
reply, I think a switch will do. Is that so? I really don't care
which one I get, a switch or a router, unless one is cheaper than the
other, but I want to get it right.

Thanks
-GECKO

Posted by Pen on July 1, 2008, 10:13 am
Please log in for more thread options
gecko wrote:
> On Tue, 1 Jul 2008 15:04:46 +0200, "Marcel Overweel"
>
>> To be complete, I will also explain a hub:
>> A hub is dumb, it transmits every incoming packet to every other
>> output. All pc's connected to this hub will recieve the packet and
>> the pc's themself have to decide if it should process the packet or
>> just drop it (and that is a waste of network capacity).
>>
>> A switch knows which port is connected to which pc so incoming
>> packets are send to the correct output instead of all outputs so
>> there is no need for the other pc's to check (and discard) the
>> packet.
>>
>> A router is a much more complicated device. It channels incoming
>> packets just like a switch but it can also change its destination
>> according to the protocol and/or tcp/udp port numbers.
>>
>> If you simply want to connect several network devices like pc's
>> and printers: a switch will suffice. Every device has a known ip
>> address and communication is fairly simple.
>>
>> If you need to send incoming data to one or more pc's, for instance
>> when you have one ore more web and/or ftp servers sharing one
>> internet connection, you need a router. Data from the outside
>> (internet) is coming in on your router's external IP address (WAN)
>> and the router needs to decide which pc on the local network (LAN)
>> should get the data.
>>
>>
>> hope this helps.
>>
>> regards,
>> Marcel
>>
>
>
> I have a simple LAN with 4 computers, any and all of which need to
> access weblinks and webmails whenever the user decides to do so.
> Each computer also needs access to the files/folders on all other
> computers on the LAN using 'file sharing'. One computer has a USB
> printer connected to it which might be printed to from any of the
> other 3 computers, using 'printer sharing'. I have a new network
> printer (HP 7280 AIO) which will printed to from any of the 4
> computers.
>
> I have been told to get a router. From what I read, including your
> reply, I think a switch will do. Is that so? I really don't care
> which one I get, a switch or a router, unless one is cheaper than the
> other, but I want to get it right.
>
> Thanks
> -GECKO
If accessing weblinks means you need internet access, then you
absolutely need a router.

Posted by Pen on July 1, 2008, 10:23 am
Please log in for more thread options
gecko wrote:
> On Tue, 1 Jul 2008 15:04:46 +0200, "Marcel Overweel"
>
>> To be complete, I will also explain a hub:
>> A hub is dumb, it transmits every incoming packet to every other
>> output. All pc's connected to this hub will recieve the packet and
>> the pc's themself have to decide if it should process the packet or
>> just drop it (and that is a waste of network capacity).
>>
>> A switch knows which port is connected to which pc so incoming
>> packets are send to the correct output instead of all outputs so
>> there is no need for the other pc's to check (and discard) the
>> packet.
>>
>> A router is a much more complicated device. It channels incoming
>> packets just like a switch but it can also change its destination
>> according to the protocol and/or tcp/udp port numbers.
>>
>> If you simply want to connect several network devices like pc's
>> and printers: a switch will suffice. Every device has a known ip
>> address and communication is fairly simple.
>>
>> If you need to send incoming data to one or more pc's, for instance
>> when you have one ore more web and/or ftp servers sharing one
>> internet connection, you need a router. Data from the outside
>> (internet) is coming in on your router's external IP address (WAN)
>> and the router needs to decide which pc on the local network (LAN)
>> should get the data.
>>
>>
>> hope this helps.
>>
>> regards,
>> Marcel
>>
>
>
> I have a simple LAN with 4 computers, any and all of which need to
> access weblinks and webmails whenever the user decides to do so.
> Each computer also needs access to the files/folders on all other
> computers on the LAN using 'file sharing'. One computer has a USB
> printer connected to it which might be printed to from any of the
> other 3 computers, using 'printer sharing'. I have a new network
> printer (HP 7280 AIO) which will printed to from any of the 4
> computers.
>
> I have been told to get a router. From what I read, including your
> reply, I think a switch will do. Is that so? I really don't care
> which one I get, a switch or a router, unless one is cheaper than the
> other, but I want to get it right.
>
> Thanks
> -GECKO
Incidentally why are you repeating your questions from January? You
throughly hashed this all out then.

Similar ThreadsPosted
Switch vs Router? January 28, 2008, 7:31 pm
Switch VS Router July 1, 2008, 8:26 am
Need Help With Modem-Router-Switch September 26, 2007, 11:28 am
Wirless/router/switch.... not managed by web access on Netrwork PC August 3, 2005, 7:49 pm
Wireless Broadband Router as a Switch / Access Point August 27, 2007, 12:18 am
Looking for Router/Switch to Share Internet Connection/Network Computers February 22, 2006, 11:18 am
ADSL router vs Cable router January 14, 2008, 8:28 am
Need help - Linksys Etherfast Cable/DSL Router and a Linksys Broadband Router March 30, 2008, 12:51 pm
Router and Hub? October 1, 2005, 2:35 am
Router "not available" December 22, 2005, 2:14 am
Hub or Switch? June 17, 2005, 11:24 am
KVM Switch Help November 14, 2005, 9:22 pm
2 x 2 I/O Switch January 26, 2006, 4:38 pm
KVM switch for DVI April 3, 2006, 2:51 am
What to look for in a KVM switch? July 13, 2006, 7:33 am