What is a Router, Functions of a router

A router is a network infrastructure device that directs packets from one network to another network based on information from Network Layer (Layer 3) of OSI model. A router uses a combination of hardware and software to "route" data from the source network to destination network.

Before reading further, I strongly recommend you to read following lessons thoroughly and understand the core concepts of computer networking.

Types of network communication - Unicast, Multicast and Broadcast
Collision domain and broadcast domain
Seven Layers of OSI Model.
Comparison between TCP/IP and OSI
IP addresses, subnet mask, network addresses
MAC addresses

A network router is used to connect two or more networks having different network addresses. Network routers are used to divide a big network into multiple small networks. Network routers forward and receive data from one network to another network.

Routers segment large networks into logical segments called subnets. The division of the network is based on the Layer 3 addressing system. Dividing a big network (in other words, big broadcast domains) to smaller networks improves the performance of the network. Dividing a big network into smaller subnets is to create small broadcast domains.

As a network engineer, you should always remember the following important facts related with a router.

• If the Network Layer (Layer 3) Data packet (IP Datagram) originated from one computer is addressed to another device within the same local subnet, router will not forward that packet to another network. If data is addressed to a computer outside the subnet, the router will forward the data packet to the destination subnet.

• Only the IP datagram packets addressed to a computer located at another network will be forwarded from one subnet to another subnet by the router.

• Thus, routers act as the gateway of a subnet. Data from one network to another network (and vice versa) will always cross the router.

• To forward a layer 3 data packet from one subnet to another subnet, router must be configured with a path (or more paths) to reach the destination subnet.

Subnetting a big network into multiple subnets helps in reducing unwanted network traffic from one subnet to reach another subnet. Network traffic which are supposed to reach a device in the local network will not cross router and create unwanted congestion problems in another network. Thus routers and routing helps in conserving network bandwidth.

Click the following link to learn what is network segmentation and the benefits of segmenting a big network into smaller networks using a Router

The following picture shows a Cisco 4000 Series Integrated Services Router. For more details and technical specifications, please visit official Cisco product page for Cisco 4000 Series Integrated Services Routers.


Related Tutorials
Introduction to Computer Networking
Responsibilities of a network engineer
What is a Computer Network?
Why we need computer networks?
Different types devices used to create a computer network
Client Operating Systems and Network Operating Systems (NOS)
Common Network Application Software
Local Area Networks (LAN) and Wide Area Networks (WAN)
Campus Area Networks (CAN) and Metropolitan Area Network (MAN)
Logical Classification of Computer Networks - Peer to Peer Networks and Client/Server Networks
Logical Classification of Computer Networks - Centralized and Distributed Computer Network Models
Internetworks, Internet, Intranet and Extranet
What is a Network Protocol
Difference between Proprietary and Standard Protocols
What are RFCs (Request for Comments)
Organizations which control Internet, Network Protocols and Standards
What is network topology
Difference between physical topology and logical topology
Network Topologies - Bus Topology
Network Topologies - Star Topology
Network Topologies - Mesh, Ring and Hybrid Topologies
Network Topologies - Partial-Mesh Topology
Network Topologies - Full-Mesh Topology
Advantages and disadvantages of full-mesh topology
Network Topologies - Ring Topology
Network Topologies - Dual Ring Topology
Network Topologies - Hybrid Topology
Network Topologies - Tree Topology
Point-to-point Topology and Point-to-multipoint Topology
What are wireless networks? Advantages and disadvantages of wireless networks.
Ad hoc Wireless Topology
Infrastructure Wireless Topology
Wireless Mesh Topology
Network Infrastructure Devices and Icons
Network Infrastructure Devices - What is a Hub?
Network Infrastructure Devices - What are Bridges and Switches?
Network Infrastructure devices - What is a Firewall
Main office (Head Office) and Branch Office Networks
Site-to-Site Network Topologies - Hub and Spoke Toplogy
Site-to-Site Network Topologies - Partial-Mesh Toplogy
Site-to-Site Network Topologies - Full Mesh Topology
What is NIC (Network Interface Card)
Common Network Cable types
Differences between STP and UTP twisted pair cables
Twisted pair cable bandwidth and frequency range
Different types of shields used in STP (shielded twisted pair cable)
TIA/EIA 568A and TIA/EIA-568B standards
Straight-Through and Cross-Over cables
What is Auto-MDIX feature in ethernet switches
Difference between Baseband and Broadband
Network Access Methods - CSMA/CD, CSMA/CA and Token Passing
IEEE (Institute of Electrical and Electronics Engineers)
IEEE 802 Standards
IEEE 802.11 Standards
LAN Technologies - Ethernet
Ethernet Media Standards
100Base-TX Ethernet Media Standard
100Base-FX Ethernet Media Standard
4D-PAM5 encoding in Gigabit Ethernet
1000Base-T Ethernet Media Standard
1000Base-SX Ethernet Media Standard
1000Base-LX Ethernet Media Standard
10GBase-T 10 Gigabit Ethernet Media Standard
10GBase-SR 10 Gigabit Optical Fiber Ethernet Media Standard
Meaning of 10/100/1000 Ethernet
Twisted pair Cable categories for 1 Gigbit and 10 Gigabit networks
Broadband over Power Line (IEEE 1901-2010 standard)
What is Power over Ethernet (PoE)
What is PoE (Power over Ethernet) Switch
LAN Technologies - Token Ring
Advantages and disadvantages of Fiber optic cable
Structure of fiber optic cable (FOC)
Single Mode Fiber Optic Cable (SMF fiber cable)
Multimode Fiber Optic Cable (MMF fiber cable)
Different types of fiber optic cables
Fiber optic transceivers
Fiber optic connectors
LAN Technologies - Fibre Distributed Data Interface (FDDI)