Acn 8
Acn 8
Acn 8
Lecture 8
IPv6 Addressing
Solution
1- 0000:0000:0000:0000:FFFF:FFFF:FFFF:FFFF
:: FFFF:FFFF:FFFF:FFFF
2- 0000:0000:0000:0000:0000:0000:0000:0000
::
a. 0000:0000:FFFF:0000:0000:0000:0000:0000
b. 1234:2346:0000:0000:0000:0000:0000:1111
c. 0000:0001:0000:0000:0000:0000:1200:1000
d. 0000:0000:0000:0000:0000:FFFF:24.123.12.6
Solution
a. 0:0:FFFF::
b. 1234:2346::1111
c. 0:1::1200:1000
d. ::FFFF:24.123.12.6
Example
a. 1111::2222
b. ::
c. 0:1::
d. AAAA:A:AA::1234
Solution
a. 1111:0000:0000:0000:0000:0000:0000:2222
b. 0000:0000:0000:0000:0000:0000:0000:0000
c. 0000:0001:0000:0000:0000:0000:0000:0000
d. AAAA:000A:00AA:0000:0000:0000:0000:1234
IPv6 Three Address Types
Unicast Address:
A unicast address defines a single interface (computer or router). The packet
sent to a unicast address will be routed to the intended recipient.
Multicast Address:
A multicast address also defines a group of computers. In multicasting, each
member of the group receives a copy.
Anycast Address:
An anycast address defines a group of computers that all share a single address.
A packet with an anycast address is delivered to only one member of the group,
the most reachable one.
IPv6 Three Address Types
Solution
This block occupies only one-eighth of the address
spaces. To find the number of addresses, we can divide
the total address space by 8 or 23 . The result is (2128)/(23)
= 2125 —a huge block.
Assigned and Reserved Blocks
Unspecified Address
• The unspecified address is a subblock in which the entire
address consists of zeros.
• The unspecified address is used during bootstrap when a host
does not know its own address and wants to send an inquiry
to find it.
• Unspecified address cannot be used as a destination address.
The CIDR notation for this one-address subblock is ::/128.
Loopback Address
• This subblock also consists of one single address.
• This is an address used by a host to test itself without going
into the network.
• In this case, a message is created in the application layer, sent
to the transport layer, and passed to the network layer.
• The loopback consists of the prefix 00000000 followed by 119
0s and one 1.
• The CIDR notation for this one-address single block is
::1/128.
Solution
There are two differences in this case. In classful addressing, a
whole block is allocated for loopback addresses; in IPv6 only
one address is allocated as the loopback address. In addition,
the loopback block in classful addressing is part of the class A
block. In IPv6, it is only one single address in the reserved
block.
Assigned and Reserved Blocks
Multicast Block
Multicast addresses are used to define a group of hosts instead
of just one. In IPv6 a large block of addresses are assigned for
multicasting. All these addresses use the prefix 11111111.
Solution
We only need to change the seventh bit of the first
octet from 0 to 1, insert two octet (FFFE)16 and
change the format to colon hex notation. The result is
F7A9:23FF:FE14:7AD2 in colon hex.
Exampl
An organization is assigned the block 2000:1456:2474/48.
What is the CIDR notation for the blocks in the first and
second subnets in this organization.
Solution
Theoretically, the first and second subnets should use the
block with subnet identifier 000116 and 000216. This
means that the blocks are
2000:1456:2474:0000/64
and
2000:1456:2474:0001/64.
Example
Solution
The interface identifier is F7A9:23FF:FE14:7AD2 (see
Example 26.12). If we add this identifier to the global
prefix and the subnet identifier, we get:
8-4 AUTOCONFIGURATION
Solution
The host first creates its interface identifier as
F7A9:23FF:FE11:9BE2
using the Ethernet address read from its card. The host then creates its link-local
address as
Assuming that this address is unique, the host sends a router solicitation
message and receives the router advertisement message that announces the
combination of global unicast prefix and the subnet identifier as
3A21:1216:2165:1232. The host then appends its interface identifier to this prefix
to find and store its global unicast address as:
8-5 Transition from IPv4 to IPv6
Because of the huge number of systems on the Internet, the
transition from IPv4 to IPv6 cannot happen suddenly. It will take
a considerable amount of time before every system in the Internet
can move from IPv4 to IPv6. The transition must be smooth to
prevent any problems between IPv4 and IPv6 systems. Three
strategies have been devised by the IETF to help the transition.
IPv4 header
IPv6 header
Payload