The functioning of a router!
Today, the Internet is one of the best sources of information and a great communication medium as well. But very few know about the router, which is the primary medium through which all PCs are interconnected.
ALL of us download different files from
the Internet at our homes or workplace.
Be it web pages or files, the Internet has
proven to be a valuable source for almost
anything. But if it weren't for routers,
none of this would be made available to
us. Let's take a look at how this amazing
device makes it possible to interconnect
computers and share data as well.
WHAT IS A ROUTER?
A router is a device that acts as a medium
for interconnecting several PCs. If a PC
named compA wants to send data to
compB, the router will choose the best
path within the network and send data.
This is one of the main advantages of
using a router to connect several PCs since
other devices like hubs simply accept data
from a PC and broadcast it to all machines
on the network.
Routers basically operate in two
planes, one of which is the Control plane
where the router grasps the outgoing
interface to determine how to forward a
packet to a destination. Nowadays Wi-Fi
routers are used to avoid cabling issues.
WHAT DOES IT
Routers contain an
operating system, RAM,
NVRAM and flash memory.
For parallel processing,
some high-end routers also
integrated circuits and
multiple processors. Other
high-end routers even
include multiple ASICs to
allow connectivity of LAN,
MAN, WAN or different connections.
Considering a scenario where less
terminals would be connected and traffic
would be less, a simple router can be used
to cut down expenditure. For a much
cheaper option, use of software like XORP
or Quagga, you can turn an ordinary PC
into a router.
HOW DOES IT WORK?
The router is known as an intelligent
switch since it's the only device that
monitors packets sent from PC to PC on
the same network and selects the best
path for transferring data.
For example, if compA sends a file to
compB, the router takes note of compA's
address and vice versa. All addresses are
stored in a table known as the routing
table. This table also stores information
such as connection priority and rules
for handling traffic. Thus the router
ensures that a packet reaches its proper
Another job of a router is that it joins
two networks and performs translations
of various protocols between the
networks. It also makes sure that packets
from one network are not sent across another network.
As more and more PCs are attached to the router,
it immediately saves their address into its routing table.
This is done only once for each PC.
For costs saving purposes, multiple PCs
can be connected to a single switch and
thereafter the switch can be connected to
a router using straight cables.
More by this Author
Sharks don't usually attack humans. We are not their natural prey. We get attacked because we resemble some of their prey and the shark makes a mistake in murky waters. For example we look a lot like a seal swimming in...
These are the world's most dangerous, deadly snakes for humans: Find out about the habits of each snake, where they live, and how to avoid them.
Any of these animals can be the number 1 toxic on earth as it's very hard to judge them. They all contain different toxic chemicals which can kill a human in minutes. So i have rated them based on how much dangerous...
No comments yet.