Читать книгу Networking All-in-One For Dummies - Lowe Doug, Doug Lowe - Страница 173

Private and public addresses

Оглавление

Any host with a direct connection to the Internet must have a globally unique IP address. However, not all hosts are connected directly to the Internet. Some are on networks that aren't connected to the Internet. Some hosts are hidden behind firewalls, so their Internet connection is indirect.

Several blocks of IP addresses are set aside just for this purpose, for use on private networks that are not connected to the Internet or to use on networks that are hidden behind a firewall. Three such ranges of addresses exist, summarized in Table 3-5. Whenever you create a private TCP/IP network, you should use IP addresses from one of these ranges.

TABLE 3-5 Private Address Spaces

CIDR Subnet Mask Address Range
10.0.0.0/8 255.0.0.0 10.0.0.1–10.255.255.254
172.16.0.0/12 255.240.0.0 172.16.1.1–172.31.255.254
192.168.0.0/16 255.255.0.0 192.168.0.1–192.168.255.254
Networking All-in-One For Dummies

Подняться наверх