A supernetwork, or supernet, is an Internet Protocol (IP) network that is formed, for routing purposes, from the combination of two or more networks (or subnets) into a larger network. The new routing prefix for the combined network represents the constituent networks in a single routing table entry. The process of forming a supernet is called supernetting, prefix aggregation, route aggregation, or route summarization.
Supernetting within the Internet serves as a strategy to avoid topological fragmentation of the IP address space by using a hierarchical allocation system that delegates control of segments of address space to regional network service providers. This method facilitates regional route aggregation.
The benefits of supernetting are conservation of address space and efficiencies gained in routers in terms of memory storage of route information and processing overhead when matching routes. Supernetting, however, can introduce interoperability issues and other risks.
In Internet networking terminology, a supernet is a block of contiguous subnetworks addressed as a single subnet in the larger network. Supernets always have a subnet mask that is smaller than the masks of the component networks.
The size of routing tables has been rapidly increasing during the expansion of the Internet. Supernetting is the process of aggregating routes to multiple smaller networks, thus saving storage space in the routing table and simplifying routing decisions. Routing advertisements to neighboring gateways are reduced.
Supernetting in large, complex networks can isolate topology changes from other routers. This can aid in improving the stability of the network by limiting the propagation of routing traffic after a network link fails. For example, if a router only advertises a summary route to the next router, then it does not advertise any changes to specific subnets within the summarized range. This can significantly reduce any unnecessary routing updates following a topology change. Hence, it increases the speed of convergence and allows for a more stable environment.
Supernetting requires the use of routing protocols that support Classless Inter-Domain Routing (CIDR). Interior Gateway Routing Protocol, Exterior Gateway Protocol and version 1 of the Routing Information Protocol (RIPv1) assume classful addressing, and therefore cannot transmit the subnet mask information required for supernetting.
Enhanced Interior Gateway Routing Protocol (EIGRP) is a classless routing protocol capable of support for CIDR. By default, EIGRP summarizes the routes within the routing table and forwards these summarized routes to its peers. This may have adverse impact within heterogeneous routing environments with discontiguous subnets.
A company that operates 150 accounting services in each of 50 districts has a router in each office connected with a Frame Relay link to its corporate headquarters. Without supernetting, the routing table on any given router might have to account for 150 routers in each of the 50 districts, or 7500 different networks. However, if a hierarchical addressing system is implemented with supernetting, then each district has a centralized site as interconnection point. Each route is summarized before being advertised to other districts. Each router now only recognizes its own subnet and the other 49 summarized routes.
The determination of the summary route on a router involves the recognition of the number of highest-order bits that match all addresses. The summary route is calculated as follows. A router has the following networks in its routing table:
192.168.98.0 192.168.99.0 192.168.100.0 192.168.101.0 192.168.102.0 192.168.105.0
Firstly, the addresses are converted to binary format and aligned in a list:
|Address||First Octet||Second Octet||Third Octet||Fourth Octet|
Secondly, the bits at which the common pattern of digits ends are located. These common bits are shown in red. Lastly, the number of common bits is counted. The summary route is found by setting the remaining bits to zero, as shown below. It is followed by a slash and then the number of common bits.
|First Octet||Second Octet||Third Octet||Fourth Octet||Address||Netmask|
The summarized route is 192.168.96.0/20. The subnet mask is 255.255.240.0.
This summarized route also contains networks that were not in the summarized group, namely, 192.168.96.0, 192.168.97.0, 192.168.103.0, 192.168.104.0, 192.168.106.0, 192.168.107.0, 192.168.108.0, 192.168.109.0, 192.168.110.0, 192.168.111.0. It must be assured that the missing network prefixes do not exist outside of this route.
In another example, an ISP is assigned a block of IP addresses by a regional Internet registry (RIR) of 18.104.22.168 to 22.214.171.124. The ISP might then assign subnetworks to each of their downstream clients, e.g., Customer A will have the range 126.96.36.199 to 188.8.131.52, Customer B would receive the range 184.108.40.206 to 220.127.116.11 and Customer C would receive the range 18.104.22.168 to 22.214.171.124, and so on. Instead of an entry for each of the subnets 172.1.1.x and 172.1.2.x, etc., the ISP could aggregate the entire 172.1.x.x address range and advertise the network 126.96.36.199/16 on the Internet community, which would reduce the number of entries in the global routing table.
The following supernetting risks have been identified:
- Supernetting is implemented in different ways on different routers
- Supernetting on one router interface can influence how routes are advertised on other interfaces of the same router
- In the presence of supernetting, detecting a persistent routing loop becomes a difficult problem
- Comer, Douglas E. (2006). Internetworking with TCP/IP, 5, Prentice Hall: Upper Saddle River, NJ.