IPV6: Prefix Length Notation

IPV6 Prefix Length Notation
Андрей Волков

Андрей Волков

Системное, сетевое администрирование +DBA. И немного программист!))  Профиль автора.

In IPv4, the prefix of the address (the network portion) can be represented either by a dotted-decimal netmask (the subnet mask) or through CIDR notation. When we see 192.168.100.0 255.255.255.0 or 192.168.100.0/24, we know that the network portion of the address is the first 24 bits of the address (192.168.100) and that the last 8 bits (.0) are host bits. IPv6 address prefixes are represented in much the same way as IPv4 address prefixes are written in CIDR notation. IPv6 prefixes are represented using the following format:

IPv6-Address/Prefix-Length

The prefix-length is a decimal value showing the number of leftmost contiguous bits of the address. It identifies the prefix (the network portion) of the address. In unicast addresses, it is used to separate the prefix portion from the Interface ID. The Interface ID is equivalent to the host portion of an IPv4 address.

Looking at the address

2001:db8:aaaa:1111::100/64

we know that the leftmost 64 bits are the prefix (network portion) and the remaining bits are the Interface ID (host portion). See Figure 1.

IPv6 Prefix and Prefix Length

Figure 1 IPv6 Prefix and Prefix Length

A /64 prefix length results in an Interface ID of 64 bits. This is a common prefix length for most end-user networks. A /64 prefix length gives us 264 or 18 quintillion devices on a single network (or subnet).

There are several more common prefix length examples, as shown in Figure 2. All of these examples fall either on a hextet boundary or on a nibble boundary (a multiple of 4 bits). Although prefix lengths do not need to fall on a nibble boundary, most usually do.

 

Figure 2 IPv6 Prefix Length Examples

Вас заинтересует / Intresting for you:

Cisco Cables and Connections d...
Cisco Cables and Connections d... 1010 views Валерий Павлюков Sat, 05 Feb 2022, 17:34:37
IPv6 Addressing - How It Works...
IPv6 Addressing - How It Works... 2642 views Валерий Павлюков Sat, 05 Feb 2022, 17:34:57
Reducing the Notation of an IP...
Reducing the Notation of an IP... 1842 views Андрей Волков Sun, 14 Feb 2021, 12:15:56
What does an IPV4 address look...
What does an IPV4 address look... 1528 views Андрей Волков Sat, 13 Feb 2021, 18:50:44
Comments (0)
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Suggested Locations