SlideShare a Scribd company logo
1 of 62
Download to read offline
Routing Protocols:RIP, OSPF, and BGP
Amitava Nag
Assistant Professor
amitava.nag@aot.edu.in
April 11, 2012
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 1 / 23
What is routing?
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
What is routing?
Finding a path to a destination address
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
What is routing?
Finding a path to a destination address
Routing is performed for many kinds of networks, including the
telephone network (Circuit switching) , electronic data networks (such
as the Internet).
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
What is routing?
Finding a path to a destination address
Routing is performed for many kinds of networks, including the
telephone network (Circuit switching) , electronic data networks (such
as the Internet).
In computer networking a Routing table, or Routing Information Base
(RIB), is a data structure in the form of a table-like object
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
What is routing?
Finding a path to a destination address
Routing is performed for many kinds of networks, including the
telephone network (Circuit switching) , electronic data networks (such
as the Internet).
In computer networking a Routing table, or Routing Information Base
(RIB), is a data structure in the form of a table-like object
A Routing table is stored either in a router or a networked computer
that lists the routes to particular network destinations.
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
What is routing?
Finding a path to a destination address
Routing is performed for many kinds of networks, including the
telephone network (Circuit switching) , electronic data networks (such
as the Internet).
In computer networking a Routing table, or Routing Information Base
(RIB), is a data structure in the form of a table-like object
A Routing table is stored either in a router or a networked computer
that lists the routes to particular network destinations.
The routing table contains information about the topology of the
network immediately around it.
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
Common Fields Of Routing Table
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 3 / 23
IP Routing Basics
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 4 / 23
Static or Dynamic
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Entries are configured manually
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Entries are configured manually
Fixes routes at boot time
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Entries are configured manually
Fixes routes at boot time
Useful only for simplest cases
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Entries are configured manually
Fixes routes at boot time
Useful only for simplest cases
2 Dynamic Routing - A routing protocol is ”trying” to find the best way
to a given destination
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Entries are configured manually
Fixes routes at boot time
Useful only for simplest cases
2 Dynamic Routing - A routing protocol is ”trying” to find the best way
to a given destination
entries are learned by routing protocols
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Entries are configured manually
Fixes routes at boot time
Useful only for simplest cases
2 Dynamic Routing - A routing protocol is ”trying” to find the best way
to a given destination
entries are learned by routing protocols
Table initialized at boot time
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
Static or Dynamic
1 Static routing - YOU are defining the way packets are going
Entries are configured manually
Fixes routes at boot time
Useful only for simplest cases
2 Dynamic Routing - A routing protocol is ”trying” to find the best way
to a given destination
entries are learned by routing protocols
Table initialized at boot time
Necessary in large internets
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
INTRA- AND INTERDOMAIN ROUTING
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
INTRA- AND INTERDOMAIN ROUTING
An Autonomous system(AS) is a group of networks and routers under
the authority of a single administration.
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
INTRA- AND INTERDOMAIN ROUTING
An Autonomous system(AS) is a group of networks and routers under
the authority of a single administration.
Routing inside an autonomous system is referred to as intradomain
routing.
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
INTRA- AND INTERDOMAIN ROUTING
An Autonomous system(AS) is a group of networks and routers under
the authority of a single administration.
Routing inside an autonomous system is referred to as intradomain
routing.
Routing between autonomous systems is referred to as interdomain
routing.
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
Autonomous systems
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 7 / 23
Popular routing protocols
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 8 / 23
Intradomain (Intra-AS) Routing
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
Intradomain (Intra-AS) Routing
also known as Interior Gateway Protocols (IGP)
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
Intradomain (Intra-AS) Routing
also known as Interior Gateway Protocols (IGP)
most common Intradomain routing protocols:
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
Intradomain (Intra-AS) Routing
also known as Interior Gateway Protocols (IGP)
most common Intradomain routing protocols:
RIP: Routing Information Protocol
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
Intradomain (Intra-AS) Routing
also known as Interior Gateway Protocols (IGP)
most common Intradomain routing protocols:
RIP: Routing Information Protocol
OSPF: Open Shortest Path First
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
Intradomain (Intra-AS) Routing
also known as Interior Gateway Protocols (IGP)
most common Intradomain routing protocols:
RIP: Routing Information Protocol
OSPF: Open Shortest Path First
IGRP: Interior Gateway Routing Protocol (Cisco proprietary)
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Each router maintains a vector (table) of minimum distances to every
node
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Each router maintains a vector (table) of minimum distances to every
node
After powering-up each router only knows about directly attached
networks
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Each router maintains a vector (table) of minimum distances to every
node
After powering-up each router only knows about directly attached
networks
Routing table is sent periodically to all neighbour-routers
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Each router maintains a vector (table) of minimum distances to every
node
After powering-up each router only knows about directly attached
networks
Routing table is sent periodically to all neighbour-routers
Received updates are examined, changes are adopted in own routing
table
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Each router maintains a vector (table) of minimum distances to every
node
After powering-up each router only knows about directly attached
networks
Routing table is sent periodically to all neighbour-routers
Received updates are examined, changes are adopted in own routing
table
Metric information (originally) is number of hops
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Each router maintains a vector (table) of minimum distances to every
node
After powering-up each router only knows about directly attached
networks
Routing table is sent periodically to all neighbour-routers
Received updates are examined, changes are adopted in own routing
table
Metric information (originally) is number of hops
Use ”Bellman-Ford” algorithm
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
DISTANCE VECTOR ROUTING
In distance vector routing,
The least cost route between any two nodes(routers) is the route with
minimum distance.
Each router maintains a vector (table) of minimum distances to every
node
After powering-up each router only knows about directly attached
networks
Routing table is sent periodically to all neighbour-routers
Received updates are examined, changes are adopted in own routing
table
Metric information (originally) is number of hops
Use ”Bellman-Ford” algorithm
Examples: RIP, RIPv2, IGRP (Cisco)
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
Initialization of tables in distance vector routing
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 11 / 23
Updating in distance vector routing
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 12 / 23
Distance vector routing tables
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 13 / 23
Two-node instability
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 14 / 23
Count to infinity
In this example we see what would happen if network link between router x
and router A crashes. Immediately, router A has no more information
about this net. What would happen if router B sends a routing update
now?
Now router A receives a routing update from router B including reach
ability information about router x. Because router A has no information
about router x, A adds this information in his routing table and continuous
sending his normal routing updates to router B, hereby increasing the hop
count by 1.
Either router A or router B has information about the router x, both
router will increase the hop count by 1 every routing update. Count to
infinity occurs. Now Update packets are caught in a routing loop.
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 15 / 23
Example: Two-node instability
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 16 / 23
Example: Two-node instability
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 17 / 23
Split Horizon
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
Split Horizon
A router will not send information about routes through an interface
over which the router has learned about those routes - Exactly THIS
is split horizon
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
Split Horizon
A router will not send information about routes through an interface
over which the router has learned about those routes - Exactly THIS
is split horizon
Idea: ”Don’t tell neighbor of routes that you learned from this
neighbor”
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
Split Horizon
A router will not send information about routes through an interface
over which the router has learned about those routes - Exactly THIS
is split horizon
Idea: ”Don’t tell neighbor of routes that you learned from this
neighbor”
That’s what humans (almost) always do: Don’t tell me what I’ve told
you !
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
Split Horizon
A router will not send information about routes through an interface
over which the router has learned about those routes - Exactly THIS
is split horizon
Idea: ”Don’t tell neighbor of routes that you learned from this
neighbor”
That’s what humans (almost) always do: Don’t tell me what I’ve told
you !
Cannot 100
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
Split Horizon with Poison Reverse
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
Split Horizon with Poison Reverse
Declare learned routes as unreachable
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
Split Horizon with Poison Reverse
Declare learned routes as unreachable
”Bad news is better than no news at all”
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
Split Horizon with Poison Reverse
Declare learned routes as unreachable
”Bad news is better than no news at all”
Stops potential loops due to corrupted routing updates
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
Example: Split Horizon With Poison Reverse
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 20 / 23
Link State Routing
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
Link State Routing
Each node in the domain has the entire topology of the domain
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
Link State Routing
Each node in the domain has the entire topology of the domain
the node can use Dijkstras algorithm to build a routing table
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
Link State Routing
Each node in the domain has the entire topology of the domain
the node can use Dijkstras algorithm to build a routing table
link-state: each router exchanges information about its
neighborhood with all routers in the network when there is a change
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
Concept of Link State Routing
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 22 / 23
The End
Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 23 / 23

More Related Content

Viewers also liked

Distance vector and link state routing protocol
Distance vector and link state routing protocolDistance vector and link state routing protocol
Distance vector and link state routing protocolCCNAStudyGuide
 
Chapter 07 - Dvr
Chapter 07 - DvrChapter 07 - Dvr
Chapter 07 - Dvrphanleson
 
2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 TransitionJohnson Liu
 
Exploration Routing Chapter 4
Exploration Routing Chapter 4Exploration Routing Chapter 4
Exploration Routing Chapter 4thanh cong
 
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]APNIC
 
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...Vishal Sharma, Ph.D.
 
network convergence problem and solutions
network convergence  problem and solutionsnetwork convergence  problem and solutions
network convergence problem and solutionsSiddhi Viradiya
 
IPv6 Transition Strategies
IPv6 Transition StrategiesIPv6 Transition Strategies
IPv6 Transition StrategiesAPNIC
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)Siddhi Viradiya
 

Viewers also liked (20)

Distance vector and link state routing protocol
Distance vector and link state routing protocolDistance vector and link state routing protocol
Distance vector and link state routing protocol
 
Routing
RoutingRouting
Routing
 
IPv6 Transition,Transcición IPv6
IPv6 Transition,Transcición IPv6IPv6 Transition,Transcición IPv6
IPv6 Transition,Transcición IPv6
 
IPv6 Transition
IPv6 TransitionIPv6 Transition
IPv6 Transition
 
Link state protocols.ppt
Link state protocols.pptLink state protocols.ppt
Link state protocols.ppt
 
Chapter 07 - Dvr
Chapter 07 - DvrChapter 07 - Dvr
Chapter 07 - Dvr
 
2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition
 
Exploration Routing Chapter 4
Exploration Routing Chapter 4Exploration Routing Chapter 4
Exploration Routing Chapter 4
 
Link State Protocol
Link State ProtocolLink State Protocol
Link State Protocol
 
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
 
RIP Loop Prevention
RIP Loop PreventionRIP Loop Prevention
RIP Loop Prevention
 
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
 
network convergence problem and solutions
network convergence  problem and solutionsnetwork convergence  problem and solutions
network convergence problem and solutions
 
IPv6 Transition Considerations for ISPs
IPv6 Transition Considerations for ISPsIPv6 Transition Considerations for ISPs
IPv6 Transition Considerations for ISPs
 
IPv6 Transition Strategies
IPv6 Transition StrategiesIPv6 Transition Strategies
IPv6 Transition Strategies
 
Rip
RipRip
Rip
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Ipv6
Ipv6Ipv6
Ipv6
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 

Similar to Routing

Introduction to Router and Routing Basics
Introduction to Router and Routing BasicsIntroduction to Router and Routing Basics
Introduction to Router and Routing BasicsDarwish Ahmad
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptumardanjumamaiwada
 
EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...
EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...
EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...cscpconf
 
Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...
Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...
Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...pijans
 
Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...
Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...
Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...IRJET Journal
 
Network Performance Analysis of Dynamic Routing Protocols for Real Time Appl...
Network Performance Analysis of Dynamic Routing Protocols for  Real Time Appl...Network Performance Analysis of Dynamic Routing Protocols for  Real Time Appl...
Network Performance Analysis of Dynamic Routing Protocols for Real Time Appl...IJMER
 
A Review of Ad hoc on demand distance vector routing and proposed AR-AODV
A Review of Ad hoc on demand distance vector routing and proposed AR-AODVA Review of Ad hoc on demand distance vector routing and proposed AR-AODV
A Review of Ad hoc on demand distance vector routing and proposed AR-AODVEditor IJMTER
 
The Hybrid AODV routing protocol for path establishment in MANET
The Hybrid AODV routing protocol for path establishment in MANETThe Hybrid AODV routing protocol for path establishment in MANET
The Hybrid AODV routing protocol for path establishment in MANETIRJET Journal
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceresearchinventy
 
Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...
Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...
Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...ijceronline
 
The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...
The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...
The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...Narendra Singh Yadav
 
EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...
EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...
EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...Editor IJMTER
 
Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...
Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...
Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...IOSR Journals
 
Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...
Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...
Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...IJCNCJournal
 
BGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationAndy Davidson
 
Routing Protocols in Zigbee Based networks: A Survey
Routing Protocols in Zigbee Based networks: A SurveyRouting Protocols in Zigbee Based networks: A Survey
Routing Protocols in Zigbee Based networks: A SurveyIJEEE
 

Similar to Routing (20)

Introduction to Router and Routing Basics
Introduction to Router and Routing BasicsIntroduction to Router and Routing Basics
Introduction to Router and Routing Basics
 
Arun project-Final
Arun project-FinalArun project-Final
Arun project-Final
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.ppt
 
Ipv4 ppt
Ipv4 pptIpv4 ppt
Ipv4 ppt
 
EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...
EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...
EVALUATION OF PROACTIVE, REACTIVE AND HYBRID AD HOC ROUTING PROTOCOL FOR IEEE...
 
Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...
Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...
Performance Evaluation AODV, DYMO, OLSR and ZRPAD Hoc Routing Protocol for IE...
 
Ijetcas14 330
Ijetcas14 330Ijetcas14 330
Ijetcas14 330
 
Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...
Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...
Review and Analysis of Reactive Routing Protocols: AODV, DSR, TORA and DYMO i...
 
Network Performance Analysis of Dynamic Routing Protocols for Real Time Appl...
Network Performance Analysis of Dynamic Routing Protocols for  Real Time Appl...Network Performance Analysis of Dynamic Routing Protocols for  Real Time Appl...
Network Performance Analysis of Dynamic Routing Protocols for Real Time Appl...
 
A Review of Ad hoc on demand distance vector routing and proposed AR-AODV
A Review of Ad hoc on demand distance vector routing and proposed AR-AODVA Review of Ad hoc on demand distance vector routing and proposed AR-AODV
A Review of Ad hoc on demand distance vector routing and proposed AR-AODV
 
The Hybrid AODV routing protocol for path establishment in MANET
The Hybrid AODV routing protocol for path establishment in MANETThe Hybrid AODV routing protocol for path establishment in MANET
The Hybrid AODV routing protocol for path establishment in MANET
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...
Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...
Performance Analysis of Ad-hoc on Demand Distance Vector Routing (AODV) and D...
 
The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...
The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...
The Effects of Speed on the Performance of Routing Protocols in Mobile Ad-hoc...
 
EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...
EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...
EFFECT OF PAUSE TIME AND NODES ON PERFORMANCE OF AODV AND DSR ROUTING PROTOCO...
 
Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...
Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...
Detecting Good Neighbor Nodes and Finding Reliable Routing Path Based on AODV...
 
Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...
Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...
Performance comparison of aodv and olsr using 802.11 a and dsrc (802.11p) pro...
 
Ij3415561561
Ij3415561561Ij3415561561
Ij3415561561
 
BGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing Optimisation
 
Routing Protocols in Zigbee Based networks: A Survey
Routing Protocols in Zigbee Based networks: A SurveyRouting Protocols in Zigbee Based networks: A Survey
Routing Protocols in Zigbee Based networks: A Survey
 

Recently uploaded

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 

Recently uploaded (20)

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 

Routing

  • 1. Routing Protocols:RIP, OSPF, and BGP Amitava Nag Assistant Professor amitava.nag@aot.edu.in April 11, 2012 Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 1 / 23
  • 2. What is routing? Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
  • 3. What is routing? Finding a path to a destination address Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
  • 4. What is routing? Finding a path to a destination address Routing is performed for many kinds of networks, including the telephone network (Circuit switching) , electronic data networks (such as the Internet). Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
  • 5. What is routing? Finding a path to a destination address Routing is performed for many kinds of networks, including the telephone network (Circuit switching) , electronic data networks (such as the Internet). In computer networking a Routing table, or Routing Information Base (RIB), is a data structure in the form of a table-like object Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
  • 6. What is routing? Finding a path to a destination address Routing is performed for many kinds of networks, including the telephone network (Circuit switching) , electronic data networks (such as the Internet). In computer networking a Routing table, or Routing Information Base (RIB), is a data structure in the form of a table-like object A Routing table is stored either in a router or a networked computer that lists the routes to particular network destinations. Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
  • 7. What is routing? Finding a path to a destination address Routing is performed for many kinds of networks, including the telephone network (Circuit switching) , electronic data networks (such as the Internet). In computer networking a Routing table, or Routing Information Base (RIB), is a data structure in the form of a table-like object A Routing table is stored either in a router or a networked computer that lists the routes to particular network destinations. The routing table contains information about the topology of the network immediately around it. Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 2 / 23
  • 8. Common Fields Of Routing Table Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 3 / 23
  • 9. IP Routing Basics Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 4 / 23
  • 10. Static or Dynamic Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 11. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 12. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Entries are configured manually Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 13. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Entries are configured manually Fixes routes at boot time Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 14. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Entries are configured manually Fixes routes at boot time Useful only for simplest cases Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 15. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Entries are configured manually Fixes routes at boot time Useful only for simplest cases 2 Dynamic Routing - A routing protocol is ”trying” to find the best way to a given destination Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 16. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Entries are configured manually Fixes routes at boot time Useful only for simplest cases 2 Dynamic Routing - A routing protocol is ”trying” to find the best way to a given destination entries are learned by routing protocols Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 17. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Entries are configured manually Fixes routes at boot time Useful only for simplest cases 2 Dynamic Routing - A routing protocol is ”trying” to find the best way to a given destination entries are learned by routing protocols Table initialized at boot time Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 18. Static or Dynamic 1 Static routing - YOU are defining the way packets are going Entries are configured manually Fixes routes at boot time Useful only for simplest cases 2 Dynamic Routing - A routing protocol is ”trying” to find the best way to a given destination entries are learned by routing protocols Table initialized at boot time Necessary in large internets Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 5 / 23
  • 19. INTRA- AND INTERDOMAIN ROUTING Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
  • 20. INTRA- AND INTERDOMAIN ROUTING An Autonomous system(AS) is a group of networks and routers under the authority of a single administration. Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
  • 21. INTRA- AND INTERDOMAIN ROUTING An Autonomous system(AS) is a group of networks and routers under the authority of a single administration. Routing inside an autonomous system is referred to as intradomain routing. Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
  • 22. INTRA- AND INTERDOMAIN ROUTING An Autonomous system(AS) is a group of networks and routers under the authority of a single administration. Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred to as interdomain routing. Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 6 / 23
  • 23. Autonomous systems Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 7 / 23
  • 24. Popular routing protocols Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 8 / 23
  • 25. Intradomain (Intra-AS) Routing Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
  • 26. Intradomain (Intra-AS) Routing also known as Interior Gateway Protocols (IGP) Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
  • 27. Intradomain (Intra-AS) Routing also known as Interior Gateway Protocols (IGP) most common Intradomain routing protocols: Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
  • 28. Intradomain (Intra-AS) Routing also known as Interior Gateway Protocols (IGP) most common Intradomain routing protocols: RIP: Routing Information Protocol Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
  • 29. Intradomain (Intra-AS) Routing also known as Interior Gateway Protocols (IGP) most common Intradomain routing protocols: RIP: Routing Information Protocol OSPF: Open Shortest Path First Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
  • 30. Intradomain (Intra-AS) Routing also known as Interior Gateway Protocols (IGP) most common Intradomain routing protocols: RIP: Routing Information Protocol OSPF: Open Shortest Path First IGRP: Interior Gateway Routing Protocol (Cisco proprietary) Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 9 / 23
  • 31. DISTANCE VECTOR ROUTING In distance vector routing, Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 32. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 33. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Each router maintains a vector (table) of minimum distances to every node Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 34. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Each router maintains a vector (table) of minimum distances to every node After powering-up each router only knows about directly attached networks Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 35. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Each router maintains a vector (table) of minimum distances to every node After powering-up each router only knows about directly attached networks Routing table is sent periodically to all neighbour-routers Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 36. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Each router maintains a vector (table) of minimum distances to every node After powering-up each router only knows about directly attached networks Routing table is sent periodically to all neighbour-routers Received updates are examined, changes are adopted in own routing table Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 37. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Each router maintains a vector (table) of minimum distances to every node After powering-up each router only knows about directly attached networks Routing table is sent periodically to all neighbour-routers Received updates are examined, changes are adopted in own routing table Metric information (originally) is number of hops Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 38. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Each router maintains a vector (table) of minimum distances to every node After powering-up each router only knows about directly attached networks Routing table is sent periodically to all neighbour-routers Received updates are examined, changes are adopted in own routing table Metric information (originally) is number of hops Use ”Bellman-Ford” algorithm Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 39. DISTANCE VECTOR ROUTING In distance vector routing, The least cost route between any two nodes(routers) is the route with minimum distance. Each router maintains a vector (table) of minimum distances to every node After powering-up each router only knows about directly attached networks Routing table is sent periodically to all neighbour-routers Received updates are examined, changes are adopted in own routing table Metric information (originally) is number of hops Use ”Bellman-Ford” algorithm Examples: RIP, RIPv2, IGRP (Cisco) Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 10 / 23
  • 40. Initialization of tables in distance vector routing Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 11 / 23
  • 41. Updating in distance vector routing Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 12 / 23
  • 42. Distance vector routing tables Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 13 / 23
  • 43. Two-node instability Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 14 / 23
  • 44. Count to infinity In this example we see what would happen if network link between router x and router A crashes. Immediately, router A has no more information about this net. What would happen if router B sends a routing update now? Now router A receives a routing update from router B including reach ability information about router x. Because router A has no information about router x, A adds this information in his routing table and continuous sending his normal routing updates to router B, hereby increasing the hop count by 1. Either router A or router B has information about the router x, both router will increase the hop count by 1 every routing update. Count to infinity occurs. Now Update packets are caught in a routing loop. Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 15 / 23
  • 45. Example: Two-node instability Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 16 / 23
  • 46. Example: Two-node instability Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 17 / 23
  • 47. Split Horizon Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
  • 48. Split Horizon A router will not send information about routes through an interface over which the router has learned about those routes - Exactly THIS is split horizon Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
  • 49. Split Horizon A router will not send information about routes through an interface over which the router has learned about those routes - Exactly THIS is split horizon Idea: ”Don’t tell neighbor of routes that you learned from this neighbor” Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
  • 50. Split Horizon A router will not send information about routes through an interface over which the router has learned about those routes - Exactly THIS is split horizon Idea: ”Don’t tell neighbor of routes that you learned from this neighbor” That’s what humans (almost) always do: Don’t tell me what I’ve told you ! Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
  • 51. Split Horizon A router will not send information about routes through an interface over which the router has learned about those routes - Exactly THIS is split horizon Idea: ”Don’t tell neighbor of routes that you learned from this neighbor” That’s what humans (almost) always do: Don’t tell me what I’ve told you ! Cannot 100 Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 18 / 23
  • 52. Split Horizon with Poison Reverse Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
  • 53. Split Horizon with Poison Reverse Declare learned routes as unreachable Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
  • 54. Split Horizon with Poison Reverse Declare learned routes as unreachable ”Bad news is better than no news at all” Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
  • 55. Split Horizon with Poison Reverse Declare learned routes as unreachable ”Bad news is better than no news at all” Stops potential loops due to corrupted routing updates Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 19 / 23
  • 56. Example: Split Horizon With Poison Reverse Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 20 / 23
  • 57. Link State Routing Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
  • 58. Link State Routing Each node in the domain has the entire topology of the domain Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
  • 59. Link State Routing Each node in the domain has the entire topology of the domain the node can use Dijkstras algorithm to build a routing table Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
  • 60. Link State Routing Each node in the domain has the entire topology of the domain the node can use Dijkstras algorithm to build a routing table link-state: each router exchanges information about its neighborhood with all routers in the network when there is a change Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 21 / 23
  • 61. Concept of Link State Routing Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 22 / 23
  • 62. The End Amitava Nag (Academy of Technology) Routing Protocols April 11, 2012 23 / 23