blank.gif (43 bytes)

Church Of The
Swimming Elephant

Routing Protocols Evolved Connected: An Internet Encyclopedia
Routing Protocols Evolved

Up: Connected: An Internet Encyclopedia
Up: Programmed Instruction Course
Up: Subnetting and CIDR
Prev: Classless Addressing
Next: Restriction: Subnets within networks

Routing Protocols Evolved CIDR didn't come without a price. It required modifications to the routing protocols that relayed addressing information between Internet routers.

The older routing protocols, such as RIP, relayed routes as a single 32-bit address. The high-order bits allowed each address to split into its network and host fields. A simple convention was then followed. If the host field contained all 0 bits, then the address was a network route that matched every address within that classful network, the equivalent of a /8, /16, or /24 prefix, depending on the address class. Any 1 bits in the host field caused it to be interpreted as a host route, matching only the exact address specified, the equivalent of /32 prefix. This is why the all-zeros address is reserved - it was used by the routing protocols to match the entire classful network.

The advent of subnetting undermined this scheme, but the designers of subnetting decided against any changes to the format of the routing protocols. This meant that there was still only a single 32-bit address to work with, though its interpretation became much more complex. Addresses in foreign networks (classful networks not directly attached to the router processing the information) were interpreted as before. Addresses in local networks were processed using the subnet mask programmed into the router. The address was first split into its three fields. If both subnet and host fields were all 0s, it was a network route, as before. An address with 1 bits in the subnet field, but all 0 bits in the host field was a subnet route, matching all addresses within that subnet. Finally, addresses with 1 bits in the host field were interpreted as host routes, as before. This lead to more reserved addresses - both the all-0s subnet and the all-0s host in each subnet were reserved.

CIDR finally forced the original routing protocols to be abandoned completely. A new breed of classless routing protocols, such as OSPF, was introduced. These protocols explicitly communicated both a 32-bit address and a prefix length, vastly simplifying the interpretation of this information. Instead of three types of routes, a classless routing protocol uses a single type, the prefix route, more general than any of the older types. OSPF allows complex prefixes such as 195.13.128/19 to be explicitly conveyed without any external assumptions.

However, sometimes network engineers must use legacy routing protocols and operating systems that don't fully support CIDR. In this case, several restrictions must be keep in mind.

Next: Restriction: Subnets within networks

Connected: An Internet Encyclopedia
Routing Protocols Evolved


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609