blank.gif (43 bytes)

Church Of The
Swimming Elephant

Restriction: Contiguous Subnets Connected: An Internet Encyclopedia
Restriction: Contiguous Subnets

Up: Connected: An Internet Encyclopedia
Up: Programmed Instruction Course
Up: Subnetting and CIDR
Prev: Restriction: Fixed-length subnet masks
Next: Subnet Masks

Restriction: Contiguous Subnets On the previous slide, I showed how incomming routes from different parts of the same classful network would all be assumed to have the same prefix length. Since the router receiving the information would itself be part of that classful network, it would be configured with the subnet mask for that network, and therefore be able to infer the prefix length for the rest of the classful network.

Yet what if the router isn't part of the classful network? In this case, it has no way of knowing the prefix length, since it isn't configured with the subnet mask, nor is the information provided by the older routing protocols. Therefore, a router can not process subnet routes for networks to which it is not directly connected. This leads to a simple rule:

Subnet routes can not be advertised beyond their classful network.

Did you follow my logic?

  1. Prefix lengths are required to correctly interpret subnet routes
  2. Older routing protocols don't communicate prefix lengths
  3. Therefore, routers must infer prefix lengths from subnet masks
  4. Only routers connected to a classful network are configured with that network's subnet mask
  5. Therefore, subnet routes can not be advertised beyond their classful network.

In the example, Router A and B in the Class B network can not advertise 152.50's subnets to Router C, not part of the network. The other router would have no way of splitting the routes into subnet and host fields. Therefore, the only route that can be advertised is for the entire network. Router C, receiving two routes, both for, has no way of selecting between them, and will therefore send at least some of the traffic for this network to the wrong router.

The trouble is that the two parts of 152.50 are discontiguous - separated by another classful network in the middle. We could fix the problem by adding a link between Routers A and B. Now the network is contiguous - any two devices in 152.50 can communicate using only 152.50's links. Now, no matter where Router C sends its traffic, the 152.50 routers can deliver it.

Next: Subnet Masks

Connected: An Internet Encyclopedia
Restriction: Contiguous Subnets


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