SlideShare a Scribd company logo
4

Tutun Juhana
Telecommunication Engineering

Network Layer (Part 3)

School of Electrical Engineering & Informatics
Institut Teknologi Bandung

Computer Networks
DELIVERY AND FORWARDING
OF IP PACKETS
Direct Delivery

3
Indirect Delivery

4
Forwarding
• Forwarding means to place the packet in its
route to its destination
– to deliver the packet to the next hop (which can be
the final destination or the intermediate connecting
device)

• Two kinds of forwarding
1. The destination address –based forwarding (when
IP is used as a connectionless protocol)
2. Label-based forwarding (when the IP is used as a
connection-oriented protocol)
5
FORWARDING BASED ON
DESTINATION ADDRESS
6
Forwarding Techniques
1.
2.
3.
4.

Next-Hop Method
Network-Specific Method
Host-Specific Method
Default Method

To make the size of the routing table manageable

7
Next-Hop Method
• The routing table holds only the address of
the next hop instead of information about
the complete route

8
Network-Specific Method

9
Host-Specific Method

10
Default Method

11
FORWARDING WITH
CLASSFUL ADDRESSING
12
Forwarding without Subnetting

13
14
• Example 6.2
Router R1 in Figure 6.8 receives a packet with destination address
192.16.7.14. Show how the packet is forwarded
Solution
The destination address in binary is 11000000 00010000 00000111
00001110. A copy of the address is shifted 28 bits to the right. The
result is 00000000 00000000 00000000 00001100 or
12. The destination network is class C. The network address is
extracted by masking off the leftmost 24 bits of the destination
address; the result is 192.16.7.0. The table for Class C is searched.
The network address is found in the first row. The next-hop address
111.15.17.32. and the interface m0 are passed to ARP

15
16
Forwarding with Subnetting

17
18
Forwarding with Classless Addressing

19
20
21
22
Address Aggregation
• In classful addressing, there is only one
entry in the routing table for each site
outside the organization
• In classless addressing, it is likely that the
number of routing table entries will
increase  The increased size of the table
results in an increase in the amount of
time needed to search the table  to
alleviate the problem, the idea of address
aggregation was designed
23
24
Longest Mask Matching

Packet arrives with
dest. add.140.24.7.200

By longest mask
matching
correctly routed
to Organization 4

The routing table is sorted
from the longest mask to the
shortest mask

25
STRUCTURE OF A ROUTER

26
Components
performs the functions of the network layer

27
Switching Fabrics

28
29
30

More Related Content

PPTX
Network Layer Part 1
PPTX
Network layer Part 2
DOCX
Classful and classless addressing
PPTX
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...
PPT
Day 5.5 subnetting
PPTX
IPv4 Addressing
PPT
Internet Technology
PPSX
Classless subnetting
Network Layer Part 1
Network layer Part 2
Classful and classless addressing
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...
Day 5.5 subnetting
IPv4 Addressing
Internet Technology
Classless subnetting

What's hot (20)

PPTX
Et3003 sem2-1314-5 network layers ii (intro to routing)
PPT
Classless addressing
PPT
PPTX
Lec 5(Ip Addressing and Subnets)
PPT
IP Address
PPT
network Addressing
PPTX
CN Unit 3
PPT
TCP IP Addressing
PPT
Explaining ip address
PPT
Ip addressing
DOC
Ipv4 Final
PPTX
NP - Unit 2 - Internet Addressing, ARP and RARP
PDF
Network Layer Numericals
PPTX
PPTX
IP addressing Grade 10 TLE ICT
PPTX
Ipv6
PPT
About ip address
PPT
Chap 04
PPT
Chap 02
PDF
The Internet Protocol version 4 (IPv4)
Et3003 sem2-1314-5 network layers ii (intro to routing)
Classless addressing
Lec 5(Ip Addressing and Subnets)
IP Address
network Addressing
CN Unit 3
TCP IP Addressing
Explaining ip address
Ip addressing
Ipv4 Final
NP - Unit 2 - Internet Addressing, ARP and RARP
Network Layer Numericals
IP addressing Grade 10 TLE ICT
Ipv6
About ip address
Chap 04
Chap 02
The Internet Protocol version 4 (IPv4)
Ad

Similar to Network layer Part 3 (20)

PDF
PPT
Evolution of Routing Techniques
PPT
Concept of Network Routing Layer
PDF
Cs8591 Computer Networks
PPT
Network Layer_Routing_Forwarding-1.ppt engineering
PPT
ComputerNetworksWeek-9-10 Network layer Routing.ppt
PPTX
Delivery and Forwarding of IP Packets
PPT
Chap 06 delivery and routing of ip packets
PPT
Routing, Different types of forwarding technique
PPT
lecture8.ppt
PPTX
11 - COMS 525 TCPIP - Internet Protocol - Forward.pptx
PPT
4d routing
PPTX
NP - Unit 3 - Forwarding Datagram and ICMP
PDF
Routers and planes (1)
PDF
Routers and planes
PPTX
11 coms 525 tcpip - internet protocol - forward
PPTX
IP Routing.pptx
PPT
22 Network Layer_Delivery_forwarding_and_Routing
PPTX
Network layers forwarding.docx
Evolution of Routing Techniques
Concept of Network Routing Layer
Cs8591 Computer Networks
Network Layer_Routing_Forwarding-1.ppt engineering
ComputerNetworksWeek-9-10 Network layer Routing.ppt
Delivery and Forwarding of IP Packets
Chap 06 delivery and routing of ip packets
Routing, Different types of forwarding technique
lecture8.ppt
11 - COMS 525 TCPIP - Internet Protocol - Forward.pptx
4d routing
NP - Unit 3 - Forwarding Datagram and ICMP
Routers and planes (1)
Routers and planes
11 coms 525 tcpip - internet protocol - forward
IP Routing.pptx
22 Network Layer_Delivery_forwarding_and_Routing
Network layers forwarding.docx
Ad

More from Tutun Juhana (20)

PPTX
What should you prepare for industry 4.0 era
PPTX
Internet of Things Security
PPTX
Et4045-3-attacks-2
PPTX
ET4045-3-attacks-1
PPTX
ET4045-2-cryptography-3
PPTX
ET4045-2-cryptography-2
PPTX
ET4045-2-cryptography-1-2014
PPTX
ET4045-1-Introduction-2014
PPTX
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
PPTX
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
PPTX
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
PPTX
Introduction to Computer Networks (Lecture #1 ET3003 Sem1 2014/2015)
PPTX
Et3003 sem2-1314-10 vlans
PPTX
Et3003 sem2-1314-9 network layers vi (routing protocols)
PPTX
Et3003 sem2-1314-8 network layers v (icmpv4)
PPTX
Et3003 sem2-1314-7 network layers iv (ipv4)
PPTX
Et3003 sem2-1314-6 network layers iii (arp)
PPTX
Et3003 sem2-1314-4 network layers i (ipv4 addressing)
PPTX
Et3003 sem2-1314-3 ethernets
PPTX
ET3003-1 introduction (Semester II 2013-2014)
What should you prepare for industry 4.0 era
Internet of Things Security
Et4045-3-attacks-2
ET4045-3-attacks-1
ET4045-2-cryptography-3
ET4045-2-cryptography-2
ET4045-2-cryptography-1-2014
ET4045-1-Introduction-2014
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Introduction to Computer Networks (Lecture #1 ET3003 Sem1 2014/2015)
Et3003 sem2-1314-10 vlans
Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-8 network layers v (icmpv4)
Et3003 sem2-1314-7 network layers iv (ipv4)
Et3003 sem2-1314-6 network layers iii (arp)
Et3003 sem2-1314-4 network layers i (ipv4 addressing)
Et3003 sem2-1314-3 ethernets
ET3003-1 introduction (Semester II 2013-2014)

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
A Presentation on Artificial Intelligence
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
Empathic Computing: Creating Shared Understanding
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
Review of recent advances in non-invasive hemoglobin estimation
A comparative analysis of optical character recognition models for extracting...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Approach and Philosophy of On baking technology
A Presentation on Artificial Intelligence
Programs and apps: productivity, graphics, security and other tools
Assigned Numbers - 2025 - Bluetooth® Document
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf

Network layer Part 3