SonicOS 7.0 Rules and Policies for Classic Mode

Subnet Sizes Supported

RIPv1 was first implemented when networks were strictly class A, class B, and class C (and later D and E):

Class A 1.0.0.0 to 126.0.0.0 (0.0.0.0 and 127.0.0.0 are reserved)
  • Left most bit 0; 7 network bits; 24 host bits
  • 0nnnnnnn hhhhhhhh hhhhhhhh hhhhhhhh (8-bit classful netmask)
  • 126 Class A networks, 16,777,214 hosts each
Class B 128.0.0.0 to 191.255.0.0
  • Left most bits 10; 14 network bits; 16 host bits
  • 10nnnnnn nnnnnnnn hhhhhhhh hhhhhhhh (16-bit classful netmask)
  • 16,384 Class B networks, 65,532 hosts each
Class C 192.0.0.0 to 223.255.255.0
  • Left most bits 110; 21 network bits; 8 host bits
  • 110nnnnn nnnnnnnn nnnnnnnn hhhhhhhh (24-bit classful netmask)
  • 2,097,152 Class Cs networks, 254 hosts each
Class D 225.0.0.0 to 239.255.255.255 (multicast)
  • Left most bits 1110; 28 multicast address bits
  • 1110mmmm mmmmmmmm mmmmmmmm mmmmmmmm
Class E 240.0.0.0 to 255.255.255.255 (reserved)
  • Left most bits 1111; 28 reserved address bits
  • 1111rrrr rrrrrrrr rrrrrrrr rrrrrrrr

This method of address allocation proved to be very inefficient because it provided no flexibility, neither in the way of segmentation (subnetting) or aggregation (supernetting, or CIDR – classless inter-domain routing) by means of VLSM – variable length subnet masks.

VLSM, supported by RIPv2 and OSPF, allows for classless representation of networks to break larger networks into smaller networks:

For example, take the classful 10.0.0.0/8 network, and assign it a /24 netmask. This subnetting allocates an additional 16-bits from the host range to the network range (24-8=16). To calculate the number of additional networks this subnetting provides, raise 2 to the number of additional bits: 2^16=65,536. Thus, rather than having a single network with 16.7 million hosts (usually more than most LAN’s require) it is possible to have 65,536 networks, each with 254 usable hosts.

VLSM also allows for route aggregation (CIDR):

For example, if you had 8 class C networks: 192.168.0.0/24 through 192.168.7.0/24, rather than having to have a separate route statement to each of them, it would be possible to provide a single route to 192.168.0.0/21 which would encompass them all.

This ability, in addition to providing more efficient and flexible allocation of IP address space, also allows routing tables and routing updates to be kept smaller.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden