Routing Protocol Jan 22
Routing Protocol Jan 22
Routing Protocol Jan 22
• Functions of a Router
1. Best Path Selections
2. Forwarding packets to destination
• Autonomous System is a group of routers under the control of a single
authority.
• Interior Gateway Routing Protocols (IGP)
• Used for routing inside an autonomous system & used to route within
the individual networks themselves.
• Examples: RIP, EIGRP, OSPF
• Exterior Routing Protocols (EGP)
• Used for routing between autonomous systems
• Example: BGPv4
Classifying Routing Protocols
Dynamic routing protocols are grouped according to characteristics.
• Advantages of static routing
• Easy to configure
• No extra resources are needed
• More secure
• Disadvantages of static routing
• Network changes require manual reconfiguration
• Does not scale well in large topologies
• Advantages of implementing summary and default routes.
• Summary static routes can be used to help minimize the number of
static routes in the routing table.
Dynamic Routing Protocols
• Functions of Dynamic Routing Protocols:
• Dynamically share information between routers.
• Automatically update routing table when topology changes.
• Determine best path to a destination.
sh ip route
• The purpose of a dynamic routing protocol is to:
• Discover remote networks
• Maintaining up-to-date routing information
• Choosing the best path to destination networks
• Ability to find a new best path if the current path is no longer available
Distance Vector Routing Vs Link State Routing
Basis for comparison Distance vector routing Link state routing
Bellman ford (RIP)
Algorithm Dijsktra
DUAL (EIGRP)
Topology information from the
neighbor point of view. Complete information on the
Network view
Routes are advertised as vectors network topology
of distance & direction.
Best path calculation Based on the least number of
Based on the cost
(Metric) hops (RIP), Bandwidth (EIGRP)
Updates Full routing table Link state updates
Updates frequency Periodic updates Triggered updates
CPU and memory Low utilization Intensive
Requires a trained network
Simplicity High simplicity
administrator
Convergence time Moderate Fast
Updates On broadcast On multicast
• Convergence is defined as when all routers’ routing tables are at a state
of consistency
• all routers in the network have consistent and correct information
about how to reach destination network.
Network Discovery
• Convergence must be reached before a network is
considered completely operable
• Speed of achieving convergence consists of 2
interdependent categories
-Speed of broadcasting routing information
-Speed of calculating routes
• Classful routing protocols
• Do NOT send subnet
mask in routing updates
RIPv1 routing updates are broadcasted RIPv2 routing updates are multicasted
1. Update timer – 30sec (used to time when to send the next update)
2. Invalid timer – 180sec (used to mark a route as invalid by setting
the metric to 16 if an update has not been received to refresh an
existing route after 180 seconds. counts how long it has been since
the last update for a route)
3. Holddown timer – 180sec (the amount of time an unreachable
route is in hold-down)
4. Flush timer - 240sec (time until a route is removed from the routing
table)
Routing loops
1. Defining maximum metric to prevent count to infinity. Once a router counts to16, it
marks the route as unreachable.
2. Holddown timers - Holddown timers allow a router to not accept any changes to a
route for a specified period of time. Allows routing updates to propagate through
network with the most current information.
3. Split horizon - A router should not advertise a network through the interface from
which the update came.
4. Route poisoning or poison reverse - The rule states that once a router learns of an
unreachable route through an interface, advertise it as unreachable back through
the same interface
5. Triggered updates - A triggered update is a routing table update that is sent
immediately in response to a routing change. Triggered updates do not wait for
update timers to expire.
EIGRP (Enhanced Interior Gateway Routing Protocol)