Академический Документы
Профессиональный Документы
Культура Документы
Function
An IP address serves two principal
functions. It identifies the host, or more
specifically its network interface, and it
provides the location of the host in the
network, and thus the capability of
establishing a path to that host. Its role
has been characterized as follows: "A
name indicates what we seek. An address
indicates where it is. A route indicates how
to get there."[2] The header of each IP
packet contains the IP address of the
sending host, and that of the destination
host.
IP versions
Two versions of the Internet Protocol are
in common use in the Internet today. The
original version of the Internet Protocol
that was first deployed in 1983 in the
ARPANET, the predecessor of the Internet,
is Internet Protocol version 4 (IPv4).
IPv4 addresses
Decomposition of an IPv4 address from dot-decimal
notation to its binary value.
Subnetting
16 777 216
A 0 8 24 128 (27) 0.0.0.0 127.255.255.255
(224)
16 384
B 10 16 16 14
65 536 (216) 128.0.0.0 191.255.255.255
(2 )
2 097 152
C 110 24 8 256 (28) 192.0.0.0 223.255.255.255
(221)
Private addresses
24-bit 10.0.0.0 –
10.0.0.0/8 16 777 216 Single Class A.
block 10.255.255.255
IPv6 addresses
Decomposition of an IPv6 address from hexadecimal
representation to its binary value.
Private addresses
IP subnetworks
IP networks may be divided into
subnetworks in both IPv4 and IPv6. For
this purpose, an IP address is logically
recognized as consisting of two parts: the
network prefix and the host identifier, or
interface identifier (IPv6). The subnet mask
or the CIDR prefix determines how the IP
address is divided into network and host
parts.
IP address assignment
IP addresses are assigned to a host either
dynamically at the time of booting, or
permanently by fixed configuration of the
host hardware or software. Persistent
configuration is also known as using a
static IP address. In contrast, when a
computer's IP address is assigned newly
each time it restarts, this is known as
using a dynamic IP address.
The configuration of a static IP address
depends in detail on the software or
hardware installed in the computer.
Computers used for the network
infrastructure, such as routers and mail
servers, are typically configured with static
addressing, Static addresses are also
sometimes convenient for locating servers
inside an enterprise.
Address autoconfiguration
Address block 169.254.0.0/16 is defined
for the special use in link-local addressing
for IPv4 networks.[10] In IPv6, every
interface, whether using static or dynamic
address assignments, also receives a
local-link address automatically in the
block fe80::/10.[10]
Addressing conflicts
An IP address conflict occurs when two
devices on the same local physical or
wireless network claim to have the same
IP address. A second assignment of an
address generally stops the IP
functionality of one or both of the devices.
Many modern operating systems notify
the administrator of IP address
conflicts.[12][13] If one of the devices is the
gateway, the network will be crippled.
When IP addresses are assigned by
multiple people and systems with differing
methods, any of them may be at
fault.[14][15][16][17][18]
Routing
IP addresses are classified into several
classes of operational characteristics:
unicast, multicast, anycast and broadcast
addressing.
Unicast addressing
Broadcast addressing
Multicast addressing
Anycast addressing
Geolocation
A host may use geolocation software to
deduce the geolocation of its
communicating peer.[20][21]
Public address
A public IP address, in common parlance,
is a globally routable unicast IP address,
meaning that the address is not an
address reserved for use in private
networks, such as those reserved by
RFC 1918 , or the various IPv6 address
formats of local scope or site-local scope,
for example for link-local addressing.
Public IP addresses may be used for
communication between hosts on the
global Internet.
Firewalling
For security and privacy considerations,
network administrators often desire to
restrict public Internet traffic within their
private networks. The source and
destination IP addresses contained in the
headers of each IP packet are a
convenient means to discriminate traffic
by IP address blocking or by selectively
tailoring responses to external requests to
internal servers. This is achieved with
firewall software running on the networks
gateway router. A database of IP
addresses of permissible traffic may be
maintained in blacklists or whitelists.
Address translation
Multiple client devices can appear to share
an IP address, either because they are part
of a shared hosting web server
environment or because an IPv4 network
address translator (NAT) or proxy server
acts as an intermediary agent on behalf of
the client, in which case the real
originating IP address might be masked
from the server receiving a request. A
common practice is to have a NAT mask a
large number of devices in a private
network. Only the "outside" interface(s) of
the NAT needs to have an Internet-routable
address.[22]
Commonly, the NAT device maps TCP or
UDP port numbers on the side of the
larger, public network to individual private
addresses on the masqueraded network.
Diagnostic tools
Computer operating systems provide
various diagnostic tools to examine their
network interface and address
configuration. Windows provides the
command-line interface tools ipconfig and
netsh and users of Unix-like systems can
use ifconfig, netstat, route, lanstat, fstat, or
iproute2 utilities to accomplish the task.
See also
Classless Inter-Domain Routing
Hostname
IP address spoofing
IP aliasing
IP multicast
List of assigned /8 IPv4 address blocks
MAC address
Regional Internet registry
Reverse DNS lookup
Virtual IP address
WHOIS
References
1. RFC 760 , DOD Standard Internet
Protocol, DARPA, Information Sciences
Institute (January 1980).
2. J. Postel, ed. (September 1981). Internet
Protocol, DARPA Internet Program Protocol
Specification . IETF.
doi:10.17487/RFC0791 . RFC 791.
https://tools.ietf.org/html/rfc791 . Updated
by RFC 1349 , 2474 , 6864 .
3. S. Deering; R. Hinden (December 1995).
Internet Protocol, Version 6 (IPv6)
Specification . Network Working Group.
doi:10.17487/RFC1883 . RFC 1883.
https://tools.ietf.org/html/rfc1883 .
4. S. Deering; R. Hinden (December 1998).
Internet Protocol, Version 6 (IPv6)
Specification . Network Working Group.
doi:10.17487/RFC2460 . RFC 2460.
https://tools.ietf.org/html/rfc2460 .
5. S. Deering; R. Hinden (July 2017).
Internet Protocol, Version 6 (IPv6)
Specification . IETF.
doi:10.17487/RFC8200 . RFC 8200.
https://tools.ietf.org/html/rfc8200 .
6. Y. Rekhter; B. Moskowitz; D. Karrenberg;
G. J. de Groot; E. Lear (February 1996).
Address Allocation for Private Internets .
Network Working Group.
doi:10.17487/RFC1918 . BCP 5. RFC 1918.
https://tools.ietf.org/html/rfc1918 .
Updated by RFC 6761 .
7. R. Hinden; B. Haberman (October 2005).
Unique Local IPv6 Unicast Addresses .
Network Working Group.
doi:10.17487/RFC4193 . RFC 4193.
https://tools.ietf.org/html/rfc4193 .
8. R. Hinden; S. Deering (April 2003).
Internet Protocol Version 6 (IPv6)
Addressing Architecture . Network Working
Group. doi:10.17487/RFC3513 . RFC 3513.
https://tools.ietf.org/html/rfc3513 .
Obsoleted by RFC 4291 .
9. C. Huitema; B. Carpenter (September
2004). Deprecating Site Local Addresses .
Network Working Group.
doi:10.17487/RFC3879 . RFC 3879.
https://tools.ietf.org/html/rfc3879 .
10. M. Cotton; L. Vegoda; R. Bonica; B.
Haberman (April 2013). Special-Purpose IP
Address Registries . Internet Engineering
Task Force. doi:10.17487/RFC6890 . BCP
153. RFC 6890.
https://tools.ietf.org/html/rfc6890 .
Updated by RFC 8190 .
11. S. Cheshire; B. Aboba; E. Guttman (May
2005). Dynamic Configuration of IPv4 Link-
Local Addresses . Network Working Group.
doi:10.17487/RFC3927 . RFC 3927.
https://tools.ietf.org/html/rfc3927 .
12. "Event ID 4198 — TCP/IP Network
Interface Configuration" . Microsoft. 7
January 2009. Archived from the original
on 24 December 2013. Retrieved 2 June
2013. "Updated: January 7, 2009"
13. "Event ID 4199 — TCP/IP Network
Interface Configuration" . Microsoft. 7
January 2009. Archived from the original
on 22 December 2013. Retrieved 2 June
2013. "Updated: 7 January 2009"
14. Mitchell, Bradley. "IP Address Conflicts
– What Is an IP Address Conflict?" .
About.com. Archived from the original on
13 April 2014. Retrieved 23 November 2013.
15. Kishore, Aseem (4 August 2009). "How
to Fix an IP Address Conflict" . Online Tech
Tips Online-tech-tips.com. Archived from
the original on 25 August 2013. Retrieved
23 November 2013.
16. "Get help with "There is an IP address
conflict" message" . Microsoft. 22
November 2013. Archived from the original
on 26 September 2013. Retrieved
23 November 2013.
17. "Fix duplicate IP address conflicts on a
DHCP network" . Microsoft. Archived from
the original on 28 December 2014.
Retrieved 23 November 2013. Article ID:
133490 – Last Review: 15 October 2013 –
Revision: 5.0
18. Moran, Joseph (1 September 2010).
"Understanding And Resolving IP Address
Conflicts - Webopedia.com" .
Webopedia.com. Archived from the original
on 2 October 2013. Retrieved 23 November
2013.
19. M. Cotton; L. Vegoda; D. Meyer (March
2010). IANA Guidelines for IPv4 Multicast
Address Assignments . IETF.
doi:10.17487/RFC5771 . ISSN 2070-1721 .
BCP 51. RFC 5771.
https://tools.ietf.org/html/rfc5771 .
20. "IP Information" . 11 April 2013.
Archived from the original on 4 July 2013.
Retrieved 11 April 2013.
21. "NetAcuity Edge Offers Hyper-local IP
targeting" . 28 July 2009. Archived from
the original on 5 February 2012. Retrieved
10 December 2011.
22. Comer, Douglas (2000). Internetworking
with TCP/IP:Principles, Protocols, and
Architectures – 4th ed . Upper Saddle River,
NJ: Prentice Hall. p. 394. ISBN 0-13-018380-
6. Archived from the original on 13 April
2010.
External links
IP at Curlie
Retrieved from
"https://en.wikipedia.org/w/index.php?
title=IP_address&oldid=869649891"