« Windows 2003 sp2 死机是由qq引起 | Home | 译文:分类路由选择协议概念 »

April 18, 2007

Classful Routing Protocol Concepts

Concepts of Classful Routing


  • Classful routing protocols do not include the subnet mask with the route advertisement.

  • Within the same network, consistency of the subnet masks is assumed.

  • Network boundary summarization is done automatically.

  • Example of classful routing protocols:

  •   - Routing Information Protocol version1 (RIPv1)
      - Interior Gateway Routing Protocol (IGRP)

    When classful protocols were originally developed, networks were very different from those used now. The best modem speed was 300 bps, the largest WAN line was 56 kbps, router memory was under 640KB, and processors were running in the kHz range. Routing updates had to be small enough not to monopolize the WAN link bandwidth. In addition, routers did not have the resources to maintain up-to-date information about every subnet.

    A classful routing protocol does not include subnet mask information in its routing updates. Because no subnet mask information is know, when a classful router sends or receives routing updates, the router makes assumptions about the subnet mask being used by the networks listed in the update. These assumptions are based on IP address class. Upon receiving a routing update packet, a router running a classful routing protocol does one of the following to determine the network portion of the router:

  • If the routing update information contains the same major network number as configured on the receiving interface, the router applies the subnet mask that is configured on the receiving interface.
  • If the routing update information contains a different major network than the one configured on the receiving interface, the router applies the default classful mask by IP address class. The IP address classes and their default classful masks are as follows:
        - For class A addresses, the default classful mask is 255.0.0.0
        - For class B addresses, the default classful mask is 255.255.0.0
        - For class C addresses, the default classful mask is 255.255.255.0

    All subnets of the same major network, Classes A,B and C, must use the same subnet mask when using a classful routing protocol. Otherwise, routers may assume incorrect subnet information. Routers running a classful routing protocol perform automatic route summarization across network boundaries.

    Posted by Lifeng Shen on April 18, 2007 9:45 AM |

  • 评论

    添加评论







    固定链接与引用