The following three IP address ranges are reserved for private use within the internal network of an organization. These IPv4 addresses can be used within a network, campus, and so on, and are not routable on the internet. Hence, if any packet contains any of these private IP addresses, it is dropped by the routers. Generally, the NAT mechanism is used for communicating with the public IPv4 address space when machines are working on private IPv4. The following table lists the private IPv4 address classes along with their address ranges and some special IPv4 addresses, such as link-local address and loopback address:
Private class |
Address range |
Subnet mask |
Address block |
Class A |
10.0.0.0 to 10.255.255.255 |
255.0.0.0 |
10.0.0.0 /8 |
Class B |
172.16.0.0 to 172.31.255.255 |
255.240.0.0 |
172.16.0.0 /12 |
Class C |
192.168.0.0 to 192.168.0.255 |
255.255.0.0 |
192.168.0.0 /16 |
Loopback address |
127.0.0.0 to 127.255.255.255 |
255.0.0.0 |
127.0.0.0 /8 |
Link-local address (APIPA) |
169.254.0.0 to 169.254.255.255 |
255.255.0.0 |
169.254.0.0 /16 |