The document discusses routing protocols, specifically RIP, OSPF, and BGP, highlighting their functions in sharing network reachability information. It explains the differences between static and dynamic routing, with a focus on the characteristics and advantages of each protocol, such as OSPF's faster convergence compared to RIP. Additionally, it outlines the distinctions between RIPV1 and RIPV2, emphasizing improvements in message handling and support for classless addressing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views11 pages
Routing_Protocols_RIP_OSPF_and_BGP
The document discusses routing protocols, specifically RIP, OSPF, and BGP, highlighting their functions in sharing network reachability information. It explains the differences between static and dynamic routing, with a focus on the characteristics and advantages of each protocol, such as OSPF's faster convergence compared to RIP. Additionally, it outlines the distinctions between RIPV1 and RIPV2, emphasizing improvements in message handling and support for classless addressing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11
Routing Protocols
(RIP, OSPF, and BGP)
Presented by. TAMFU DIVINE G. • A routing protocol is the language a router speaks with other routers in order to share information about the reachability and status of network. • Routing Metric(cost): metric is a variable assigned to routers as a means of ranking them from the best to worst or from most preferred to least preferred. In a computer network, the transmission of data is based on the routing protocol which selects the best routes between any two nodes. Different types of routing protocols are applied to specific network environment. • Three typical types of routing protocol are chosen as the simulation samples: RIP, OSPF and BGP. • RIP (Routing Information Protocol) is one of the oldest routing protocols still in service. RIP Treats each network as equals i.e The cost of passing through each network is the same. • OSPF (Open Shortest Path First) is the most widely used IGP (Interior Gateway Protocol) for large enterprise networks. It allows administrators to assign a cost for passing through a network based on the type of serviced required. • Each router applies the Dijkstra algorithm to form its link state database. • BGP(Border Gateway Protocol) is an inter- autonomous system routing protocol based on the path vector routing method. • Static Routing and Dynamic Routing . • Protocols can fall into two groups: • static routing and dynamic routing. • Static routing is simply the process of manually entering routes into a device’s routing table via a configuration file that is loaded when the routing device starts up. • In static routing, all the changes in the logical network layout need to be manually done by the system administrator. • Dynamic routing allows routers to select the best path when there is a real time logical network layout change. In our project, we will discuss the difference between the BGP, RIP and OSPF. All of them are dynamic routing protocols. • RIP is a standardized vector distance routing protocol and uses a form of distance as hop count metric. It is a distance vector. • A distance vector routing protocol uses a distance calculation and a vector direction of next hop router as reported by neighboring routers to choose the best path. • Typically, the maximum number of hops allowed for RIP is 15. • Since the maximum number of hop counts allowed for RIP is 15, as long as the number goes beyond 15, the route will be considered as unreachable. • OSPF is an interior Gateway Protocol used to distribute routing information within an AS (Autonomous System). • OSPF is the most widely used routing protocol in large enterprise networks. • OSPF is based on link-state technology by using Dijkstra algorithm which calculates the shortest path. • It is worth noting that OSPF packets are encapsulated in IP datagrams. • The cost (metric) of OSPF is the cost of sending packets across a certain interface. The formula to calcite the cost is: cost= 10000 0000 /bandwidth in bps. If the bandwidth is wider, the cost would be lower. • BGP is an inter-autonomous system routing protocol based on the path vector routing method • i.e the path is not based on the smallest hop count or the minimum metric but on the policy imposed on the router by the administrator. • BGP message are encapsulated in TCP and it uses the services of TCP on port 179. • Advantages/Comparison. • Compare to RIP, OSPF has no limitation due to hops (RIP has a limit of 15 hops so any network with more than 15 hops cannot be achieved by RIP. • OSPF can handle Variable Length Subnet Masks (VLSM) but RIP cannot. • The most important is that OSPF converges much faster than RIP due to its calculation algorithm. • BGP is the fastest amongst the 3. • OSPF and RIP has much longer initialization time than BGP. • RIP has a very slow convergence(a change somewhere in the internet) and its unstable. DIFFERENCE B/W RIPV1 AND RIPV2 • RIPV2 does not augment the length of the message of each entry. • RIPV2 only replaces those fields in RIPV1 that were filled with 0s with some new fields. • RIPV2 support classless addressing and CIDR. • RIPV1 uses broadcasting to send RIP message to every neighbor WHILE RIPV2 uses the multicast address 224.0.0.9 to multicast RIP message only to RIP routers in the network.