3.1. Addresses without a special prefix3.1.1. Localhost addressThis is a special address for the loopback interface, similiar to IPv4 with its "127.0.0.1". With IPv6, the localhost address is:
or compressed:
Packets with this address as source or destination should never leave the sending host. 3.1.2. Unspecified addressThis is a special address like "any" or "0.0.0.0" in IPv4 . For IPv6 it's:
or:
These addresses are mostly used/seen in socket binding (to any IPv6 address) or routing tables. Note: the unspecified address cannot be used as destination address. 3.1.3. IPv6 address with embedded IPv4 addressThere are two addresses which contain an IPv4 address. 3.1.3.1. IPv4-mapped IPv6 addressIPv4-only IPv6-compatible addresses are sometimes used/shown for sockets created by an IPv6-enabled daemon, but only binding to an IPv4 address. These addresses are defined with a special prefix of length 96 (a.b.c.d is the IPv4 address):
or in compressed format
For example, the IPv4 address 1.2.3.4 looks like this:
3.1.3.2. IPv4-compatible IPv6 addressUsed for automatic tunneling (RFC 2893 / Transition Mechanisms for IPv6 Hosts and Routers), which is being replaced by 6to4 tunneling.
or in compressed format
Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |