Professional Documents
Culture Documents
IPv6 subnetting is similar to IPv4 in that binary values of 1 are used to indicate network address
bits, but there are differences in how the subnet mask appears and which bits should be used to
create subnets.
IPv6 Notation
All IPv6 addresses are made up of 128 binary digits, represented by 8 hexadecimal segments,
where each segment is comprised of 16 of those 128 digits. For example, the binary notation
would be broken up like this:
0000000000000000.0000000000000000.0000000000000000.0000000000000000.0000000000000000.00000000000
00000.0000000000000000.0000000000000000
Since 216 = 65536, it would be cumbersome to write these addresses in decimal notation. It was
decided that hexadecimal would be used to represent each 16 bit binary address segment. Each
hexadecimal digit is made up of 4 binary digits, so each 16 bit binary address segment is
represented by a 4 digit hexadecimal number. For example:
Binary Hexadecimal
0000000000000000 0000
1101010011011011 D4DB
1111111111111111 FFFF
1111111111111111.1111111111111111.1111111111111111.1111111111111111.1111111111111111.1111111111111111.1
111111111111111.1111111111111111
FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
Subnetting IPv6
Like IPv4, an IPv6 address has a portion that identifies the network segment, and a portion used
for host addressing. Unlike IPv4, an IPv6 address has a dedicated subnetting portion. Here's how
the ranges are divided in IPv6:
Subnetting Range:
The 16 bits from the 49th to the 54th are for defining subnets.
0000000000000000.0000000000000000.0000000000000000.0000000000000000.0000000000000000.00000000000
00000.0000000000000000.0000000000000000
Therefore, the first 64 bits of the address are used for network addressing and the last 64 bits
identify the host. Due to this standardized format, subnetting is actually easier in IPv6 once you
get used to it. As with IPv6, first determine the number of desired subnets and then figure out
the power of 2 that is greater than or equal to that number. For example:
The number used as the exponent in the above calculation (6) is the number of bits that must be
borrowed. The subnet range of our IP address would be modified to this:
1111110000000000
which translates into FC00 in hexadecimal. That would make our full IPv6 subnet mask for our
address range look like this:
1111111111111111.1111111111111111.1111111111111111.1111110000000000.0000000000000000.00000000000000
00
OR
FFFF:FFFF:FFFF:FC00:0:0:0:0
An ISP network contains 5 segments where each segment has 4 routers each. The IPv6 address
prefix allocated is 2001:00AA:0:0:0:0:0:0. Create a smaller subnet of the allocated block space
based on each scenarios requirements.
Scenario 1:
Take the existing address that has been assigned and subnet it into at least 28 network segments.
How many bits must be used in the subnetting range of the address to create the
appropriate number of subnets?
Scenario 2:
Take the existing address that has been assigned and subnet it into at least 48 network segments.
How many bits must be used in the subnetting range of the address to create the
appropriate number of subnets?
Scenario 3:
Take the existing address that has been assigned and subnet it into at least 68 network segments.
How many bits must be used in the subnetting range of the address to create the
appropriate number of subnets?
Scenario 4:
Take the existing address that has been assigned and subnet it into at least 88 network segments.
How many bits must be used in the subnetting range of the address to create the
appropriate number of subnets?