Case-20 RIP / RIP and OSPF difference

Routing Information Protocol (Routing Information Protocol, acronym: RIP) is a most widely used interior gateway protocol (IGP). (IGP) routing protocol used on the internal network (in a few cases, can also be used to connect to the Internet network), which allows the continuous exchange of information through router changes dynamically adapt to network connections, such information includes every routers which can reach networks that how far and so on. RIP belonging to the network layer protocol and uses UDP as transport protocol.

While RIP is still often used, but most people think it will and is being replaced, such as OSPF and IS-IS routing protocol such. Of course, we also see EIGRP, RIP and one kind of the same basic class protocol ( distance vector routing protocol, Distance Vector Routing Protocol), but more adaptive routing protocol, also got some use

RIP routing protocol is a traditional protocol for relatively small network, but the current rapid development of the Internet and the rapid expansion of the RIP protocol can not adapt to today's network. OSPF protocol is drawn up at the time of rapid expansion of the Internet network that overcomes many of the deficiencies of RIP. RIP is a distance vector routing protocol; the OSPF is a link state routing protocol.

RIP & OSPF administrative distance are: 120 and 110

    1. The RIP 15 has a hop route (router or gateway) limit, if a RIP routing network spans more than 15 hops (routers), it considers the network can not be reached, but there is no limitation on the number of spans OSPF routers.

    2. OSPF supports variable length subnet mask (VLSM), RIP is not supported, which allows the RIP to the current lack of flexibility and variable length subnet mask IP address of lack of support.

    3. RIP protocol but not regularly broadcasts routing table for the actual situation of the network, the network bandwidth resources which is a great waste, especially for large-scale wide area network. Broadcasting updated routing protocol OSPF routing occurs only when the state changes, using IP multicast to send link state update information, which is to save bandwidth.

    4. RIP network is a flat network, the network no delamination. OSPF established in the network-level concept, in the autonomous domain can be divided into a network domain, the routing of broadcast limited within a certain range, to avoid wasting the resources of the relay link.

    5. OSPF uses the authorization mechanism in the broadcast routing to ensure network security.

Guess you like

Origin www.cnblogs.com/juewuzhiren/p/11953981.html