Routing Protocols: Computer, Communications and Networking
Routing Protocols: Computer, Communications and Networking
Figure 1: Routing
ROUTING PROTOCOLS
Routing tables are divided broadly into two categories:
Static Routing Tables:
Contain information entered manually.
Dynamic Routing Tables:
Updated periodically by using one of the dynamic routing protocols
such as RIP, OSPF or BGP.
ROUTING PROTOCOLS
Dynamic protocols
o Sharing neighborhood information
RIP (one hop count, how many networks a packet crosses), Networks are treated equally
Command: 8 bits
Request (1), reply (2)
Version: 1 or 2
Family: of protocol used for
TCP/IP it is 2
Network address : 32 bytes
Distance: hop count from the
advertising router to the
destination network
Split Horizons
Poison reverse
BORDER GATEWAY PROTOCOL (RFC 1771)
Based on the path vector routing.
Distance-vector protocol not preferred for inter-AS routing (exterior routing protocol)
Assumes all routers have a common distance metrics to judge route preferences.
If routers have different meanings of a metric, it may not be possible to create stable, loop free routes.
A given AS may have different priorities from another AS.
Gives no information about the ASs that will be visited.
Policy Routing:
If a path consist of an AS against the policy
of the current AS, message discarded.
BGP MESSAGE FORMAT (OPEN, KEEPALIVE,
UPDATE, NOTIFICATION)
OPEN SHORTEST PATH FIRST (RFC 1247)
Uses IP, has a value in the IP Header (8 bit protocol field)
Interior routing protocol, its domain is also an autonomous system
Special routers (autonomous system boundary routers) or backbone routers
responsible to dissipate information about other AS into the current system.
Divides an AS into areas
Metric based on type of service
Minimum delay (rtt), maximum throughput, reliability, etc..
OSPF (TYPE OF LINKS)
OSPF (LINK STATE ADVERTISEMENT)
External Link
SHORTEST PATH CALCULATION
TYPES OF OSPF PACKETS AND HEADER
FORMAT
LINK STATE UPDATE PACKET
A ROUTER LINK EXAMPLE
LSA header not covered
Refer to RFC 1247
A NETWORK LINK EXAMPLE
SUMMARY LINKS STATE ADVERTISEMENTS
External Link