SlideShare a Scribd company logo
1 of 22
NETWORK LAYER
TOPICS:
NETWORK LAYER
NETWORK LAYER DESIGN ISSUES
ROUTING ALGORITHMS,
M Indraja,Assistant Prof,RGUKT-Srikakulam. 1
What is network layer ?
It is responsible for the source to destination delivery of a packets across multiple networks.
Routing:-
It Provide a mechanism to transmit data over independent networks that are linked
together.
Logical addressing:-
Adds Logical addresses of sender and Receiver.
The network layer also defines how to fragment a packet into smaller packets to
accommodate different media.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 2
Network layer Design Issues:
Store-and-forward packet switching
Services provided to transport layer
Implementation of connectionless service
Implementation of connection-oriented service
Comparison of virtual-circuit and datagram networks
M Indraja,Assistant Prof,RGUKT-Srikakulam. 3
Store-and-forward packet switching:
In this store and forward packet switching can be used for packet(message from
source to destination).
In this 1st design issues explore about the
 How routing was happening in the network ?
 How to store the packet in a router ? and
 Analysis to forward the packet by host to host.
 So, here we discuss about the ISP and different host networks.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 4
Store-and-forward packet switching: (conti..)
 In this one of the major components of the network is ISP’s (Internet Services
Providers) equipment (routers connected by transmission lines).
 Host H1 is directly connected to one of the ISP’s routers. Host H2 is on a LAN, it
might be an office Ethernet, with a router “F” owned and operated by the
customer’s. The “F” is outside the oval because is does not belong to the ISP.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 5
 The host with a packet to send transmits it to the nearest router, either on its own
LAN or over a point-to-point link to the ISP.
 The packet is stored there until it has fully arrived and the link has finished its
processing by verifying the checksum.
 Then it is forwarded to the next router along the path until it reaches the
destination host, where it is delivered. This mechanism is store-and-forward
packet switching.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 6
Services Provided to the Transport Layer:
It provides services at network layer transport layer interface
It is the interface between carrier and customer i.e, the subnet boundary,
Its job is to deliver packets given to it by customers.
The network layer services are designed with the following goals:
 The Services should be independent of router technology.
 The transport layer should be shielded from number, type, topology of routers.
 The network addresses made available to the transport layer should use a uniform numbering plan,
even across LANs and WANs
M Indraja,Assistant Prof,RGUKT-Srikakulam. 7
M Indraja,Assistant Prof,RGUKT-Srikakulam. 8
Implementation of Connectionless Service:
If connectionless service is offered, packets are injected into the network individually and routed
independently of each other.
No advance setup is needed. In this context, the packets are frequently called datagrams (in analogy
with telegrams) and the network is called a datagram network.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 9
M Indraja,Assistant Prof,RGUKT-Srikakulam. 10
 In this the process p1 has a long message for p2.So, in hands the message to the transport layer with
instructions to deliver it to process p2 on host h2. The transport layer sends data to network layer within
operating system.
 The above diagram and table representing the message is four times longer than the maximum packet size,
so the network layer has to break it into four packets, 1,2,3 and 4 and send each of the them in turn to
router A using some point-to-point protocol, for example, PPP.
 At this point the ISP takes over. Every router has an internal table telling it where to send packets for each
of the possible destinations. Each table entry is a pair consisting of a destination and the outgoing line to
use for that destination. Only directly connected lines can be used.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 11
Implementation of Connection-Oriented Service:
 The implementation of connection-oriented service, we need a virtual circuit
network.
 A connection is established, a route from the source machine to the destination
machine is chosen as part of the connection setup and stored in tables inside the
routers.
 The router should maintain a traffic flow (it may like a telephone system works) .
 When the connection is released, the VC is also terminated. By connection-
oriented service, each packet carries a identifier telling which vc it belongs to.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 12
If Host h1 has established connection
1 with host h2.The connection
remembered as the first entry in the
each of the routing tables.
So, the first line of A’s table says that
if a packet bearing connection
identifier 1 comes in from H1, it is to
be sent to router C and given
connection identifier 1.
 Similarly, the first entry at C routes
the packet to E, also with connection
identifier 1.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 13
 let us consider what happens if H3 also wants to establish a connection to H2. It chooses
connection identifier 1 (because it is initiating the connection and this is its only
connection) and tells the network to establish the virtual circuit.
 This leads to the second row in the tables. Note that we have a conflict here because
although A can easily distinguish connection 1 packets from H1 from connection 1
packets from H3, C cannot do this. For this reason, A assigns a different connection
identifier to the outgoing traffic for the second connection.
 Avoiding conflicts of this kind is why routers need the ability to replace connection
identifiers in outgoing packets. This process is called label switching.
 Ex: A connection-oriented network service is MPLS (MultiProtocol Label Switching).It
is used within ISP networks in the Internet, with IP packets wrapped in an MPLS header
having a 20-bit connection identifier or label.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 14
Comparison of Virtual-Circuit and Datagram Networks:
Both virtual circuits and datagrams have their supporters and their detractors.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 15
Routing Algorithms:
 It is the process of selecting best paths in a network.
 Routing is performed for All kind of Networks.
Technically:
 It is the process of determining, selecting the best outgoing path that a packet has to take in a network.
Two Types of Routings:
 They are Static (Non Adaptive)
 Dynamic (Adaptive)
M Indraja,Assistant Prof,RGUKT-Srikakulam. 16
Static and Dynamic
Non Adaptive:
Routing decisions computed in advance, off-line and downloaded
Adaptive:
To changes in topology and Get Information (locally, from adjacent routers, from all routers)
M Indraja,Assistant Prof,RGUKT-Srikakulam. 17
Shortest Path Algorithm:
 Routing algorithms with a simple technique for computing optimal paths given a complete picture of the
network.
 The idea is to build a graph of the network, with each node of the graph representing a router.
 Each edge of the graph representing a communication line or link.
 When ever a shortest path is discovered, the table is updated. Such that it may be useful for the future.
 The easiest way to find out the shortest path is to count the no.of hops.
 The shortest path may be calculated by adding up the labels next to the nodes.These lables may be the
function of: distance, bandwidth, average traffic, communication cost, mean queue length and other factors.
 ABC is clearly much longer than ABE.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 18
M Indraja,Assistant Prof,RGUKT-Srikakulam. 19
Flooding :
This adapts the technique in which every incoming packet is sent on every outgoing line except from which it arrived.
One problem with this is that packets may go in loop and as a result of which a node may receive duplicate packets.
These problems can be overcome with the help of sequence numbers, hop count and spanning tree.
Every packet is sent out on every outgoing line except the one it arrived at.
M Indraja,Assistant Prof,RGUKT-Srikakulam. 20
Distances Vector Routing:
 A distance vector routing algorithm operates by having each router maintain a table (i.e., a vector) giving the best known distance to
each destination and which link to use to get there. These tables are updated by exchanging information with the neighbors. Eventually,
every router knows the best link to reach each destination.
 The distance vector routing algorithm is sometimes called by other names, most commonly the distributed Bellman-Ford routing
algorithm, after the researchers who developed it (Bellman, 1957; and Ford and Fulkerson, 1962). It was the original ARPANET routing
algorithm and was also used in the Internet under the name RIP (Routing Information Protocol)
 In distance vector routing, each router maintains a routing table indexed by, and containing one entry for each router in the network. This
entry has two parts:
1. The preferred outgoing line to use for that destination and an estimate of the distance to that destination.
2. The distance might be measured as the number of hops or using another metric, as we discussed for computing shortest paths
M Indraja,Assistant Prof,RGUKT-Srikakulam. 21
M Indraja,Assistant Prof,RGUKT-Srikakulam. 22

More Related Content

What's hot

Data link control
Data link controlData link control
Data link controlIffat Anjum
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Network Switching | Computer Science
Network Switching | Computer ScienceNetwork Switching | Computer Science
Network Switching | Computer ScienceTransweb Global Inc
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And ProtocolsSteven Cahill
 
Hub, switch, router, bridge & and repeater
Hub, switch, router, bridge & and repeaterHub, switch, router, bridge & and repeater
Hub, switch, router, bridge & and repeaterMaksudujjaman
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)NetProtocol Xpert
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)Respa Peter
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer networkmiteshppt
 
IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11Keshav Maheshwari
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Kaushik Panta
 

What's hot (20)

Data link control
Data link controlData link control
Data link control
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Network Switching | Computer Science
Network Switching | Computer ScienceNetwork Switching | Computer Science
Network Switching | Computer Science
 
Routing
RoutingRouting
Routing
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
 
OSI models
OSI modelsOSI models
OSI models
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Ieee 802.11 wireless lan
Ieee 802.11 wireless lanIeee 802.11 wireless lan
Ieee 802.11 wireless lan
 
Hub, switch, router, bridge & and repeater
Hub, switch, router, bridge & and repeaterHub, switch, router, bridge & and repeater
Hub, switch, router, bridge & and repeater
 
Module 3 INTERNET OF THINGS
Module 3 INTERNET OF THINGSModule 3 INTERNET OF THINGS
Module 3 INTERNET OF THINGS
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
WLAN
WLANWLAN
WLAN
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 
IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
 
Data link layer
Data link layer Data link layer
Data link layer
 
Layered Architecture
Layered ArchitectureLayered Architecture
Layered Architecture
 

Similar to Network layer u3

Network layer new
Network layer newNetwork layer new
Network layer newreshmadayma
 
Opportunistic Data Forwarding in Manet
Opportunistic Data Forwarding in ManetOpportunistic Data Forwarding in Manet
Opportunistic Data Forwarding in ManetIJTET Journal
 
Understanding Network Routing Problem and Study of Routing Algorithms and Heu...
Understanding Network Routing Problem and Study of Routing Algorithms and Heu...Understanding Network Routing Problem and Study of Routing Algorithms and Heu...
Understanding Network Routing Problem and Study of Routing Algorithms and Heu...IRJET Journal
 
Data Communication and Networking(DCACN)
Data Communication and Networking(DCACN)Data Communication and Networking(DCACN)
Data Communication and Networking(DCACN)Uttam Singh Chaudhary
 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedtingH K
 
ANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORK
ANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORKANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORK
ANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORKIJCSIT Journal
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
Destination Aware APU Strategy for Geographic Routing in MANET
Destination Aware APU Strategy for Geographic Routing in MANETDestination Aware APU Strategy for Geographic Routing in MANET
Destination Aware APU Strategy for Geographic Routing in MANETEditor IJCATR
 
An Even Data-Distribution Protocolfor Highly Dynamic VANET
An Even Data-Distribution Protocolfor Highly Dynamic VANETAn Even Data-Distribution Protocolfor Highly Dynamic VANET
An Even Data-Distribution Protocolfor Highly Dynamic VANETIOSRJECE
 
An Enhanced DSR Protocol for Improving QoS in MANET
An Enhanced DSR Protocol for Improving QoS in MANETAn Enhanced DSR Protocol for Improving QoS in MANET
An Enhanced DSR Protocol for Improving QoS in MANETKhushbooGupta145
 

Similar to Network layer u3 (20)

Network layer (Unit 3) part1.pdf
Network  layer (Unit 3) part1.pdfNetwork  layer (Unit 3) part1.pdf
Network layer (Unit 3) part1.pdf
 
Network layer new
Network layer newNetwork layer new
Network layer new
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Opportunistic Data Forwarding in Manet
Opportunistic Data Forwarding in ManetOpportunistic Data Forwarding in Manet
Opportunistic Data Forwarding in Manet
 
Understanding Network Routing Problem and Study of Routing Algorithms and Heu...
Understanding Network Routing Problem and Study of Routing Algorithms and Heu...Understanding Network Routing Problem and Study of Routing Algorithms and Heu...
Understanding Network Routing Problem and Study of Routing Algorithms and Heu...
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Data Communication and Networking(DCACN)
Data Communication and Networking(DCACN)Data Communication and Networking(DCACN)
Data Communication and Networking(DCACN)
 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedting
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
ANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORK
ANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORKANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORK
ANALYSIS OF ROUTING PROTOCOLS IN WIRELESS MESH NETWORK
 
An Insight on Routing
An Insight on RoutingAn Insight on Routing
An Insight on Routing
 
Be31390392
Be31390392Be31390392
Be31390392
 
E1073644
E1073644E1073644
E1073644
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Mq3624532158
Mq3624532158Mq3624532158
Mq3624532158
 
Destination Aware APU Strategy for Geographic Routing in MANET
Destination Aware APU Strategy for Geographic Routing in MANETDestination Aware APU Strategy for Geographic Routing in MANET
Destination Aware APU Strategy for Geographic Routing in MANET
 
PERFORMANCE COMPARISON OF AODV AND DSDV ROUTING PROTOCOLS IN WIRELESS AD HOC ...
PERFORMANCE COMPARISON OF AODV AND DSDV ROUTING PROTOCOLS IN WIRELESS AD HOC ...PERFORMANCE COMPARISON OF AODV AND DSDV ROUTING PROTOCOLS IN WIRELESS AD HOC ...
PERFORMANCE COMPARISON OF AODV AND DSDV ROUTING PROTOCOLS IN WIRELESS AD HOC ...
 
An Even Data-Distribution Protocolfor Highly Dynamic VANET
An Even Data-Distribution Protocolfor Highly Dynamic VANETAn Even Data-Distribution Protocolfor Highly Dynamic VANET
An Even Data-Distribution Protocolfor Highly Dynamic VANET
 
CN WEEK 11.pdf
CN WEEK 11.pdfCN WEEK 11.pdf
CN WEEK 11.pdf
 
An Enhanced DSR Protocol for Improving QoS in MANET
An Enhanced DSR Protocol for Improving QoS in MANETAn Enhanced DSR Protocol for Improving QoS in MANET
An Enhanced DSR Protocol for Improving QoS in MANET
 

More from IndrajaMeghavathula

More from IndrajaMeghavathula (9)

Networking Technologies Basic's complete notes
Networking Technologies Basic's complete notesNetworking Technologies Basic's complete notes
Networking Technologies Basic's complete notes
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Data link layer
Data link layerData link layer
Data link layer
 
Basics of Computer Networks
Basics of Computer NetworksBasics of Computer Networks
Basics of Computer Networks
 
Cache memory
Cache memory Cache memory
Cache memory
 
Memory Unit
Memory UnitMemory Unit
Memory Unit
 
Arithmetic and logic unit Continue...
Arithmetic and logic unit Continue...Arithmetic and logic unit Continue...
Arithmetic and logic unit Continue...
 
Arithmetic and logic unit
Arithmetic and logic unitArithmetic and logic unit
Arithmetic and logic unit
 
computer organization and architecture
computer organization and architecturecomputer organization and architecture
computer organization and architecture
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 

Network layer u3

  • 1. NETWORK LAYER TOPICS: NETWORK LAYER NETWORK LAYER DESIGN ISSUES ROUTING ALGORITHMS, M Indraja,Assistant Prof,RGUKT-Srikakulam. 1
  • 2. What is network layer ? It is responsible for the source to destination delivery of a packets across multiple networks. Routing:- It Provide a mechanism to transmit data over independent networks that are linked together. Logical addressing:- Adds Logical addresses of sender and Receiver. The network layer also defines how to fragment a packet into smaller packets to accommodate different media. M Indraja,Assistant Prof,RGUKT-Srikakulam. 2
  • 3. Network layer Design Issues: Store-and-forward packet switching Services provided to transport layer Implementation of connectionless service Implementation of connection-oriented service Comparison of virtual-circuit and datagram networks M Indraja,Assistant Prof,RGUKT-Srikakulam. 3
  • 4. Store-and-forward packet switching: In this store and forward packet switching can be used for packet(message from source to destination). In this 1st design issues explore about the  How routing was happening in the network ?  How to store the packet in a router ? and  Analysis to forward the packet by host to host.  So, here we discuss about the ISP and different host networks. M Indraja,Assistant Prof,RGUKT-Srikakulam. 4
  • 5. Store-and-forward packet switching: (conti..)  In this one of the major components of the network is ISP’s (Internet Services Providers) equipment (routers connected by transmission lines).  Host H1 is directly connected to one of the ISP’s routers. Host H2 is on a LAN, it might be an office Ethernet, with a router “F” owned and operated by the customer’s. The “F” is outside the oval because is does not belong to the ISP. M Indraja,Assistant Prof,RGUKT-Srikakulam. 5
  • 6.  The host with a packet to send transmits it to the nearest router, either on its own LAN or over a point-to-point link to the ISP.  The packet is stored there until it has fully arrived and the link has finished its processing by verifying the checksum.  Then it is forwarded to the next router along the path until it reaches the destination host, where it is delivered. This mechanism is store-and-forward packet switching. M Indraja,Assistant Prof,RGUKT-Srikakulam. 6
  • 7. Services Provided to the Transport Layer: It provides services at network layer transport layer interface It is the interface between carrier and customer i.e, the subnet boundary, Its job is to deliver packets given to it by customers. The network layer services are designed with the following goals:  The Services should be independent of router technology.  The transport layer should be shielded from number, type, topology of routers.  The network addresses made available to the transport layer should use a uniform numbering plan, even across LANs and WANs M Indraja,Assistant Prof,RGUKT-Srikakulam. 7
  • 9. Implementation of Connectionless Service: If connectionless service is offered, packets are injected into the network individually and routed independently of each other. No advance setup is needed. In this context, the packets are frequently called datagrams (in analogy with telegrams) and the network is called a datagram network. M Indraja,Assistant Prof,RGUKT-Srikakulam. 9
  • 11.  In this the process p1 has a long message for p2.So, in hands the message to the transport layer with instructions to deliver it to process p2 on host h2. The transport layer sends data to network layer within operating system.  The above diagram and table representing the message is four times longer than the maximum packet size, so the network layer has to break it into four packets, 1,2,3 and 4 and send each of the them in turn to router A using some point-to-point protocol, for example, PPP.  At this point the ISP takes over. Every router has an internal table telling it where to send packets for each of the possible destinations. Each table entry is a pair consisting of a destination and the outgoing line to use for that destination. Only directly connected lines can be used. M Indraja,Assistant Prof,RGUKT-Srikakulam. 11
  • 12. Implementation of Connection-Oriented Service:  The implementation of connection-oriented service, we need a virtual circuit network.  A connection is established, a route from the source machine to the destination machine is chosen as part of the connection setup and stored in tables inside the routers.  The router should maintain a traffic flow (it may like a telephone system works) .  When the connection is released, the VC is also terminated. By connection- oriented service, each packet carries a identifier telling which vc it belongs to. M Indraja,Assistant Prof,RGUKT-Srikakulam. 12
  • 13. If Host h1 has established connection 1 with host h2.The connection remembered as the first entry in the each of the routing tables. So, the first line of A’s table says that if a packet bearing connection identifier 1 comes in from H1, it is to be sent to router C and given connection identifier 1.  Similarly, the first entry at C routes the packet to E, also with connection identifier 1. M Indraja,Assistant Prof,RGUKT-Srikakulam. 13
  • 14.  let us consider what happens if H3 also wants to establish a connection to H2. It chooses connection identifier 1 (because it is initiating the connection and this is its only connection) and tells the network to establish the virtual circuit.  This leads to the second row in the tables. Note that we have a conflict here because although A can easily distinguish connection 1 packets from H1 from connection 1 packets from H3, C cannot do this. For this reason, A assigns a different connection identifier to the outgoing traffic for the second connection.  Avoiding conflicts of this kind is why routers need the ability to replace connection identifiers in outgoing packets. This process is called label switching.  Ex: A connection-oriented network service is MPLS (MultiProtocol Label Switching).It is used within ISP networks in the Internet, with IP packets wrapped in an MPLS header having a 20-bit connection identifier or label. M Indraja,Assistant Prof,RGUKT-Srikakulam. 14
  • 15. Comparison of Virtual-Circuit and Datagram Networks: Both virtual circuits and datagrams have their supporters and their detractors. M Indraja,Assistant Prof,RGUKT-Srikakulam. 15
  • 16. Routing Algorithms:  It is the process of selecting best paths in a network.  Routing is performed for All kind of Networks. Technically:  It is the process of determining, selecting the best outgoing path that a packet has to take in a network. Two Types of Routings:  They are Static (Non Adaptive)  Dynamic (Adaptive) M Indraja,Assistant Prof,RGUKT-Srikakulam. 16
  • 17. Static and Dynamic Non Adaptive: Routing decisions computed in advance, off-line and downloaded Adaptive: To changes in topology and Get Information (locally, from adjacent routers, from all routers) M Indraja,Assistant Prof,RGUKT-Srikakulam. 17
  • 18. Shortest Path Algorithm:  Routing algorithms with a simple technique for computing optimal paths given a complete picture of the network.  The idea is to build a graph of the network, with each node of the graph representing a router.  Each edge of the graph representing a communication line or link.  When ever a shortest path is discovered, the table is updated. Such that it may be useful for the future.  The easiest way to find out the shortest path is to count the no.of hops.  The shortest path may be calculated by adding up the labels next to the nodes.These lables may be the function of: distance, bandwidth, average traffic, communication cost, mean queue length and other factors.  ABC is clearly much longer than ABE. M Indraja,Assistant Prof,RGUKT-Srikakulam. 18
  • 20. Flooding : This adapts the technique in which every incoming packet is sent on every outgoing line except from which it arrived. One problem with this is that packets may go in loop and as a result of which a node may receive duplicate packets. These problems can be overcome with the help of sequence numbers, hop count and spanning tree. Every packet is sent out on every outgoing line except the one it arrived at. M Indraja,Assistant Prof,RGUKT-Srikakulam. 20
  • 21. Distances Vector Routing:  A distance vector routing algorithm operates by having each router maintain a table (i.e., a vector) giving the best known distance to each destination and which link to use to get there. These tables are updated by exchanging information with the neighbors. Eventually, every router knows the best link to reach each destination.  The distance vector routing algorithm is sometimes called by other names, most commonly the distributed Bellman-Ford routing algorithm, after the researchers who developed it (Bellman, 1957; and Ford and Fulkerson, 1962). It was the original ARPANET routing algorithm and was also used in the Internet under the name RIP (Routing Information Protocol)  In distance vector routing, each router maintains a routing table indexed by, and containing one entry for each router in the network. This entry has two parts: 1. The preferred outgoing line to use for that destination and an estimate of the distance to that destination. 2. The distance might be measured as the number of hops or using another metric, as we discussed for computing shortest paths M Indraja,Assistant Prof,RGUKT-Srikakulam. 21