Jump to content

Private network: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Replaced content with '{{'
Line 1: Line 1:
{{
{{TOCright}}
In the [[Internet]] addressing architecture, a '''private network''' is a network that uses private [[IP address]] space, following the standards set by RFC 1918 and RFC 4193. These addresses are commonly used for home, office, and enterprise [[local area network]]s (LANs), when globally routable addresses are not mandatory, or are not available for the either by accident, or from malicious traffic using a spoofed source address. Less commonly, ISP edge routers will drop such egress traffic from customers, which reduces the impact to the Internet of such misconfigured or malicious hosts on the customer's network.

==Private IPv4 address spaces==
The [[Internet Engineering Task Force]] (IETF) has directed the [[Internet Assigned Numbers Authority]] (IANA) to reserve the following IPv4 address ranges for private networks, as published in RFC 1918:

{| class="wikitable"
! RFC1918 name !! IP address range !! number of addresses
! ''[[classful network|classful]]'' description !! largest [[Classless Inter-Domain Routing|CIDR]] block (subnet mask) || host id size
|-
[[Classful addressing]] is obsolete and has not been used in the Internet since the implementation of [[Classless Inter-Domain Routing]] (CIDR) starting in 1993. For example, while 10.0.0.0/8 was a single class A network, it is common for organizations to divide it into smaller /16 or /24 networks.

==Private IPv6 addresses==
The concept of private networks and special address reservation for such networks has been carried over to the next generation of the [[Internet Protocol]], [[IPv6]].

The address block <tt>fc00::/7</tt> has been reserved by IANA as described in RFC 4193. These addresses are called [[Unique Local Address]]es (ULA). They are defined as being [[unicast]] in character and contain a 40-bit random number in the routing prefix to prevent collisions when two private networks are interconnected. Despite being inherently ''local'' in usage, the IPv6 address scope of unique local addresses is global (cf. [[IPv6 address]]es, section "IPv6 Address Scopes").

A former standard proposed the use of so-called "site-local" addresses in the fec0::/10 range, but due to major concerns about scalability and the poor definition of what constitutes a ''site'', its use has been deprecated since September 2004 by RFC 3879.

==Link-local addresses==
{{main|Zero configuration networking}}
{{also|Link-local address}}
Another type of private networking uses the ''link-local address range'' codified in RFC 5735 and RFC 3927. The utility of these addresses is in self-autoconfiguration by network devices when [[Dynamic Host Configuration Protocol]] (DHCP) services are not available and manual configuration by a network administrator is not desirable.

In IPv4, the block 169.254/16 is reserved for this purpose, with the exception of the first and the last /24 subnet in the range. If a host on an IEEE 802 ([[ethernet]]) network cannot obtain a network address via DHCP, an address from 169.254.1.0 to 169.254.254.255 may be assigned [[pseudorandom]]ly. The standard prescribes that address collisions must be handled gracefully.

The [[IPv6]] addressing architecture sets aside the block <tt>fe80::/10</tt> for IP address autoconfiguration.

Link-local addresses have even more restrictive rules than the private network addresses defined in RFC 1918: packets to or from link-local addresses must not be allowed to pass through a router. (RFC 3927, [http://tools.ietf.org/html/rfc3927#section-7 section 7]).

==Private use of other reserved addresses==
Historically other address blocks than the private address ranges have been reserved for other potential future uses. Some organizations have used them for private networking applications despite official warnings of possible future address collisions.

==RFC References==
* RFC 1918 &ndash; ''"Address Allocation for Private Internets"''
* RFC 2036 &ndash; ''"Observations on the use of Components of the Class A Address Space within the Internet"''
* RFC 2050 &ndash; ''"Internet Registry IP Allocation Guidelines"''
* RFC 2101 &ndash; ''"IPv4 Address Behaviour Today"''
* RFC 2663 &ndash; ''"IP Network Address Translator (NAT) Terminology and Considerations"''
* RFC 3022 &ndash; ''"Traditional IP Network Address Translator (Traditional NAT)"''
* RFC 3330 &ndash; ''"Special-Use IPv4 Addresses"'' (superseded)
* RFC 5735 &ndash; ''"Special-Use IPv4 Addresses"''
* RFC 3879 &ndash; ''"Deprecating Site Local Addresses"''
* RFC 3927 &ndash; ''"Dynamic Configuration of IPv4 Link-Local Addresses"''
* RFC 4193 &ndash; ''"Unique Local IPv6 Unicast Addresses"''

==References==
{{reflist}}


[[Category:Internet architecture]]
[[Category:Network_addressing]]

[[bg:Персонална мрежа]]
[[de:Private IP-Adresse]]
[[es:Red privada]]
[[fr:RFC 1918]]
[[it:Indirizzo IP privato]]
[[ja:プライベートネットワーク]]
[[nl:RFC 1918]]
[[no:Private IP-adresser]]
[[pt:Rede privada]]
[[sr:Приватна мрежа]]

Revision as of 18:58, 23 March 2010

{{