You are on page 1of 1

Subnet cheat sheet to remember

http://www.quest4.org/ccna/subnet_cheat_sheet.htm
/30
/29
/28
/27
/26
/25
/24
/23
/22
/21
/20
/19
/18
/17
/16

Hosts
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536

Netmask
255.255.255.252
255.255.255.248
255.255.255.240
255.255.255.224
255.255.255.192
255.255.255.128
255.255.255.0
255.255.254.0
255.255.252.0
255.255.248.0
255.255.240.0
255.255.224.0
255.255.192.0
255.255.128.0
255.255.0.0

Number of Subnets
64
32
16
8
4
2
1
2
4
8
16
32
64
128
256

IPv4
Class A 0.0.0.0 - 127.255.255.255
Class B 128.0.0.0 - 191.255.255.255
Class C 192.0.0.0 - 223.255.255.255
Multicast 224.0.0.0 - 239.255.255.255
Experimental 240.0.0.0 - 255.255.255.255
Number of networks
Class A 128
Class B 16,384
Class C 2,097,152

Number of hosts per network


16,777,214
65,534
254

Classful routing protocols such as RIPv1 CAN determin the subnet mask simply by
examining the value of the first three bits of the address.
In 1993, IETF introduced Classless Inter-Domain Routing, or CIDR (RFC 1517). CID
R allowed for:
More efficient use of IPv4 address space
Prefix aggregation, which reduced the size of routing tables
A supernet summarizes multiple network addresses with a mask less than the class
ful mask.
Propagating VLSM and supernet routes requires a classless routing protocol, beca
use the subnet mask can no longer be determined by the value of the first octet
Classless routing protocols include the subnet mask with the network address in
the routing update.

You might also like