Subnetting vs. Supernetting
Difference Between Subnetting and Supernetting
Subnetting is the process of dividing an IP network in to sub divisions called subnets. Computers belonging to a sub network have a common group of most-significant bits in their IP addresses. So, this would break the IP address in to two parts (logically), as the network prefix and the rest field. Supernetting combines several sub networks, having a Classless Inter-Domain Routing (CIDR) routing prefix. Suppernetting is also called route aggregation or route summarization.
What is Subnetting?
Dividing an IP network in to sub divisions is subnetting. It divides an IP address in to two parts as the network (or routing prefix) and the rest field (which is used to identify a specific host). CIDR notation is used for writing a routing prefix. This notation uses a slash (/) to separate the network starting address and the length of the network prefix (in bits). For example, in IPv4, 126.96.36.199/22 indicates that 22 bits are allocated for the network prefix and the remaining 10 bits are reserved for the host address. In addition, routing prefix can also be represented using the subnet mask. 255.255.252.0 (11111111.11111111.11111100.00000000) is the subnet mask for 188.8.131.52/22. Separating the network portion and the subnet portion of an IP address is done by performing a bitwise AND operation between the IP address and the subnet mask. This would result in identifying the network prefix and the host identifier.
What is Supernetting?
Supernetting is the practice of combining several IP networks with a common network prefix. Supernetting was introduced to tackle the problem of increasing size in routing tables. Supernetting also simplifies the routing process. For example, the subnetworks 184.108.40.206/24 and 220.127.116.11/24 can be merged with the supernetwork denoted by 18.104.22.168/23. In the supernet, the first 23 bits are the network part of the address and the other 9 bits are used as the host identifier. So, one address will represent several small networks and this would reduce the number of entries that should be integrated in the routing table. Supernetting is typically used for class C IP addresses (addresses beginning with 192 to 223 in decimal), and most of the routing protocols support supernetting. Examples of such protocols are Border Gateway Protocol (BGP) and Open Shortest Path First (OSPF). But, protocols such as Exterior Gateway Protocol (EGP) and the Routing Information Protocol (RIP) do not support supernetting.
What is the Difference between Subnetting and Supernetting?
Subnetting is the practice of dividing an IP network in to sub divisions called subnets while; Supernetting combines several IP networks with a common network prefix. Supernetting reduces the number of entries in a routing table and also will abridge the routing process. In subnetting, host ID bits (for IP addresses from a single network ID) are borrowed to be used as a subnet ID, while in supernetting, bits from the network ID are borrowed to be used as the host ID.