Beruflich Dokumente
Kultur Dokumente
So I decided to take advantage of such requests and use them as fodder for
my column. A couple weeks ago, I answered one member's question about
all 1s and all 0s subnet masks. This time, let's look at another member's
request for more technical information.
"I think I would have liked to have seen content showing how taking bits
from the host to the network portion of the address changes the amount of
subnets you have.
"A basic discussion of route summarization and a bit more about CIDR and
the roles they play within subnetting would have been more useful than
telling us all what we already know."
Changing bits on the subnet mask
Let's start with the first part of this request: How does moving bits from the
host to the network portion of the address change the number of subnets?
By taking away bits from the network portion of the address, we reduce the
number of subnets and increase the number of hosts.
This is always the case with a subnet mask. Adding 1s means increasing
subnets and decreasing hosts per subnet. Removing 1s means decreasing
subnets and increasing hosts per subnet.
With the original subnet mask, we had 254 useable hosts in the network
(which we can determine by using the hosts formula: 28-2 hosts). With the
new subnet maskwhich is now 255.255.0.0we have 65,534 useable
hosts in the network (216-2).
So what are you going to do with a network that has more than 65,000
hosts? Actually, you're not going to use all 65,000 hosts.
You could assign it and address it, but at some point, your network will start
to bog down with all the network broadcast trafficand it will eventually
grind to a halt. In reality, you would more likely use this reduced subnet
mask to represent a supernetted network, which segues nicely into the
second part of this member's request.
Supernetting a network
To learn how to supernet a network, let's look at another example. Let's say
we have four IP subnets on the four LAN interfaces of our router: 1.1.0.0/24,
1.1.1.0/24, 1.1.2.0/24, and 1.1.3.0/24. We want to summarize these
networks into a single route that we can advertise across the WAN, which
reduces the number of routes in the remote routers.
Notice the third octet of the supernet subnet mask: 11111100. This allows
the last two bits of the third octet to be any combination of 00, 01, 10, or
11. So when advertised, this supernet mask would show that any of the four
subnets are available from the router.
Check out the Cisco Routers and Switches Archive, and catch up on David
Davis' most recent columns.
David Davis has worked in the IT industry for 12 years and holds several
certifications, including CCIE, MCSE+I, CISSP, CCNA, CCDA, and CCNP. He
currently manages a group of systems/network administrators for a privately
owned retail company and performs networking/systems consulting on a
part-time basis.