The following table is probably the most useful table to remember when taking any Cisco exam, or just wanting to work out the subnet mast you will need to get a certain number of hosts and networks.
Mask | Slash | Subnet Bits | Networks (2 to the power of Subnet bits)* | Host Bits | Hosts (2 to the power of Host bits ? 2) |
.0 | /24 | 0 | 1 | 8 | 254 |
.128 | /25 | 1 | 2 | 7 | 126 |
.192 | /26 | 2 | 4 | 6 | 62 |
.224 | /27 | 3 | 8 | 5 | 30 |
.240 | /28 | 4 | 16 | 4 | 14 |
.248 | /29 | 5 | 32 | 3 | 6 |
.252 | /30 | 6 | 64 | 2 | 2 |
* note: the Networks column is calculated assuming ?ip zubnet-zero? is switched ON. Subnet Zero means that you can have ?all-zeros? subnets. Under old IP subnetting rules, the all 0?s subnet was reserved for the network, and the all 1?s subnet was reserved for the broadcast. Over time, engineers found that the all 0?s subnet wasn?t really used and, if it could be handed out as a useable network, many IP addresses could be changed.
Tidak ada komentar:
Posting Komentar