Search

IPv6 Loopback Address and IPv6 Unspecified address

The loopback addresses (both in IPv4 and IPv6) is an address which represents the same interface of a computer. Whenever we communicate to a loopback address (both in IPv4 and IPv6) the TCP/IP protocol stack will loop the packets back on the same interface, without even leaving the interface. The loopback addresses are typically used by programmers for development and testing of network applications without even having network configurations.

In IPv4, we have an entire network (127.0.0.0/8) reserved as loopback addresses. But almost all leading operating systems use the name "localhost" to represent an IPv4 loopback address 127.0.0.1. Rest of the addresses in 127.0.0.0/8 are not widely used.

In IPv6, the IPv6 address reserved for loopback use is 0000:0000:0000:0000:0000:0000:0000:0001/128. This loopback address is so lengthy and can be further simplified as ::1/128. Click the below links to learn more about how to simplify and shorten an IPv6 address.

Unspecified address in IPv6 is the IPv6 address with all binary bits set to "0". In IPv4, the IPv4 address used as Unspecified address is 0.0.0.0/0. Unspecified address is used by an Operating System, before an IPv4 address or IPv6 address is configured on it.

Following image shows the screen-shot of an IPv6 Neighbor Solicitation message (NS message) , where IPv6 unspecified address is used as the source IPv6 address.

unspecified-ipv6-address-ns-message.jpg

IPv4 and IPv6 routers will not forward packets with the unspecified address.

In IPv6, the unspecified IPv6 address is 0000:0000:0000:0000:0000:0000:0000:0000/0. This unspecified address is so lengthy and can be further simplified as ::/0. Click the below links to learn more about how to simplify and shorten an IPv6 address. Following table shows IPv4 and IPv6 loopback and unspecified address

Type of address IPv4 IPv6
Loopback address 127.0.0.0/8 ::1/128
Unspecified address 0.0.0.0/0 ::/0

 

Written by Jajish Thomas.
Last updated on 4th September, 2023.

 

Related Tutorials
Limitations of IPv4
IPv6 History and related RFCs
IPv6 Features
Differences Between IPv4 and IPv6
Unicast, Multicast and Anycast - Types of communication in IPv6
IPv6 Datagram Header Format
Comparison between IPv4 Header and IPv6 Header
Introduction to IPv6 Addressing
What is prefix and prefix length in IPv6, Similarity between IPv4 subnet mask and IPv6 prefix
IPv6 Address formats
How to Simplify Shorten and Compress IPv6 Addresses
Types of IPv6 Addresses, Global Unicast, Link-local, Multicast, Anycast, Loopback addresses
Global Unicast IPv6 Addresses, Global Unicast IPv6 Address prefix, format and range
Different methods to assign a Global Unicast IPv6 address to an interface
What are IEEE EUI-64 based Global Unicast IPv6 addresses
How to configure Static Global Unicast IPv6 Address in a Cisco Router Interface
How to configure EUI-64 based Global Unicast IPv6 Address in a Cisco Router Interface
How to configure static Global Unicast IPv6 Address in a Windows Server
What is SLAAC - Stateless Address Auto-configuration in IPv6
How SLAAC works in IPv6