Major Routing Protocols: Submitted By: Saeed Ali Shahani (Intern)
Major Routing Protocols: Submitted By: Saeed Ali Shahani (Intern)
Major Routing Protocols: Submitted By: Saeed Ali Shahani (Intern)
Date:
10-5-2016
Table of Contents
1
1.1.1
1.1.2
1.2
Classification .......................................................................................................................3
1.3
1.3.1
1.3.2
Link State.....................................................................................................................4
4.1
Introduction ........................................................................................................................7
4.2
1.
Hello: ..................................................................................................................................8
2.
DD/DBD: .............................................................................................................................8
3.
LSR: ....................................................................................................................................8
4.
LSU: ....................................................................................................................................8
5.
LSAck: .................................................................................................................................8
4.3
Router ID ............................................................................................................................8
4.4
4.5
4.6
4.7
4.8
Introduction ...................................................................................................................... 12
Types of Routing
1. Static
2. Dynamic
1.1.1
Static Routing
Hand type all network locations in routing table
Ideal for Small Organization
Simplest form of Routing
One way communication
Static routes use less bandwidth than dynamic routes
No CPU cycles are used to calculate and analyze routing updates.
1.1.2
Place information in routing table. If change occur it update the routing table automatically with all the
information
1.2
Classification
1. IGP stands Internal Gateway Protocol :work as a single autonomous number within small
organization
2. EGP Stands External Gateway Protocol :used for internet ISPs
IGP
EGP
RIP
OSPF
IGRP
EIGRP (Cisco Proprietary)
1.3
1.3.1
Distance Vector
1.3.2
Link State
Used in OSPF
It doesnt send link state packet like OSPF, but it send distance-vector plus reaching cost from
perspective of router
Best Path Selection with DUAL (Diffusing Update Algorithm)
Fast convergence
Efficient in neighbor discovery
Maximum Hop count 255
Load balancing over unequal cost links
Classless (VLSM support)
Hybrid routing protocol (distance vector that has link-state characteristics)
Multicast - 224.0.0.10
IP protocol 88
Neighbors advertise distance to specific network(s)
Default composite metric of bandwidth and delay
Load, reliability and MTU can be factored into metric
Send specific updates only when topology change occur
Admin distance is
90 for EIGRP internal routes
170 for EIGRP external routes
5 for EIGRP summary routes.
Introduction
Open-Shortest-Path-First (OSPF) is the most widely used interior gateway protocol routing protocol on
the world because it is a public (non-proprietary) routing protocol while its biggest rival, EIGRP, is a Cisco
proprietary protocol so other vendors cant use it. OSPF is a complex link-state routing protocol. Link
state routing protocols generate routing updates only when a change occurs in the network topology.
When a link changes state, the device that detected the change creates a link-state advertisement (LSA)
concerning that link and sends to all neighboring devices using a special multicast address. Each routing
device takes a copy of the LSA, updates its link-state database (LSDB), and forwards the LSA to all
neighboring devices.
OSPF routers use LSA (Link State Advertisement) to describe its link state. LSDB stores all LSAs.
A router uses Router LSA to describe its interface IP addresses.
After OSPF is started on a router, it creates LSDB that contains one entry: this routers Router
LSA.
4.2
4.3
Router ID
Uses COST as a metric which CISCO defines as the inverse of the bandwidth
Uses AREAs to subdivide large networks, providing a hierarchical structure and limit the
multicast LSAs within routers of the same area
Area 0 is called backbone area and all other areas connect directly to it. All OSPF networks
must have a backbone area
Area Border Routers (ABR) are any routers that have one interface in one area and another
interface in another area
4.5
OSPF Tables:
4.7
LSA Types
OSPF Virtual Link: - Once the ospf router becomes adjacencies then the virtual link will be up. If
between the routers there is firewall then we need to open port 89 first. Area cant be stub area.
At least one end reside at area 0
Both end router must share the common area
Route Summarization: - Route summarization can reduce the number of routes that a router
must maintain, because it is a method of representing a series of network in a single summary
address
Introduction
Border Gateway Protocol (BGP) is a standardized exterior gateway protocol designed to exchange
routing and reachability information between autonomous systems (AS) on the Internet.
The protocol is often classified as a path vector protocol but is sometimes also classed as a distance
vector routing protocol. The Border Gateway Protocol makes routing decisions based on paths, network
policies, or rule-sets configured by a network administrator and is involved in making core routing
decisions.
BGP may be used for routing within an autonomous system. In this application it is referred to as
Interior Border Gateway Protocol, Internal BGP, or iBGP. In contrast, the Internet application of the
protocol may be referred to as Exterior Border Gateway Protocol, External BGP, or EBGP.
Figure
5.2
Multihoming Environment
Having two or more upstream providers for internet connectivity is considered as Multihoming
Environment. Multihoming ensures redundancy with best available path towards the specified
destination. BGP is considered as the best protocol to be used in this environment.
Following techniques are available to implement Multihoming
5.2.1
Stub Network
5.2.2
5.2.3
Multihomed Network
RIP
Used distance
vector
Hope count=15
EIGRP
Link state and
distance vector
Hop count=255
OSPF
Use Link state
advertisement
Cost
classless
Administrative
Distance
Routing updates
No
120
Yes
90
Yes
110
30 seconds
Multicast address
224.0.0.10
Algorithm
convergence
Transport type
Bellman Ford
slow
UDP Port 520
DUAL
Very fast
IP Protocol 88
LSA generate
224.0.05 upon
any routing
change
SPF or Dijkstra
Fast
IP Protocol 89
Metric
BGP
Path vector
Path Attributes (usually ASpath)
Yes
20 (external)
200 (internal)
Only when change occur unicast
Best Path
average
TCP/179