IPv6 cheat-sheet, part 3: IPv6 multicast
Many IPv6 multicast addresses are well-known to software implementing IPv6, to simplify common routing needs.
Read moreThe IPv6 loopback address (::1) is a reserved unicast address defined in RFC 4291 that allows a host to send packets to itself for local communication and testing without involving physical network hardware or leaving the node. Unlike IPv4's 127.0.0.0/8 block, IPv6 designates only the single address ::1/128 as loopback, which is handled entirely within the host's IP stack and must never be assigned to a physical interface or forwarded by routers. Administrators and applications rely on ::1 to verify IPv6 stack functionality, bind services securely to localhost-only connections, and perform local testing, though improper configuration—such as services listening on all interfaces or incomplete firewall rules—can expose systems or cause connectivity errors.
The loopback address is handled entirely within the host's IP stack. A packet addressed to ::1 is looped back internally and is not placed on any physical link.
The address does not depend on any network hardware, so it works even when no link is up. RFC 4291 states that it must never be assigned to a physical interface and that packets with it as a source or destination must not be sent outside the node. Routers must not forward such packets.
A reply from ::1 only shows the local IPv6 stack is working. It says nothing about the adapter, the link, the default gateway or reachability of any other host, so a working loopback test does not clear the network path.
Engineers used to IPv4 often expect an entire block like 127.0.0.0/8. IPv6 reserves only the single address ::1, so addresses that look similar, such as ::2, are not loopback.
A service bound to ::1 is not reachable from other hosts, but it may still be bound to 127.0.0.1 or to all addresses separately. A service listening on the wildcard address :: is exposed on every interface, so each address family needs checking.
Some assume localhost only resolves to IPv4 when IPv6 is turned off. Applications and hosts files that map localhost to ::1 can then fail or fall back slowly, causing delays or connection errors in local services.
Packets with ::1 as source or destination must not be sent on a link or forwarded by a router. Seeing them on a wire points to a misconfigured device, and routers should drop them.