Topic Name : Routing
(distance vector & link state)
Group Name: Ethernet
152-15-6232 [ Md. Touhidur Rahman]
152-15-6235 [Hasan Md. Sad Abdullah]
Group Member 152-15-6236 [Sree Joyanto Chandro Barmon]
152-15-6237 [ Tusher Chandra Ghosh]
152-15-6229 [Md. Saddam Hossain]
Index
• Definition
• How it’s work
• Characteristics of Routers
• Algorithm
• Example
• Advantage & Disadvantage
• Reference
• Question Session
A computer network is a set of computers connected together for
the purpose of sharing resources.
Computer Network
Routing Routing is the process of selecting best paths in a network
Definition
Distance vector
Distance vector routing is a simple routing protocol used in
packet-switched networks that utilizes distance to decide the
best packet forwarding path. Distance is typically represented
by the hop count.
Definition
Link state routing is a complex routing technique in which
each router shares information with other routers about the
reachability of other networks and the metric to reach the
other networks in order to determine the best path
Link state
Definition
Computer networking presentation
Characteristics of Routers
1. Routers are multiport devices with high - speed backbones.
2. Routers also support filtering and encapsulation like bridges.
3. Like bridges routers are also self-learning, as they can
communicate their existence. to other devices and can learn
of the existence of new routers, nodes and LAN segments.
4. They typically provide some level of redundancy so that they
are less susceptible to catastrophic failure.
5. Routers constantly monitor the condition of the network, as a
whole to dynamically adapt to changes in the condition of the
network
DistanceVector Algorithme
Dijkstra’s algorithm:
 topology and link costs known to all nodes
o accomplished via “link state broadcast”
o
o all nodes have same info
 computes least cost paths from one node (source) to all
other nodes
o gives forwarding table for that node
 iterative: after k iterations, know least cost path to k
destination nodes
Link-State (LS) Routing Algorithm
S D(B),P(B) D(C),P(C) D(D),P(D) D(E),P(E)
A 3,A 4,A ∞ ∞
AB 3,A 4,A 8,B 12,B
ABC 3,A 4,A 5,C 12,B
ABCD 3,A 4,A 5,C 9,D
ABCDE 3,A 4,A 5,C 9,D
Example
Now the Shortest Path:
Working Procedure
1. This step calculates shortest distances. Do following |V|-1
times where |V| is the number of vertices in given graph.
2. This step initializes distances from source to all vertices as
infinite and distance to source itself as 0.
Do following for each edge u-v
(i) If dist[v] > dist[u] + weight of edge uv, then update
dist[v]
(ii) dist[v] = dist[u] + weight of edge uv
3. This step reports if there is a negative weight cycle in graph.
Do following for each edge u-v
I. If dist[v] > dist[u] + weight of edge uv, then “Graph
contains negative weight cycle”
DistanceVector Routing
InitialtableofA UpdatetableofA
To Cost Next
B 3 -
C 4 -
D ∞ -
E ∞ -
To Cost Next
B 3 -
C 4 -
D 5 C
E 9 C,D
Example
InitialtableofB UpdatetableofB
To Cost Next
A 3 -
C ∞ -
D 5 -
E 9 -
To Cost Next
A 3 -
C 6 D
D 5 -
E 9 -
Advantage & Disadvantage of Link-State Routing
Computer networking presentation
Advantage & Disadvantage of DistanceVector Routing
• www.google.com
• wikipedia.org
• www.cisco.com
Reference
Computer networking presentation
Thank You

More Related Content

PPT
Distance vector routing
PPTX
Routing Algorithm
PPTX
Comparative Analysis of Distance Vector Routing & Link State Protocols
PPTX
Distance Vector & Link state Routing Algorithm
PPT
Routing algorithm
PPTX
Distance Vector Routing Protocols
PDF
Lecture set 5
PPTX
Week13 lec2
Distance vector routing
Routing Algorithm
Comparative Analysis of Distance Vector Routing & Link State Protocols
Distance Vector & Link state Routing Algorithm
Routing algorithm
Distance Vector Routing Protocols
Lecture set 5
Week13 lec2

What's hot (20)

PDF
Interconnection Network
PPTX
Week13 lec1
PPTX
How Matlab Helps
PDF
Low-Complexity DFT-Based Channel Estimation with Leakage Nulling for OFDM Sys...
DOC
Performance comparison of XY,OE and DyAd routing algorithm by Load Variation...
PDF
Fpw chapter 4 - digital ctrl of dynamic systems
PDF
F43063841
PDF
End sem
PDF
Quiz 2
PPT
Bellmanford
PPTX
Week16 lec1
PDF
DASH: A C++ PGAS Library for Distributed Data Structures and Parallel Algorit...
PPTX
TWO STAGE NETWORKS
PDF
Chapter 5: Mapping and Scheduling
PDF
MIMO Communications
PDF
Chapter 7: Matrix Multiplication
PDF
Physical security with power beacon assisted in half-duplex relaying networks...
PDF
A SEMI BLIND CHANNEL ESTIMATION METHOD BASED ON HYBRID NEURAL NETWORKS FOR UP...
PDF
Performance Comparison of Modified Variable Step Size Leaky LMS Algorithm for...
PDF
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
Interconnection Network
Week13 lec1
How Matlab Helps
Low-Complexity DFT-Based Channel Estimation with Leakage Nulling for OFDM Sys...
Performance comparison of XY,OE and DyAd routing algorithm by Load Variation...
Fpw chapter 4 - digital ctrl of dynamic systems
F43063841
End sem
Quiz 2
Bellmanford
Week16 lec1
DASH: A C++ PGAS Library for Distributed Data Structures and Parallel Algorit...
TWO STAGE NETWORKS
Chapter 5: Mapping and Scheduling
MIMO Communications
Chapter 7: Matrix Multiplication
Physical security with power beacon assisted in half-duplex relaying networks...
A SEMI BLIND CHANNEL ESTIMATION METHOD BASED ON HYBRID NEURAL NETWORKS FOR UP...
Performance Comparison of Modified Variable Step Size Leaky LMS Algorithm for...
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
Ad

Similar to Computer networking presentation (20)

PPTX
PPT on Project Report Ashutosh Kumar.pptx
PDF
Cnetwork
PDF
IT6601 MOBILE COMPUTING
PDF
DCCN Network Layer congestion control TCP
PDF
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...
PPT
Wireless routing protocols
PPTX
Routing Protocols.pptx
PPTX
a-seminar-on-manet.pptx
PPTX
Module 3- transport_layer .pptx
PPT
Lec-9-Couche Reseau1111111111111111111111111111111
PPTX
Network Layer
PDF
IRJET- Survey on Adaptive Routing Algorithms
PDF
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
PDF
SIMULATION AND ANALYSIS OF AODV, DSDV, ZRP IN VANET
PPTX
Distance_Vector_Routing.pptx
PDF
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOL
PPTX
Computer Networking Michaelmas/Lent Term M/W/F 11:00-12:00 LT1 in Gates Buil...
PPTX
UNIT2-nw layer autonomy.pptx
PPTX
dms slide discrete mathematics sem 2 engineering
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PPT on Project Report Ashutosh Kumar.pptx
Cnetwork
IT6601 MOBILE COMPUTING
DCCN Network Layer congestion control TCP
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...
Wireless routing protocols
Routing Protocols.pptx
a-seminar-on-manet.pptx
Module 3- transport_layer .pptx
Lec-9-Couche Reseau1111111111111111111111111111111
Network Layer
IRJET- Survey on Adaptive Routing Algorithms
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
SIMULATION AND ANALYSIS OF AODV, DSDV, ZRP IN VANET
Distance_Vector_Routing.pptx
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOL
Computer Networking Michaelmas/Lent Term M/W/F 11:00-12:00 LT1 in Gates Buil...
UNIT2-nw layer autonomy.pptx
dms slide discrete mathematics sem 2 engineering
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Ad

More from Md. Touhidur Rahman (13)

PPTX
Industrial management presentation
PPTX
Computer graphices presentation
PPT
Presentation simulation
PPTX
Presentation operating system
PPTX
Presentation compiler design
PPT
Numerical presentation
PPTX
Presentation of database management system
PPTX
Architecture presentation
PPTX
Semiconductor
PPTX
Data communication presentation
PPTX
Theory of computing presentation
PPT
Statistics presentation
PPTX
Production of Cost
Industrial management presentation
Computer graphices presentation
Presentation simulation
Presentation operating system
Presentation compiler design
Numerical presentation
Presentation of database management system
Architecture presentation
Semiconductor
Data communication presentation
Theory of computing presentation
Statistics presentation
Production of Cost

Recently uploaded (20)

PPTX
F&B 5th Semester exam Class Notes (2).pptx
PPTX
Unit-5 .pptx sem 3 electrical circuits and machines
PPTX
Installation and Maintenance in Hardware
PDF
F311 CommSys_Lecture 02.pdffffffffffffff
PPTX
IC Integrated circuits ppt for undergraduate course.pptx
PDF
crc presentation44444444444444444444.pdf
PPTX
vinay_mahavar_enhanddsfsdfssdfssfced.pptx
PPTX
Java_Basics_Grade6 powerpoint prese.pptx
PDF
Delhi c@lL girl$ in delhi cute girls with travel with family call now with cu...
DOC
咨询SBC毕业证学历认证,林顿伍德大学毕业证买大学文凭
PPTX
How Internet Videos Changed Education
PPTX
Influenza jskss isksnz zjznsjdjd dxiejdj.pptx
PPTX
jsppresentation-1jsppresentation-160407040755.pptx60407040755.pptx
PPTX
PUBLIC ADMINISTRATIONS -104-GROUP-1.pptx
PPTX
vinay_mahavar_industrial_training_3D.pptx
PPTX
Ways of Finding Calm In Everyday Life
PPTX
Quiz template 300 pages advanced and Tech friendly
PDF
Cattle Scales (https://cattlescales.com.au/)
PDF
Delhi girls lifestyle call now girls with travel and enjoy with family call n...
PPTX
UAV WHAT MINERAL ARE REQUIRED FOR MAKING OF UAV
F&B 5th Semester exam Class Notes (2).pptx
Unit-5 .pptx sem 3 electrical circuits and machines
Installation and Maintenance in Hardware
F311 CommSys_Lecture 02.pdffffffffffffff
IC Integrated circuits ppt for undergraduate course.pptx
crc presentation44444444444444444444.pdf
vinay_mahavar_enhanddsfsdfssdfssfced.pptx
Java_Basics_Grade6 powerpoint prese.pptx
Delhi c@lL girl$ in delhi cute girls with travel with family call now with cu...
咨询SBC毕业证学历认证,林顿伍德大学毕业证买大学文凭
How Internet Videos Changed Education
Influenza jskss isksnz zjznsjdjd dxiejdj.pptx
jsppresentation-1jsppresentation-160407040755.pptx60407040755.pptx
PUBLIC ADMINISTRATIONS -104-GROUP-1.pptx
vinay_mahavar_industrial_training_3D.pptx
Ways of Finding Calm In Everyday Life
Quiz template 300 pages advanced and Tech friendly
Cattle Scales (https://cattlescales.com.au/)
Delhi girls lifestyle call now girls with travel and enjoy with family call n...
UAV WHAT MINERAL ARE REQUIRED FOR MAKING OF UAV

Computer networking presentation

  • 1. Topic Name : Routing (distance vector & link state) Group Name: Ethernet
  • 2. 152-15-6232 [ Md. Touhidur Rahman] 152-15-6235 [Hasan Md. Sad Abdullah] Group Member 152-15-6236 [Sree Joyanto Chandro Barmon] 152-15-6237 [ Tusher Chandra Ghosh] 152-15-6229 [Md. Saddam Hossain]
  • 3. Index • Definition • How it’s work • Characteristics of Routers • Algorithm • Example • Advantage & Disadvantage • Reference • Question Session
  • 4. A computer network is a set of computers connected together for the purpose of sharing resources. Computer Network Routing Routing is the process of selecting best paths in a network Definition
  • 5. Distance vector Distance vector routing is a simple routing protocol used in packet-switched networks that utilizes distance to decide the best packet forwarding path. Distance is typically represented by the hop count. Definition
  • 6. Link state routing is a complex routing technique in which each router shares information with other routers about the reachability of other networks and the metric to reach the other networks in order to determine the best path Link state Definition
  • 8. Characteristics of Routers 1. Routers are multiport devices with high - speed backbones. 2. Routers also support filtering and encapsulation like bridges. 3. Like bridges routers are also self-learning, as they can communicate their existence. to other devices and can learn of the existence of new routers, nodes and LAN segments. 4. They typically provide some level of redundancy so that they are less susceptible to catastrophic failure. 5. Routers constantly monitor the condition of the network, as a whole to dynamically adapt to changes in the condition of the network
  • 10. Dijkstra’s algorithm:  topology and link costs known to all nodes o accomplished via “link state broadcast” o o all nodes have same info  computes least cost paths from one node (source) to all other nodes o gives forwarding table for that node  iterative: after k iterations, know least cost path to k destination nodes Link-State (LS) Routing Algorithm
  • 11. S D(B),P(B) D(C),P(C) D(D),P(D) D(E),P(E) A 3,A 4,A ∞ ∞ AB 3,A 4,A 8,B 12,B ABC 3,A 4,A 5,C 12,B ABCD 3,A 4,A 5,C 9,D ABCDE 3,A 4,A 5,C 9,D Example
  • 13. Working Procedure 1. This step calculates shortest distances. Do following |V|-1 times where |V| is the number of vertices in given graph. 2. This step initializes distances from source to all vertices as infinite and distance to source itself as 0. Do following for each edge u-v (i) If dist[v] > dist[u] + weight of edge uv, then update dist[v] (ii) dist[v] = dist[u] + weight of edge uv 3. This step reports if there is a negative weight cycle in graph. Do following for each edge u-v I. If dist[v] > dist[u] + weight of edge uv, then “Graph contains negative weight cycle” DistanceVector Routing
  • 14. InitialtableofA UpdatetableofA To Cost Next B 3 - C 4 - D ∞ - E ∞ - To Cost Next B 3 - C 4 - D 5 C E 9 C,D Example
  • 15. InitialtableofB UpdatetableofB To Cost Next A 3 - C ∞ - D 5 - E 9 - To Cost Next A 3 - C 6 D D 5 - E 9 -
  • 16. Advantage & Disadvantage of Link-State Routing
  • 18. Advantage & Disadvantage of DistanceVector Routing
  • 19. • www.google.com • wikipedia.org • www.cisco.com Reference