G
gecko
In simple terms, what is the difference between a switch and a router.
What does one do that the other does not?
Thanks
-GECKO
What does one do that the other does not?
Thanks
-GECKO
gecko said:In simple terms, what is the difference between a switch and a router.
What does one do that the other does not?
Thanks
-GECKO
gecko said:In simple terms, what is the difference between a switch and a router.
What does one do that the other does not?
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
Incidentally why are you repeating your questions from January? You
throughly hashed this all out then.
gecko said: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
kony said:In practical terms, a router is desired to connect systems
to the internet because it acts as the "computer" host for
the modem used to connect to the internet and as a gateway
for the other systems to all use the same internet account.
It is further desirable because it adds an addt'l layer of
security over having one "PC" running windows as the host
for the modem which would make that PC's ports directly
accessible to anyone on the internet.
A typical consumer grade router also has a switch built in,
you can see this is true if it has more than one LAN port in
addition to the WAN port.
Some modems now have a router, some even a switch built in.
Some routers now have wifi built in, which is a good value
but if you don't use wifi then disable that feature if
present to improve security.
Only the modems with a router integral have (at least a minimal level
of) firewall and NAT, AFAIK.