A Spoonful Of CIDR Helps the Routing Tables Go Down - Page 3

By Michael Burton | Posted Jul 22, 2004
Page 3 of 3   |  Back to Page 1
Print ArticleEmail Article
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
Continued From Page 2

VLSM is not just useful for major ISPs and Fortune 500 companies. An administrator with more than one subnet can use VLSM to utilize his or her allocated space more efficiently. Consider the example map below:

The ISP assigns you 100.1.50.0 with a subnet mask of 255.255.255.128. You now own the lower half of the 100.1.50.0 network, up to 100.1.50.127.0. You can then further break down your networks as follows:

Network Name

Network

Subnet Mask

Host Range

Number of maximum hosts

Link to ISP Net

100.1.50.0

255.255.255.224

100.1.50.1 to 10.1.50.30

30

Engineering Net

100.1.50.32

255.255.255.224

100.1.50.33

100.1.50.33.62

30

Finance Net

100.1.50.64

255.255.255.224

100.1.50.65 to 100.1.50.94

30

Sales Net

100.1.50.96

255.255.255.224

100.1.50.97 to 100.1.50.126

30

You'll notice that the maximum number of hosts is two shy of the total possible addresses. This is because the first available number designates the network, and the last possible number is the special "all hosts" broadcast address for that subnet. When you are setting up your VLSM spaces, it is best to double the number of hosts on each subnet and use that as your target maximum hosts number. That way you can allow for proper expansion. Finally, the "point-to-point" link for the ISP net really only requires a single address for each "point." You are effectively wasting 27 IP addresses. To fix this, you could further sub-divide the 100.1.50.0/255.255.255.224 subnet.

There are many great free "IP address calculators" available which can help you work through the details of setting up your network. Routers across the board support VLSM as a standard feature. When figuring out how IP addresses you need for your clients, don't forget that one of the addresses in the range needs to be reserved for the router gateway.

CIDR and VLSM together not only saved the Internet from completely failing, they can also be a useful tool for you to more effectively manage your own company's address space!


Michael Burton is a project manager for Intel's Automated Networking Group, deploying infrastructure network management tools globally. He resides in Portland, Oregon.

Comment and Contribute
(Maximum characters: 1200). You have
characters left.
Get the Latest Scoop with Enterprise Networking Planet Newsletter