IPv 6
IPv 6
IPv 6
IPv6 Addressing
IPv6 Address
Reasons
Representation
IPv4 Address Depletion
IP Address
Shortage Response
340,282,366,920,938,463,463,374,607,431,768,211,456
( To be Exact)
Population Growth
Mobile Users
Transportation
Consumer Electronics
IPv6 Address
Representation
1 2 3 4 5 6 7 8
2001:0DB8:FACE:0001:AB00:0000:0000:0068
16 Bits 16 Bits 16 Bits 16 Bits 16 Bits 16 Bits 16 Bits 16 Bits
128 Bits
Example:
1 2 3 4 5 6 7 8
2001:0DB8:FACE:0001:AB00:0000:0000:0068
2001: DB8:FACE: 1:AB00: 0: 0: 68
2001:DB8:FACE:1:AB00:0:0:68
Reducing the Size
of an IPv6 Address
Second Rule: Successive fields of zeros can be
represented as two colons (::).
Example:
1 2 3 4 5 6 7 8
2001:0DB8:FACE:0000:AB00:0000:0000:0068
2001: DB8:FACE: 0:AB00: 0: 0: 68
2001: DB8:FACE: 0:AB00: : 68
2001:DB8:FACE:0:AB00::68
Reducing the Size
of an IPv6 Address
Third Rule: Double colons (::) can only be used once
in an address.
Example:
1 2 3 4 5 6 7 8
2001:0DB8:0000:0000:AB00:0000:0000:0068
2001: DB8: 0: 0:AB00: 0: 0: 68
2001: DB8: :AB00: : 68
2001:DB8::AB00::68
2001:DB8:0:0:AB00::68
2001:DB8::AB00:0:0:68
Find the Mistake!
2001:0DB8:0000:0000:FFFF:0CA0:0000:0000
1) 2001:DB8::FFFF:CA0:0:0
2) 2001:db8:0:0:FFFF:0CA0:0:0
3) 2001:DB8::FFFF:CA0:0:0
4) 2001:db8::FFFF:ca0::
5) 2001:db8:0:0:FFFF:CA0::
6) 2001:db8::FFFF:CA:0:0
IPv6 Address
Types
Structure
Types of IPv6 Address
One to Many
An address for a set of interfaces (typically
belonging to different nodes).
Multicast A packet sent to a multicast address will be
delivered to all interfaces identified by that
address.
IPv6 Unicast
Address
IPv4 IPv6
Classes/Types A Global Unicast
B Unicast Address
C Link-local Address
D
E Site-local address
Multicast
Anycast
Addresses 2^32 Billion 3.4x10^38 Undecillion
Format Decimal Hexadecimal
Mask Decimal Prefix (/)
Notation
IPv6 Global Unicast
Address Scopes
255.255.255.0 or /24
2001:0008:85A3:4000::/64
Structure of an IPv6
Global Unicast Address
32 Bits
IPv4 Network ID Host ID
128 Bits
IPv6 Network Prefix Interface ID
64 Bits 64 Bits
Structure of an IPv6
Global Unicast Address
192.168.10.123
2001:0008:85A3:4000:222:55FF:FE18:7DE8
IPv6 Network Prefix Interface ID
2001:0008:85A3:4000:222:55FF:FE18:7DE8
Structure of an IPv6
Global Unicast Address
128 Bits
Network Prefix Interface ID
64 Bits 64 Bits
Registry
(IANA/RIRs)
ISP Prefix
(PLDT/Globe)
Site Prefix
(C3P Corp.)
Subnet Prefix
(HRD/Acctg)
IPv6 Global Unicast
Address Hierarchy
Internet Assigned Numbers Authority
(IANA)
End Users
IPv6 Global Unicast
Address Hierarchy
IANA
Registries Regional Internet Registries
(APNIC)
Telco
ISPs (PLDT, Globe)
Nodes
(Workstations)
Interfaces
IPv6 Global Unicast
Address Example
Global Routing Prefix Subnet ID Interface ID
2001:0008:85A3:4000:222:55FF:FE18:7DE8
/23 /32 /48 /64 /64
Registries
(APNIC)
Interface ID
ISPs (Node/Workstation)
(Telco)
Site
(C3P Corp.)
Subnet
(ABC Company HR Dept.)
Configuring Global
Unicast Address
Static
Dynamic
Configuring Global
Unicast Address
R1(config)# config t
R1(config)# interface fa0/0
R1(config-if)# ipv6 address 2001:8:85A3:4000::1/64
R1# config t
R1(config)# int fa0/0
R1(config-if)# ipv6 add 2001:8:85A3:4000::/64 eui-64
Verifying an
IPv6 Address
FastEthernet0/0 [up/up]
2001:8:85A3:4000:222:55FF:FE18:7DE8
Example:
Link-local unicast
address only
Assigning Static
Link-local Address
Registry
EUI-64
ISP Prefix
Site Prefix
Subnet Prefix
EUI-64
(Extended Unique Interface-64)
00-90-27-17-FC-0F
MAC Address
to EUI-64 Address
MAC Address
00 90 27 17 FC 0F
00 90 27 FF FE 17 FC 0F
0000 0000 90 27 FF FE 17 FC 0F
0000 0010 90 27 FF FE 17 FC 0F
EUI-64 Address
0290:27FF:FE17:FC0F
Configuring & Verifying
EUI-64 Address
Configuring EUI-64:
Verifying EUI-64:
Command Purpose
show ipv6 interface Displays the status of intesrfaces configured for
IPv6.
show ipv6 protocols Displays the parameters and current state of the
active IPv6 routing protocol processes.
s0/0/1
s0/0/0
s0/0/1 s0/0/0
PC1
2001:1:1:1::/64 2001:4:4:4::/64 PC2
PC1
2001:1:1:1::/64 2001:4:4:4::/64 PC2
PC1
2001:1:1:1::/64 2001:4:4:4::/64 PC2
128 bits
/8 /16
F F 0 0 Group ID
1111 1111 00xx xxxx
FF00::/8
IPv6 Multicast Addresses
128 bits
/8 /16
F F 0 0
Group ID
1111 1111 00xx xxxx
Flags:
P = Prefix for unicast-based assignments
T = 0 if permanent, 1 if temporary
Flags Scope
Scope:
0 0 P T xxxx 1 (0001) = Node
2 (0010) = Link
8 bits 5 (0101) = Site
8 (1000) = Organization
E (1110) = Global
IPv6 Multicast Address
128 bits
/8 /16
F F 0 0
Group ID
1111 1111 00xx xxxx
Flags:
P = Prefix for unicast-based assignments
Flags Scope T = 0 if permanent, 1 if temporary
0 0 P T xxxx Scope:
1 (0001) = Node
8 bits 2 (0010) = Link
5 (0101) = Site
8 (1000) = Organization
E (1110) = Global
Reserved IPv6
Multicast Addresses
Reserved
Description
Multicast Address
A B
A B
Each destination node that receives the NS responds with an ICMPv6 message
type 136, NA, including Host B.
A B
IPV6 IPV6
Router Host
Local Link MAC Address
00:14:BF:7A:3C:E5
RA
R1
R1
A B