# Cisco Supernetting – Subnetting for Networking Professionals

## Cisco Supernetting – Subnetting for Networking Professionals

Now that you have had time to digest the Cisco subnetting articles:

- Subnetting – Folding the Paper
- Advanced ‘folding the paper’ subnetting concepts
- Folding for Subnetting Professionals – subnetting a subnet and number of hosts per subnet

Let’s add another piece to the networking pie. If you have manipulated ones and zeros until you can subnet like a guru, then this should be just one small step for you. Supernetting, which can also be thought of as giving a router the ability to summarize multiple routes in a single announcement, is just another way to analyze the on and off bits in IPv4. Let’s see how it’s done.

The whole idea behind supernetting is comparable to looking at the CliffsNotes version of a book instead of reading the whole book. Why should a router announce everything it knows one at a time when it can more efficiently and quickly convey the same information with less? To understand this topic in detail, it does help, once again, to look at what’s going on behind the curtain. In this case, the curtain is the binary numbering system and what’s going on is we are adjusting where the stream of ones ends.

When subnetting, we slide the ending position of the stream of ones to the right. In supernetting, the reverse is true. We are sliding the end position to the left. For instance, if we are working with a Class B address of 172.16.0.0 with the default subnet mask, there are sixteen ones in the subnet mask in binary. If our router announces 172.16.0.0 /16, it is just announcing this entire classful network. So it is one network with 65,534 possible host addresses. A Class B network which has undergone supernetting will have a mask with fewer than sixteen ones lit up. Let’s take a look at it in action:

Now we want to know what Router A can announce to Router B regarding the routes behind Router A. If efficiency is not important (when is THAT the case?) then Router A can individually announce all eight routes. To reduce the size of routing updates and improve efficiency, Router A can announce all the routes with a single announcement. Let’s examine this in binary, or as I like to say, let’s pay attention to the man behind the curtain. Here is what is happening in the second octet in binary:

As we examine the binary numbers from left to right, our goal is to note at what point the numbers start changing. Notice they are all the same in column one. The same goes for columns two, three, four, and five. But in column six, the first four numbers are zeros and the second group of four is all ones. So if we imagine we have a slider bar and we slide it to the right until the numbers start changing, we will end up with a chart like this:

So the original Net IDs all had sixteen bit subnet masks. If we keep in mind that the first eight are all 172, and therefore do not change, then we realize the supernetting occurs in octet two. Counting the first octet as eight bits, then we start counting in octet two, just the bits that do not change. Notice I have labeled the first five bits of octet two as unchanged. So take the first eight, add the next five, and the result is thirteen bits that don’t change for this summary announcement.

Now to determine what the summary announcement will be. The best place to begin a summary announcement is on a nice binary block number. In our example, the first Net ID has a second octet value of sixteen, which is one of the powers of two, and thus a nice binary block number. Let’s write our summary:

**172.16.0.0 /13**

The mask is as we have calculated it at thirteen bits. So Router A can efficiently announce all the routes behind him in a single announcement, as shown above.

If this seems confusing, a cool way for it to make more sense is to imagine that the summary announcement is a subnetting problem. Let’s say we are a junior network admin and the big cheese gave us a piece of paper with ONLY this information on it: 172.16.0.0 /13. Can we determine where our piece of this network starts and ends? If we examine the mask, we see that it moves five bits into octet two. Five bits into the subnet mask field give us a subnet mask value in decimal of 248. From our previous discussions, we can determine that a subnet mask value of 248 gives us a network increment of eight. The value of octet two, sixteen, is a multiple of eight, so that is our starting network ID. If we are incrementing by eight, that means the next section of network starts at 16 + 8, or 24. So our piece, what the boss gave us on a piece of paper, must end just below 172.24.0.0. So our highest number just below that would be 172.23.255.255. So the last subnet ID of a network with a sixteen bit mask would be 172.23.0.0 /16. This means our section of the networks range from 172.16.0.0 to 172.23.0.0, which is exactly what the summary announcement is supposed to convey.

If it seems tedious to list out all the Net IDs in binary, never fear, there is a faster way. I do recommend doing it the long way the first few times so it all makes sense. Once you feel comfortable with what summary announcements do, try this shortcut. If you count the number of networks to be announced in the above example, you get a total of eight. How many bits in binary do you need to represent eight numbers (counting from zero to seven)? You need three bits. If you roll three bits through all their possible positions, you can represent all the decimal numbers from zero to seven. That means those three bits (in the second octet) will be changing. If three of the eight are changing, that means the other five (8 – 3) are not. So eight unchanging bits in octet one, plus five unchanging bits in octet two gives you thirteen unchanging bits, which is the same answer we obtained using the long method.

Give this a shot and see how you do. It’s quite fun actually – like solving a mystery!

Until next time, supernet like a superhero!!

Mark Jacob

Cisco Instructor – Interface Technical Training

Phoenix, AZ

#### You May Also Like

**Category**Cisco

**Tags**

Cisco subnet, IPv4, Net ID, octet binary, Subnet, subnet mask, subnetting, Supernetting

### Identifying and Fixing Misconfigured Subnet Masks in Your Network Environment

0 388 1In this video, Cisco CCNA instructor Mark Jacob show how to find and fix misconfigured subnet masks in a typical IT network environment. Mark Jacob Cisco and CompTIA Network + Instructor – Interface Technical Training Phoenix, AZ

### Subnetting a TCP/IP Network using the Magic Box Method

0 1774 5See our class schedule for complete Course Schedule Training. Classes are held in Phoenix, AZ and can be attended online from anywhere in the world with RemoteLive™. Instructor: Rick Trader Video Transcription: One of the things that we might have to do in our corporate network is to take a class of IP addresses and then subnet that into … Continue reading Subnetting a TCP/IP Network using the Magic Box Method

### Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 647 5How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015