NetworkClue.com
NetworkClue Home PageHome Contact UsContact ConsultingConsult
Bulletin Board
Internet Services covers Secrets to hosting websites, Hosting your own web server, and using DNS Servers.Operating Systems leads you through the decision of Linux vs. Windows, ideal installations and setups to create an efficient and redundant environment for your business, and great features to make management easier.Routing & Firewalls contains articles that will allow you to take control of your router. Learn how to protect your company with access lists and advanced firewall techniques.Hardware answers the common questions about Switches vs. Hubs, recommends SysAdmin Tools, and recommendations for adequate power protection.Utilities will cover fighting spam, using Anti-Virus programs effectively and the must haves for every administrator's software toolbox.
Calculating Subnet Masks

Bulletin Board

Subnet Mask Reference Table

By Joshua Erdman
Digital Foundation, inc.

Subnet Masks in Binary

Here we have provided for you a subnet mask reference table. By looking up the size of a subnet you want, you can find the correct subnet mask.

Subnet size
(# of hosts)
Subnet Mask First host in block
2 hosts255.255.255.2521,5,9,13,17,21,25,....
3 - 6255.255.255.2481,9,17,25,33,...
7 - 15255.255.255.2401,17,33,49,65,...
16 - 31255.255.255.2241,33,65,97,129,...
32 - 63255.255.255.1921,65,129,193,...
64 - 127255.255.255.1281 & 129
128 - 255255.255.255.01
256 - 511255.255.254.01,5,9,13,17,21,25,....
512 - 1023255.255.252.01,9,17,25,33,...

CLUE: Referring to the table above, you can see that for sizes above 256 the 3rd segment of the subnet mask begins to countdown in the exact same pattern as how the 4th segment counted down for subnets of sizes 2 - 255.

References:
Calculating Subnet Masks

TCP/IP Addressing

Handy Tools:
subnet mask calculator
Ring Of Saturn - Binary conversion tool & subnet calculator

Article last reviewed: 06/09/2004


del.icio.us

Created by: Digital Foundation, inc.

Copyright © 2002-2005 Digital Foundation, inc.   www.networkclue.com

All content of the NetworkClue website is copyrighted. Articles, notes, outlines, and all other materials may not be stored on the Internet or sold or placed by themselves or with other material in any electronic or printed format in whole or part. However materials may be referenced by links to the site.

 

Related Articles:
TCP/IP Addressing
Calculating Subnet Masks
Firewalls

Your Ad Here