Заглавная страница Избранные статьи Случайная статья Познавательные статьи Новые добавления Обратная связь КАТЕГОРИИ: АрхеологияБиология Генетика География Информатика История Логика Маркетинг Математика Менеджмент Механика Педагогика Религия Социология Технологии Физика Философия Финансы Химия Экология ТОП 10 на сайте Приготовление дезинфицирующих растворов различной концентрацииТехника нижней прямой подачи мяча. Франко-прусская война (причины и последствия) Организация работы процедурного кабинета Смысловое и механическое запоминание, их место и роль в усвоении знаний Коммуникативные барьеры и пути их преодоления Обработка изделий медицинского назначения многократного применения Образцы текста публицистического стиля Четыре типа изменения баланса Задачи с ответами для Всероссийской олимпиады по праву Мы поможем в написании ваших работ! ЗНАЕТЕ ЛИ ВЫ?
Влияние общества на человека
Приготовление дезинфицирующих растворов различной концентрации Практические работы по географии для 6 класса Организация работы процедурного кабинета Изменения в неживой природе осенью Уборка процедурного кабинета Сольфеджио. Все правила по сольфеджио Балочные системы. Определение реакций опор и моментов защемления |
Public, Private, and APIPA IP Addresses
An IP address visible to any computer or device on the Internet is a public IP address. If you use a web service to display your computer’s IP address (see Figure 2-5), the public IP address is the one that is displayed.
Figure 2-5 Using the WhatIsMyIPAddress.com website to determine the public IP address for acomputer.
However, computers that are connected to the Internet via a business or a home network are actu-ally using a private IP address that is translated into a public IP address.
Each of the classes listed earlier in Table 2-3 includes a range of private IP addresses. A private IP address is not visible on the Internet, although devices with a private IP address can connect to the Internet.
The private IPv4 address ranges for classes A, B, and C are as follows:
Class A —10.0.0.0–10.255.255.255
Class B —172.16.0.0–172.31.255.255
Class C —192.168.0.0–192.168.255.255
To see the IP address assigned to your computer, open a command prompt and use the command-line IPCONFIG.EXE utility. Figure 2-6 shows the network-assigned IPv4 address for the computer whose public IP address was shown earlier in Figure 2-5. As you can see, the computer is using
a private IPv4 address. The router translates this address into the public IP address shown in Figure 2-5. 46 CompTIA A+ Quick Reference
Figure 2-6 Output from IPCONFIG /ALL listing IP addresses, gateways, and DNS servers for awireless network connection.
When a computer or device on a private network needs to connect to the Internet, a router or gate-way makes the connection and uses a feature called Network Address Translation (NAT) to con-vert the private IP address into a public one. The conversion process happens in reverse when the information is relayed back to the requesting device on a private network.
Private IP addresses are usually assigned by a DHCP server. A DHCP server can be a routine run-ning on a server or a feature of a router or gateway device.
In the event that a computer cannot receive an address via DHCP and does not have a fixed IP address, Windows uses a features known as Automatic Private IP Addressing (APIPA) to assign an IPv4 address in the 169.254.x.x address range. This address range does not support Internet access, but enables computers on a local-area network (LAN) to share folders and printers.
In IPv6, the equivalent to an APIPA address is a link-local address. IPv6 can be routed over IPv4 (this enables both versions of IP to coexist), so as long as the computer also has a valid IPv4 address that can connect to the Internet through a gateway, a computer with a link-local IPv6 address will have Internet access (refer to Figure 2-6).
|
||||
Последнее изменение этой страницы: 2017-02-08; просмотров: 461; Нарушение авторского права страницы; Мы поможем в написании вашей работы! infopedia.su Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. Обратная связь - 13.58.185.199 (0.005 с.) |