SlideShare a Scribd company logo
Router Internals
Dr. Ramana
I.I.T Rajasthan
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 1 / 8
Outline of the Lectures
1 Functions of a Router
2 Router Components
3 Packet Flow
4 Further Reading
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 2 / 8
Functions of a Router
Router functions
Basic forwarding functions
IP Header validation
Packet lifetime control
Checksum recalculation
Destination address lookup
Fragmentation
Handling IP options
Complex forwarding functions
Packet classification
Packet translation
Traffic prioritization
Routing processing functions
Handing routing updates
Sending routing updates
Router management (monitoring of various operations)
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 3 / 8
Functions of a Router
(Cont.)
Forwarding table
Optimized for lookup a destination IP address against set of IP
prefixes
Could be implemented in hardware as lookup needs to be done for
every packet
Routing table
Optimized for storing/updating network topology and calculating
changes in network topology
Implemented in software
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 4 / 8
Router Components
Router Components
Network interface - contains multiple ports which provide
connectivity to various physical links (implements L2/L3
processing)
Forwarding engine
does lookup and determine outgoing interface
packet classifying - to provide quality of services at the outgoing link
Queue manager
stores the packets in appropriate buffers at the outgoing port
implements policies for dropping packets due to buffer overflows
schedules packets depending on the packets priorities
Traffic manager
shapes outgoing traffic to meet service level agreements (SLAs)
traffic policing to check the voilation of SLAs by the received traffic
marking of traffic that has voilated the SLAs
Backplane - shared/switched circuit through which packets are
transfered between the incoming (ingress) and outgoing (egress)
ports
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 5 / 8
Packet Flow
Packet flow in a router
Input
Network
Interface
Forwarding
Engine
Buffer Buffer
Backplane
Queue
Manager
Traffic
Manager
Output
Network
Interface
Router
Control
Processor
Forwarding
Table
Routing
Table
1
2
3 4
5
6
7
8
9 10 11
Control plane
Data plane
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 6 / 8
Packet Flow
Packet processing: Fast path and slow path
Fast path (Data Path)
Packet processed and transfered from ingress to egress network
interfaces via backplane
To achieve high speeds, operations are implemented in customized
hardware
Time-critical operation
All basic and complex forwarding functions (except fragmentation
and handling IP options)
Slow path (Control path)
Packets partially processed at the ingress interface and forwarded
to CPU for further processing
CPU directly forwards the packets to egress interface once it
completes the processing
Non time-critical operation
Routing processing functions
Processing of data packets that lead to errors in the fast path and
generation of ICMP packets
Fragmentation and handling IP options and ARP packet processing
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 7 / 8
Further Reading
Further Reading
IP Router Architectures: An Overview -
http://www.cs.virginia.edu/˜cs757/papers/awey99.pdf
Study of Internet Router Architectures -
http://home.iitj.ac.in/˜ramana/Study-of-Internet-Router-
Architectures.pdf
Dr. Ramana ( I.I.T Rajasthan ) Router Internals 8 / 8

More Related Content

PPTX
Router fundamentals
PPTX
8. internal components of router
PPT
Ccna day2
PDF
PPT
PPT
PPT
PPT
Ccna day2
Router fundamentals
8. internal components of router
Ccna day2
Ccna day2

What's hot (20)

PPT
Day 13 2 switch config
PPT
16 control unit
DOCX
Basic about-router
PPTX
Lecture 39
PPT
chap 18 multicore computers
PPT
01 introduction
PPT
07 input output
PDF
27 multicore
PDF
Reliability, Availability and Serviceability on Linux
PPT
IT209 Cpu Structure Report
PPTX
Cisco ios overview
PDF
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
PPTX
What is Bootloader???
PPT
Installing driver
PPT
01 introduction
PPT
07 input output
PPT
PPT
05 internal memory
PPT
02 computer evolution and performance
PPTX
Computer Organization : CPU, Memory and I/O organization
Day 13 2 switch config
16 control unit
Basic about-router
Lecture 39
chap 18 multicore computers
01 introduction
07 input output
27 multicore
Reliability, Availability and Serviceability on Linux
IT209 Cpu Structure Report
Cisco ios overview
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
What is Bootloader???
Installing driver
01 introduction
07 input output
05 internal memory
02 computer evolution and performance
Computer Organization : CPU, Memory and I/O organization
Ad

Similar to Router internals (20)

PDF
22ISE52_COMPUTER NETWORKS _Module 1+.pdf
PPTX
Group_4_NC101_SettingTheRouterAndWirelessConfiguration.pptx
PPT
Unit i packet switching networks
PPTX
Review of Network switches and Routers- 2021.pptx
PDF
Wrou01
PDF
PPT
Chapter 4 v6.11
PDF
E rou01 routing_basics
PPTX
Chapter_4 of Computer Networking: A Top Down Approach 6th edition Jim Kurose,...
PPTX
TCP/IP protocol Chapter_4, Network layer
PPTX
Networking
PPTX
06.CS2005-NetworkLayer-2021_22(1) (1).pptx
PPTX
Lecture18Lecture18Lecture18Lecture18.pptx
PDF
Lecture14
PPT
Chapter4 Network
PPT
Chapter 4 - Computer Networking a top-down Approach 7th
PDF
Chapter_4_V6.11bvvbvbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.pdf
PDF
Lec 2(intoduction of computer networkes)
PDF
network layerrrrrrrrrrrrrrrrrrrrrrrrrrrr
PPTX
Lecture 4-Internetworking-Concepts (view-only).pptx
22ISE52_COMPUTER NETWORKS _Module 1+.pdf
Group_4_NC101_SettingTheRouterAndWirelessConfiguration.pptx
Unit i packet switching networks
Review of Network switches and Routers- 2021.pptx
Wrou01
Chapter 4 v6.11
E rou01 routing_basics
Chapter_4 of Computer Networking: A Top Down Approach 6th edition Jim Kurose,...
TCP/IP protocol Chapter_4, Network layer
Networking
06.CS2005-NetworkLayer-2021_22(1) (1).pptx
Lecture18Lecture18Lecture18Lecture18.pptx
Lecture14
Chapter4 Network
Chapter 4 - Computer Networking a top-down Approach 7th
Chapter_4_V6.11bvvbvbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.pdf
Lec 2(intoduction of computer networkes)
network layerrrrrrrrrrrrrrrrrrrrrrrrrrrr
Lecture 4-Internetworking-Concepts (view-only).pptx
Ad

Recently uploaded (20)

PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
OOP with Java - Java Introduction (Basics)
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Sustainable Sites - Green Building Construction
PPTX
Construction Project Organization Group 2.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Project quality management in manufacturing
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
composite construction of structures.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Welding lecture in detail for understanding
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
OOP with Java - Java Introduction (Basics)
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Sustainable Sites - Green Building Construction
Construction Project Organization Group 2.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Project quality management in manufacturing
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
composite construction of structures.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Internet of Things (IOT) - A guide to understanding
Foundation to blockchain - A guide to Blockchain Tech
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Welding lecture in detail for understanding

Router internals

  • 1. Router Internals Dr. Ramana I.I.T Rajasthan Dr. Ramana ( I.I.T Rajasthan ) Router Internals 1 / 8
  • 2. Outline of the Lectures 1 Functions of a Router 2 Router Components 3 Packet Flow 4 Further Reading Dr. Ramana ( I.I.T Rajasthan ) Router Internals 2 / 8
  • 3. Functions of a Router Router functions Basic forwarding functions IP Header validation Packet lifetime control Checksum recalculation Destination address lookup Fragmentation Handling IP options Complex forwarding functions Packet classification Packet translation Traffic prioritization Routing processing functions Handing routing updates Sending routing updates Router management (monitoring of various operations) Dr. Ramana ( I.I.T Rajasthan ) Router Internals 3 / 8
  • 4. Functions of a Router (Cont.) Forwarding table Optimized for lookup a destination IP address against set of IP prefixes Could be implemented in hardware as lookup needs to be done for every packet Routing table Optimized for storing/updating network topology and calculating changes in network topology Implemented in software Dr. Ramana ( I.I.T Rajasthan ) Router Internals 4 / 8
  • 5. Router Components Router Components Network interface - contains multiple ports which provide connectivity to various physical links (implements L2/L3 processing) Forwarding engine does lookup and determine outgoing interface packet classifying - to provide quality of services at the outgoing link Queue manager stores the packets in appropriate buffers at the outgoing port implements policies for dropping packets due to buffer overflows schedules packets depending on the packets priorities Traffic manager shapes outgoing traffic to meet service level agreements (SLAs) traffic policing to check the voilation of SLAs by the received traffic marking of traffic that has voilated the SLAs Backplane - shared/switched circuit through which packets are transfered between the incoming (ingress) and outgoing (egress) ports Dr. Ramana ( I.I.T Rajasthan ) Router Internals 5 / 8
  • 6. Packet Flow Packet flow in a router Input Network Interface Forwarding Engine Buffer Buffer Backplane Queue Manager Traffic Manager Output Network Interface Router Control Processor Forwarding Table Routing Table 1 2 3 4 5 6 7 8 9 10 11 Control plane Data plane Dr. Ramana ( I.I.T Rajasthan ) Router Internals 6 / 8
  • 7. Packet Flow Packet processing: Fast path and slow path Fast path (Data Path) Packet processed and transfered from ingress to egress network interfaces via backplane To achieve high speeds, operations are implemented in customized hardware Time-critical operation All basic and complex forwarding functions (except fragmentation and handling IP options) Slow path (Control path) Packets partially processed at the ingress interface and forwarded to CPU for further processing CPU directly forwards the packets to egress interface once it completes the processing Non time-critical operation Routing processing functions Processing of data packets that lead to errors in the fast path and generation of ICMP packets Fragmentation and handling IP options and ARP packet processing Dr. Ramana ( I.I.T Rajasthan ) Router Internals 7 / 8
  • 8. Further Reading Further Reading IP Router Architectures: An Overview - http://www.cs.virginia.edu/˜cs757/papers/awey99.pdf Study of Internet Router Architectures - http://home.iitj.ac.in/˜ramana/Study-of-Internet-Router- Architectures.pdf Dr. Ramana ( I.I.T Rajasthan ) Router Internals 8 / 8