Appendix D
Addresses, Protocols, and Ports Reference
Determining the Subnet Mask
To determine the subnet mask based on how many hosts you want, see
Table D-1
Hosts
16,777,216
65,536
32,768
16,384
8,192
4,096
2,048
1,024
512
256
128
64
32
16
8
4
Do not use
1
1. The first and last number of a subnet are reserved, except for /32, which identifies a single host.
Determining the Address to Use with the Subnet Mask
The following sections describe how to determine the network address to use with a subnet mask for a
Class C-size and a Class B-size network:
•
•
OL-6392-01
Hosts, Bits, and Dotted Decimal Masks
1
/Bits Mask
/8
/16
/17
/18
/19
/20
/21
/22
/23
/24
/25
/26
/27
/28
/29
/30
/31
/32
Class C-Size Network Address, page D-4
Class B-Size Network Address, page D-4
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
Dotted Decimal Mask
255.0.0.0 Class A Network
255.255.0.0 Class B Network
255.255.128.0
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
255.255.254.0
255.255.255.0 Class C Network
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
255.255.255.254
255.255.255.255 Single Host Address
IP Addresses and Subnet Masks
Table
D-1.
D-3