SlideShare a Scribd company logo
Section 5
 FORWARDING OF IP PACKETS
- Connectionless protocol
- Connection-oriented protocol
 When IP is used as a connectionless protocol,
forwarding is based on the destination
address of the IP datagram;
 When the IP is used as a connection-oriented
protocol, forwarding is based on the label
attached to an IP datagram.
 In this case, forwarding requires a host or a router to have a
forwarding table.
 When a host has a packet to send or when a router has
received a packet to be forwarded, it looks at this table to
find the next hop to deliver the packet to.
 In classless addressing, the whole address space is one entity;
there are no classes. This means that forwarding requires one
row of information for each block involved.
 classless forwarding table needs to include four pieces of
information: the mask, the network address, the interface
number, and the IP address of the next router
 The job of the forwarding module is to search the table, row by
row. In each row.
 (prefix) are kept and the(suffix) are set to 0s.
 If the network address matches with the address in the first
column, the information in the next two columns is extracted
 R1 is connected to networks of four
organizations that each use 64 addresses.
 R2 is somewhere far from R1.
 R1 has a longer forwarding table because each
packet must be correctly routed to the
appropriate organization.
 R2, on the other hand can have a very small
forwarding table.
 For R2, any packet with destination 140.24.7.0
to 140.24.7.255 is sent out from interface m0
regardless of the organization number.
 This principle states that the forwarding
table is sorted from the longest mask to the
shortest mask.
 In other words, if there are three masks,
/27, /26, and /24, the mask /27 must be the
first entry and /24 must be the last.
 connection-oriented network (virtual-circuit approach), a
switch forwards a packet based on the label attached to
the packet.
 Routing is normally based on searching the contents of a
table; switching can be done by accessing a table using an
index.
 In other words, routing involves searching; switching
involves accessing.
 routers that implement switching technology.
 In this standard, some conventional routers
in the Internet can be replaced by MPLS
 routers, which can behave like a router and a
switch.
 When behaving like a router, MPLS can
forward the packet based on the destination
address;
 when behaving like a switch, it can forward a
packet based on the label.
 To simulate connection-oriented switching
using a protocol like IP, the first thing that is
needed is to add a field to the packet that
carries the label. this field is provided in the
IPv6 not iPv4.
 The whole IP packet is encapsulated as the
payload in an MPLS packet and an MPLS
header is added.
 Label: 20-bit field defines the label that is used to index the
forwarding table in the router.
 Exp: 3-bit field is reserved for experimental purposes.
 S: one-bit stack field defines the situation of the subheader
in the stack. When the bit is 1, it means that the header is
the last one in the stack.
 TTL: 8-bit field is similar to the TTL field in the IP datagram.
Each visited router decrements the value of this field. When
it reaches zero, the packet is discarded to prevent looping.
 A stack of labels in MPLS allows hierarchical
switching.
 This is similar to conventional hierarchical
routing.
 For example, a packet with two labels can
use the top label to forward the packet
through switches outside an organization;
 the bottom label can be used to route the
packet inside the organization to reach the
destination subnet.

More Related Content

What's hot

SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
Arti Parab Academics
 
COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2
BON SECOURS COLLEGE FOR WOMEN
 
SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery
 SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery
SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery
Arti Parab Academics
 
Unit 4 - Network Layer
Unit 4 - Network LayerUnit 4 - Network Layer
Unit 4 - Network Layer
Chandan Gupta Bhagat
 
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetSYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
Arti Parab Academics
 
COMPUTER NETWORKS UNIT 3
COMPUTER NETWORKS UNIT 3COMPUTER NETWORKS UNIT 3
COMPUTER NETWORKS UNIT 3
BON SECOURS COLLEGE FOR WOMEN
 
Network Layer
Network LayerNetwork Layer
Network Layer
Ghaffar Khan
 
Computer Network
Computer NetworkComputer Network
Computer Network
Sweta Kumari Barnwal
 
Ch 20 UNICAST ROUTING SECTION 2
Ch 20   UNICAST ROUTING  SECTION  2Ch 20   UNICAST ROUTING  SECTION  2
Ch 20 UNICAST ROUTING SECTION 2
Hossam El-Deen Osama
 
Network Layer
Network LayerNetwork Layer
Network Layer
Dr Shashikant Athawale
 
Final several design issues at network layer
Final several design issues at network layerFinal several design issues at network layer
Final several design issues at network layer
Kashyap Davariya
 
COMPUTER NETWORKS UNIT 1
COMPUTER NETWORKS UNIT 1COMPUTER NETWORKS UNIT 1
COMPUTER NETWORKS UNIT 1
BON SECOURS COLLEGE FOR WOMEN
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
Ghaffar Khan
 
Lab Seminar 2009 12 01 Message Drop Reduction And Movement
Lab Seminar 2009 12 01  Message Drop Reduction And MovementLab Seminar 2009 12 01  Message Drop Reduction And Movement
Lab Seminar 2009 12 01 Message Drop Reduction And Movement
tharindanv
 
Unit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part AUnit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part A
Chandan Gupta Bhagat
 
Network Layer
Network LayerNetwork Layer
Network Layer
reshmadayma
 
Network layers forwarding.docx
Network layers forwarding.docxNetwork layers forwarding.docx
Network layers forwarding.docx
AnusuaBasu
 
COMPUTER NETWORKS UNIT 4
COMPUTER NETWORKS UNIT 4COMPUTER NETWORKS UNIT 4
COMPUTER NETWORKS UNIT 4
BON SECOURS COLLEGE FOR WOMEN
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
Manoj Kumar
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Dr. SELVAGANESAN S
 

What's hot (20)

SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
 
COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2
 
SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery
 SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery
SYBSC IT COMPUTER NETWORKS UNIT V Process to-Process Delivery
 
Unit 4 - Network Layer
Unit 4 - Network LayerUnit 4 - Network Layer
Unit 4 - Network Layer
 
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetSYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
 
COMPUTER NETWORKS UNIT 3
COMPUTER NETWORKS UNIT 3COMPUTER NETWORKS UNIT 3
COMPUTER NETWORKS UNIT 3
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Computer Network
Computer NetworkComputer Network
Computer Network
 
Ch 20 UNICAST ROUTING SECTION 2
Ch 20   UNICAST ROUTING  SECTION  2Ch 20   UNICAST ROUTING  SECTION  2
Ch 20 UNICAST ROUTING SECTION 2
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Final several design issues at network layer
Final several design issues at network layerFinal several design issues at network layer
Final several design issues at network layer
 
COMPUTER NETWORKS UNIT 1
COMPUTER NETWORKS UNIT 1COMPUTER NETWORKS UNIT 1
COMPUTER NETWORKS UNIT 1
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
Lab Seminar 2009 12 01 Message Drop Reduction And Movement
Lab Seminar 2009 12 01  Message Drop Reduction And MovementLab Seminar 2009 12 01  Message Drop Reduction And Movement
Lab Seminar 2009 12 01 Message Drop Reduction And Movement
 
Unit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part AUnit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part A
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Network layers forwarding.docx
Network layers forwarding.docxNetwork layers forwarding.docx
Network layers forwarding.docx
 
COMPUTER NETWORKS UNIT 4
COMPUTER NETWORKS UNIT 4COMPUTER NETWORKS UNIT 4
COMPUTER NETWORKS UNIT 4
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 

Viewers also liked

Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
Naveen Dubey
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
farimoin
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
guesta81d4b
 
Network Layer Part 4
Network Layer Part 4Network Layer Part 4
Network Layer Part 4
Tutun Juhana
 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hk
Vivek Singh
 
Congestion control
Congestion controlCongestion control
Congestion control
Abhay Pai
 
Ch 21
Ch 21Ch 21
Network Layer
Network LayerNetwork Layer
Network Layer
Rutwik Jadhav
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
Aditya Rawat
 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithms
lavanyapathy
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
arpit
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
Aung Thu Rha Hein
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
Nitesh Singh
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
Umesh Gupta
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layer
sambhenilesh
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
rahul kundu
 
Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer network
Disi Dc
 
Ipv4 ppt
Ipv4 pptIpv4 ppt
Ipv4 ppt
Sonal Chandel
 
ICMP
ICMPICMP

Viewers also liked (19)

Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Network Layer Part 4
Network Layer Part 4Network Layer Part 4
Network Layer Part 4
 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hk
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Ch 21
Ch 21Ch 21
Ch 21
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithms
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layer
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer network
 
Ipv4 ppt
Ipv4 pptIpv4 ppt
Ipv4 ppt
 
ICMP
ICMPICMP
ICMP
 

Similar to Ch 18 intro to network layer - section 5

C. N. II Lec.4.pdf h
C. N. II Lec.4.pdf                      hC. N. II Lec.4.pdf                      h
C. N. II Lec.4.pdf h
abdnazar2003
 
MPLS
MPLSMPLS
Mod5
Mod5Mod5
Module_3_Part_3.pptx
Module_3_Part_3.pptxModule_3_Part_3.pptx
Module_3_Part_3.pptx
KPDDRAVIDIAN
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introduction
Philip Agu Bah
 
Network layer osi
Network layer osiNetwork layer osi
Network layer osi
Naresh Babu Merugu
 
MPLS_SDN.pdf
MPLS_SDN.pdfMPLS_SDN.pdf
MPLS_SDN.pdf
mohamed590260
 
Paper id 25201418
Paper id 25201418Paper id 25201418
Paper id 25201418
IJRAT
 
IPv4.pdf
IPv4.pdfIPv4.pdf
IPv4.pdf
SravanKosaraju1
 
I41026670
I41026670I41026670
I41026670
IJERA Editor
 
Dynamic MPLS with Feedback
Dynamic MPLS with Feedback Dynamic MPLS with Feedback
Dynamic MPLS with Feedback
IJCSEA Journal
 
Dynamic MPLS with Feedback
Dynamic MPLS with FeedbackDynamic MPLS with Feedback
Dynamic MPLS with Feedback
IJCSEA Journal
 
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
Netwax Lab
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptx
RobinRohit2
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptx
NguyenNM
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
Jumaan Ally Mohamed
 
Mpls
MplsMpls
Exploration network chapter_5_modified
Exploration network chapter_5_modifiedExploration network chapter_5_modified
Exploration network chapter_5_modified
rajesh531
 
VPN Using MPLS Technique
VPN Using MPLS TechniqueVPN Using MPLS Technique
VPN Using MPLS Technique
Ahmad Atta
 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedting
H K
 

Similar to Ch 18 intro to network layer - section 5 (20)

C. N. II Lec.4.pdf h
C. N. II Lec.4.pdf                      hC. N. II Lec.4.pdf                      h
C. N. II Lec.4.pdf h
 
MPLS
MPLSMPLS
MPLS
 
Mod5
Mod5Mod5
Mod5
 
Module_3_Part_3.pptx
Module_3_Part_3.pptxModule_3_Part_3.pptx
Module_3_Part_3.pptx
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introduction
 
Network layer osi
Network layer osiNetwork layer osi
Network layer osi
 
MPLS_SDN.pdf
MPLS_SDN.pdfMPLS_SDN.pdf
MPLS_SDN.pdf
 
Paper id 25201418
Paper id 25201418Paper id 25201418
Paper id 25201418
 
IPv4.pdf
IPv4.pdfIPv4.pdf
IPv4.pdf
 
I41026670
I41026670I41026670
I41026670
 
Dynamic MPLS with Feedback
Dynamic MPLS with Feedback Dynamic MPLS with Feedback
Dynamic MPLS with Feedback
 
Dynamic MPLS with Feedback
Dynamic MPLS with FeedbackDynamic MPLS with Feedback
Dynamic MPLS with Feedback
 
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptx
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptx
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
 
Mpls
MplsMpls
Mpls
 
Exploration network chapter_5_modified
Exploration network chapter_5_modifiedExploration network chapter_5_modified
Exploration network chapter_5_modified
 
VPN Using MPLS Technique
VPN Using MPLS TechniqueVPN Using MPLS Technique
VPN Using MPLS Technique
 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedting
 

Recently uploaded

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 

Ch 18 intro to network layer - section 5

  • 2.  FORWARDING OF IP PACKETS - Connectionless protocol - Connection-oriented protocol
  • 3.  When IP is used as a connectionless protocol, forwarding is based on the destination address of the IP datagram;  When the IP is used as a connection-oriented protocol, forwarding is based on the label attached to an IP datagram.
  • 4.  In this case, forwarding requires a host or a router to have a forwarding table.  When a host has a packet to send or when a router has received a packet to be forwarded, it looks at this table to find the next hop to deliver the packet to.  In classless addressing, the whole address space is one entity; there are no classes. This means that forwarding requires one row of information for each block involved.  classless forwarding table needs to include four pieces of information: the mask, the network address, the interface number, and the IP address of the next router
  • 5.  The job of the forwarding module is to search the table, row by row. In each row.  (prefix) are kept and the(suffix) are set to 0s.  If the network address matches with the address in the first column, the information in the next two columns is extracted
  • 6.
  • 7.  R1 is connected to networks of four organizations that each use 64 addresses.  R2 is somewhere far from R1.  R1 has a longer forwarding table because each packet must be correctly routed to the appropriate organization.  R2, on the other hand can have a very small forwarding table.  For R2, any packet with destination 140.24.7.0 to 140.24.7.255 is sent out from interface m0 regardless of the organization number.
  • 8.
  • 9.  This principle states that the forwarding table is sorted from the longest mask to the shortest mask.  In other words, if there are three masks, /27, /26, and /24, the mask /27 must be the first entry and /24 must be the last.
  • 10.
  • 11.  connection-oriented network (virtual-circuit approach), a switch forwards a packet based on the label attached to the packet.  Routing is normally based on searching the contents of a table; switching can be done by accessing a table using an index.  In other words, routing involves searching; switching involves accessing.
  • 12.
  • 13.  routers that implement switching technology.  In this standard, some conventional routers in the Internet can be replaced by MPLS  routers, which can behave like a router and a switch.  When behaving like a router, MPLS can forward the packet based on the destination address;  when behaving like a switch, it can forward a packet based on the label.
  • 14.  To simulate connection-oriented switching using a protocol like IP, the first thing that is needed is to add a field to the packet that carries the label. this field is provided in the IPv6 not iPv4.  The whole IP packet is encapsulated as the payload in an MPLS packet and an MPLS header is added.
  • 15.  Label: 20-bit field defines the label that is used to index the forwarding table in the router.  Exp: 3-bit field is reserved for experimental purposes.  S: one-bit stack field defines the situation of the subheader in the stack. When the bit is 1, it means that the header is the last one in the stack.  TTL: 8-bit field is similar to the TTL field in the IP datagram. Each visited router decrements the value of this field. When it reaches zero, the packet is discarded to prevent looping.
  • 16.  A stack of labels in MPLS allows hierarchical switching.  This is similar to conventional hierarchical routing.  For example, a packet with two labels can use the top label to forward the packet through switches outside an organization;  the bottom label can be used to route the packet inside the organization to reach the destination subnet.