Univ. of Brawijaya Change the World

Informatics Students Blog of Brawijaya University

What Is The Function Of Router?

A router is specialized computer connected to more than one network. A router runssoftware that allows the device to move data from one network to another. Routers operate at the network layer (OSI Model’s layer 3). The primary function of a router is to connect networks together and keep certain kinds of broadcast traffic under control. There are several companies that make routers: Cisco (Linksys), Juniper, Nortel (Bay Networks), Redback, Lucent, 3Com, and HP just to name a few.

Why do I need a Router?

Routers used in networks perform the following functions:

  • Restrict network broadcasts to the LAN
  • Act as the default gateway.
  • Move data between networks
  • Learn and advertise loop free paths
  • Restrict Broadcasts to the Local LAN

Networks (especially Ethernet networks) use broadcast communication at the datalinkand network layer. Network layer broadcasts are transmissions sent to all hosts using the network layer protocol (usually Internet Protocol [IP] or IPX). Network broadcastcommunication is used to communicate certain kinds of information that makes thenetwork function (ARP, RARP, DHCP, IPX-SAP broadcasts etc.). Since several devices could attempt to transmit simultaneously and cause collisions, it is preferable to separate large sets of hosts into different broadcast domains using a switch, or router.

As the number of hosts on the network increases, the amount of broadcast traffic increases. If enough broadcast traffic is present on the network, then ordinary communication across the network becomes difficult.

To reduce broadcasts, a network administrator can break up a network with a large number of hosts into two smaller networks. Broadcasts are then restricted to each network, and the router performs as the ‘default gateway’ to reach the hosts on the other networks.

Act as the Default Gateway

Especially in today’s networks, people are connecting to the Internet. When yourcomputer wants to talk to a computer on another network, it does so by sending your data to the default gateway (your local router). The router receives your data, looks for the remote address of that far-off computer makes a routing decision and forwards your data out a different interface that is closer to that remote computer. There could be several routers between you and the remote computer, so several routers will take part in handing off the packet, much like a fireman’s bucket brigade.

A router can take in an Ethernet frame, strip the ethernet data off, and then drop theIP data into a frame of another type. In this way a router can also perform ‘protocol conversion’, provided it has the appropriate hardware and software to support such a function. The whole point, however, is to forward the data from the interface it receives data on, to another interface that retransmits the received data onto another interface serving another network.

Move Data between Networks

Routers have the capability to move data from one network to another. This allows two networks managed by different organizations to exchange data. They create anetwork between them and exchange data between the routers on that network. Because a router can accept traffic from any kind of network it is attached to, and forward it to any other network, it can also allow networks that could not normally communicate with each other to exchange data. In technical terms, a token ringnetwork and an ethernet network can communicate over a serial network. Routers make all this possible.

Learn and Advertise Loop-Free Paths

Over time, routing protocols (RIP, OSPF, IS-IS, IGRP, EIGRP, BGP) have been invented so that very large network systems with lots of sub-networks can automatically learn where the various networks are tell other routers and move data between them automatically. This is how data makes it across the Internet.

DO I REALLY NEED A ROUTER?

If you have a small network, with few hosts, you probably don’t need a router unless you are connecting your network to another network. For example, the Internet is a very large network, so you would need a router (and a lot of other things) to connect your network to the Internet.

 

 

Both comments and pings are currently closed.