TCP IP Illustrated

Ospf is different from rip and many other routing

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: apter 10. Dynamic Routing Protocols [Periman 1992] compares other issues between the two types of routing protocols. OSPF is different from RIP (and many other routing protocols) in that OSPF uses IP directly. That is, it does not use UDP or TCP. OSPF has its own value for the protocol field in the IP header (Figure 3.1). Besides being a link-state protocol instead of a distance-vector protocol, OSPF has many other features that make it superior to RIP. 1. OSPF can calculate a separate set of routes for each IP type-of-service (Figure 3.2). This means that for any destination there can be multiple routing table entries, one for each IP type-of-service. 2. Each interface is assigned a dimensionless cost. This can be assigned based on throughput, round-trip time, reliability, or whatever. A separate cost can be assigned for each IP type-of-service. 3. When several equal-cost routes to a destination exist, OSPF distributes traffic equally among the routes. This is called load balancing. 4. OSPF supports subnets: a subnet mask is associated with each advertised route. This allows a single IP address of any class to be broken into multiple subnets of various sizes. (We showed an example of this in Section 3.7 and called it variable-length subnets.) Routes to a host are advertised with a subnet mask of all one bits. A default route is advertised as an IP address of with a mask of all zero bits. 5. Point-to-point links between routers do not need an IP address at each end. These are called unnumbered networks. This can save IP addresses - a scarce resource these days! 6. A simple authentication scheme can be used. A cleartext password can be specified, similar to the RIP-2 scheme (Section 10.5). 7. OSPF uses multicasting (Chapter 12), instead of broadcasting, to reduce the load on systems not participating in OSPF. With most router vendors supporting OSPF, it will start replacing RIP in many networks. 10.7 BGP: Border Gateway Protocol BGP is an exterior gateway protocol for communication be...
View Full Document

Ask a homework question - tutors are online