SlideShare a Scribd company logo
1 of 28
Link-State Routing
• The shortest path to a destination is not
necessarily the path with the least number
of hops
Link-State Routing
Link-State Routing Process
• How routers using Link State Routing Protocols reach convergence
• -Each routers learns about its own directly connected networks
• -Link state routers exchange hello packet to “meet” other directly
• connected link state routers.
• -Each router builds its own Link State Packet (LSP) which includes
information about neighbors such as neighbor ID, link type, &
bandwidth.
• -After the LSP is created the router floods it to all neighbors who
then store the information and then forward it until all routers
have the same information.
• -Once all the routers have received all the LSPs, the routers then
construct a topological map of the network which is used to
determine the best routes to a destination
Link-State Routing
• Directly Connected
Networks
• Link
This is an interface
on a router
• Link state
This is the
information about the
state of the links
Link-State Routing
Sending Hello Packets to Neighbors
• Link state routing protocols use a hello
protocol
Purpose of a hello protocol:
-To discover neighbors (that use the
same link state routing protocol) on
its link
Link-State Routing
Building the Link State
Packet
• Each router builds its own
Link State Packet (LSP)
Contents of LSP:
-State of each directly
connected link
-Includes information
about neighbors such
as neighbor ID, link type,
& bandwidth.
Link-State Routing
Flooding LSPs to Neighbors
• Once LSP are created they are forwarded out
to neighbors.
– -After receiving the LSP the neighbor continues to
forward it throughout routing area.
Link-State Routing
• Determining the shortest path
– The shortest path to a destination determined
by adding the costs & finding the lowest cost
Link-State Routing
Link-State Routing Protocols
Routing
protocol
Builds
Topological
map
Router can
independently
determine the
shortest path to
every network.
Convergence
A periodic/
event driven
routing updates
Use
of
LSP
Distance
vector
No No Slow Generally No No
Link State Yes Yes Fast Generally Yes Yes
Advantages of a Link-State Routing Protocol
Link-State Routing Protocols
• 2 link state routing protocols used for
routing IP
-Open Shortest Path First (OSPF)
-Intermediate System-Intermediate
System (IS-IS)
Summary
• Link State Routing protocols are also known as
Shortest Path First protocols
• Summarizing the link state process
-Routers 1ST learn of directly connected networks
-Routers then say “hello” to neighbors
-Routers then build link state packets
-Routers then flood LSPs to all neighbors
-Routers use LSP database to build a network topology map
& calculate the best path to each destination
Broadcasting and multicasting
• Broadcasting
– Send to every user in a network
• Multicasting
– Send to specific users in a network
Broadcasting routing
• N-way-unicasting
– Most straightforward way to send a broadcast
packet, to each destination is to make N copies,
one for every user. And then send one to each
user.
– Drawback: use a lot of bandwidth for one line.
Broadcasting routing
• Network duplication
– Using the network to create and distribute the
copies.
– Flooding, sending to all neighbors in the network.
Broadcasting routing: Flooding
• Uncontrolled flooding
– A fatal flaw with flooding.
• All nodes have two neighbors: Will broadcast packages
indefinitely.
• More then two neighbors: Will create a broadcast
storm.
Broadcasting routing: Flooding
• Controlled flooding
– SNCF(Sequence-number-controlled flooding)
• Every sender node puts its address and broadcast
sequence-number in the broadcast packet.
• Every node has a memory of the address and number
of each packet it has duplicated and sent.
• If it receives a packet in the memory it drops the
packet. If not it forward-copy it to its neighbors.
Broadcasting routing: Flooding
• Controlled flooding
– RPF (Reverse path forwarding)
• Only sends packet forward if it is received from the next
node in the shortest path back to the sender.
• Spanning-Tree Broadcast
• Limits number of sent packets.
• Creates a path for each node to forward received
packets. A so called minimum spanning-tree.
• This is done by routing algorithms.
Broadcasting routing
Creating a center based spanning-tree
A central node is defined.
Then all nodes sends a message at the same time towards
the center node until they arrive at ether the center node
or a node that’s already a part of the tree.
Broadcasting routing
• Spanning-Tree Broadcast
• Managing a group
– IGMP(Internet group management protocol).
– Provides the means for a host to inform the router
that it wants to join a multicast group.
– It has 3 message types, used for management of
the group.
• Membership_Query For joining the group
• Membership_Report For acknowledgements
• Leave_Group For leaving the group
Multicasting
A multicast packet is sent by address
indirection.
A single identifier for all the receivers.
This is done by a multicast group.
• Multicasting routing using a group-shared
tree.
– Similar to the spanning-tree broadcast.
– May use nodes not in the group to “jump”
between different parts of the group.
Multicasting routing algorithms
Multicasting routing using a source-based tree
•Using a RPF(reverse path forwarding) algorithm
each node gets its own spanning tree.
•This is better when many users wants to
communicate with many users.
computer Netwoks - network layer
computer Netwoks - network layer
computer Netwoks - network layer
computer Netwoks - network layer
computer Netwoks - network layer

More Related Content

What's hot

Cs8792 cns - unit iv
Cs8792   cns - unit ivCs8792   cns - unit iv
Cs8792 cns - unit ivArthyR3
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocolsMenaga Selvaraj
 
Remote Procedure Call (RPC) Server creation semantics & call semantics
Remote Procedure Call (RPC) Server creation semantics & call semanticsRemote Procedure Call (RPC) Server creation semantics & call semantics
Remote Procedure Call (RPC) Server creation semantics & call semanticssvm
 
RPC communication,thread and processes
RPC communication,thread and processesRPC communication,thread and processes
RPC communication,thread and processesshraddha mane
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake Alok Tripathi
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc networkshashi712
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer ProtocolUjjayanta Bhaumik
 
Peer to peer Paradigms
Peer to peer ParadigmsPeer to peer Paradigms
Peer to peer Paradigmshassan ahmed
 
Computer network switching
Computer network switchingComputer network switching
Computer network switchingShivani Godha
 
Distance Vector Routing Protocols
Distance Vector Routing ProtocolsDistance Vector Routing Protocols
Distance Vector Routing ProtocolsKABILESH RAMAR
 
cpu scheduling
cpu schedulingcpu scheduling
cpu schedulinghashim102
 
Distributed shared memory shyam soni
Distributed shared memory shyam soniDistributed shared memory shyam soni
Distributed shared memory shyam soniShyam Soni
 

What's hot (20)

Cs8792 cns - unit iv
Cs8792   cns - unit ivCs8792   cns - unit iv
Cs8792 cns - unit iv
 
Csma cd and csma-ca
Csma cd and csma-caCsma cd and csma-ca
Csma cd and csma-ca
 
Transportlayer tanenbaum
Transportlayer tanenbaumTransportlayer tanenbaum
Transportlayer tanenbaum
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
 
Remote Procedure Call (RPC) Server creation semantics & call semantics
Remote Procedure Call (RPC) Server creation semantics & call semanticsRemote Procedure Call (RPC) Server creation semantics & call semantics
Remote Procedure Call (RPC) Server creation semantics & call semantics
 
RPC communication,thread and processes
RPC communication,thread and processesRPC communication,thread and processes
RPC communication,thread and processes
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake
 
Distributed deadlock
Distributed deadlockDistributed deadlock
Distributed deadlock
 
Message passing in Distributed Computing Systems
Message passing in Distributed Computing SystemsMessage passing in Distributed Computing Systems
Message passing in Distributed Computing Systems
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc network
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Peer to peer Paradigms
Peer to peer ParadigmsPeer to peer Paradigms
Peer to peer Paradigms
 
Modes of Operation
Modes of Operation Modes of Operation
Modes of Operation
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Shared memory
Shared memoryShared memory
Shared memory
 
Distance Vector Routing Protocols
Distance Vector Routing ProtocolsDistance Vector Routing Protocols
Distance Vector Routing Protocols
 
cpu scheduling
cpu schedulingcpu scheduling
cpu scheduling
 
Distributed shared memory shyam soni
Distributed shared memory shyam soniDistributed shared memory shyam soni
Distributed shared memory shyam soni
 
Cache memory
Cache memoryCache memory
Cache memory
 

Similar to computer Netwoks - network layer

Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxHODElex
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxHODElex
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)ZainabShahzad9
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iiiJAIGANESH SEKAR
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocolsassinha
 
Routing and IP in Advance Computer Network,Vikram Snehi
Routing and IP in Advance Computer Network,Vikram  SnehiRouting and IP in Advance Computer Network,Vikram  Snehi
Routing and IP in Advance Computer Network,Vikram SnehiMR. VIKRAM SNEHI
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptanushaj46
 
Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Mugabo4
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxAayushMishra89
 
Multicast routing protocols
Multicast routing protocolsMulticast routing protocols
Multicast routing protocolsKanwalBloach
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7Tutun Juhana
 

Similar to computer Netwoks - network layer (20)

Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptx
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocols
 
Ospf
OspfOspf
Ospf
 
Qs.pptx
Qs.pptxQs.pptx
Qs.pptx
 
11 routing
11 routing11 routing
11 routing
 
Routing and IP in Advance Computer Network,Vikram Snehi
Routing and IP in Advance Computer Network,Vikram  SnehiRouting and IP in Advance Computer Network,Vikram  Snehi
Routing and IP in Advance Computer Network,Vikram Snehi
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
 
Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptx
 
routing
routingrouting
routing
 
Routing
RoutingRouting
Routing
 
Multicast routing protocols
Multicast routing protocolsMulticast routing protocols
Multicast routing protocols
 
Multicast routing
Multicast routingMulticast routing
Multicast routing
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7
 

Recently uploaded

Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 

Recently uploaded (20)

Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 

computer Netwoks - network layer

  • 1. Link-State Routing • The shortest path to a destination is not necessarily the path with the least number of hops
  • 2. Link-State Routing Link-State Routing Process • How routers using Link State Routing Protocols reach convergence • -Each routers learns about its own directly connected networks • -Link state routers exchange hello packet to “meet” other directly • connected link state routers. • -Each router builds its own Link State Packet (LSP) which includes information about neighbors such as neighbor ID, link type, & bandwidth. • -After the LSP is created the router floods it to all neighbors who then store the information and then forward it until all routers have the same information. • -Once all the routers have received all the LSPs, the routers then construct a topological map of the network which is used to determine the best routes to a destination
  • 3. Link-State Routing • Directly Connected Networks • Link This is an interface on a router • Link state This is the information about the state of the links
  • 4. Link-State Routing Sending Hello Packets to Neighbors • Link state routing protocols use a hello protocol Purpose of a hello protocol: -To discover neighbors (that use the same link state routing protocol) on its link
  • 5. Link-State Routing Building the Link State Packet • Each router builds its own Link State Packet (LSP) Contents of LSP: -State of each directly connected link -Includes information about neighbors such as neighbor ID, link type, & bandwidth.
  • 6. Link-State Routing Flooding LSPs to Neighbors • Once LSP are created they are forwarded out to neighbors. – -After receiving the LSP the neighbor continues to forward it throughout routing area.
  • 7. Link-State Routing • Determining the shortest path – The shortest path to a destination determined by adding the costs & finding the lowest cost
  • 9. Link-State Routing Protocols Routing protocol Builds Topological map Router can independently determine the shortest path to every network. Convergence A periodic/ event driven routing updates Use of LSP Distance vector No No Slow Generally No No Link State Yes Yes Fast Generally Yes Yes Advantages of a Link-State Routing Protocol
  • 10. Link-State Routing Protocols • 2 link state routing protocols used for routing IP -Open Shortest Path First (OSPF) -Intermediate System-Intermediate System (IS-IS)
  • 11. Summary • Link State Routing protocols are also known as Shortest Path First protocols • Summarizing the link state process -Routers 1ST learn of directly connected networks -Routers then say “hello” to neighbors -Routers then build link state packets -Routers then flood LSPs to all neighbors -Routers use LSP database to build a network topology map & calculate the best path to each destination
  • 12.
  • 13.
  • 14. Broadcasting and multicasting • Broadcasting – Send to every user in a network • Multicasting – Send to specific users in a network
  • 15. Broadcasting routing • N-way-unicasting – Most straightforward way to send a broadcast packet, to each destination is to make N copies, one for every user. And then send one to each user. – Drawback: use a lot of bandwidth for one line.
  • 16. Broadcasting routing • Network duplication – Using the network to create and distribute the copies. – Flooding, sending to all neighbors in the network.
  • 17. Broadcasting routing: Flooding • Uncontrolled flooding – A fatal flaw with flooding. • All nodes have two neighbors: Will broadcast packages indefinitely. • More then two neighbors: Will create a broadcast storm.
  • 18. Broadcasting routing: Flooding • Controlled flooding – SNCF(Sequence-number-controlled flooding) • Every sender node puts its address and broadcast sequence-number in the broadcast packet. • Every node has a memory of the address and number of each packet it has duplicated and sent. • If it receives a packet in the memory it drops the packet. If not it forward-copy it to its neighbors.
  • 19. Broadcasting routing: Flooding • Controlled flooding – RPF (Reverse path forwarding) • Only sends packet forward if it is received from the next node in the shortest path back to the sender.
  • 20. • Spanning-Tree Broadcast • Limits number of sent packets. • Creates a path for each node to forward received packets. A so called minimum spanning-tree. • This is done by routing algorithms. Broadcasting routing Creating a center based spanning-tree A central node is defined. Then all nodes sends a message at the same time towards the center node until they arrive at ether the center node or a node that’s already a part of the tree.
  • 22. • Managing a group – IGMP(Internet group management protocol). – Provides the means for a host to inform the router that it wants to join a multicast group. – It has 3 message types, used for management of the group. • Membership_Query For joining the group • Membership_Report For acknowledgements • Leave_Group For leaving the group Multicasting A multicast packet is sent by address indirection. A single identifier for all the receivers. This is done by a multicast group.
  • 23. • Multicasting routing using a group-shared tree. – Similar to the spanning-tree broadcast. – May use nodes not in the group to “jump” between different parts of the group. Multicasting routing algorithms Multicasting routing using a source-based tree •Using a RPF(reverse path forwarding) algorithm each node gets its own spanning tree. •This is better when many users wants to communicate with many users.