A.
When do I have to go to
IPv6?
IPv4 IPv6
IPv4 and IPv6 will coexist for the foreseeable future.
Dual-stack Device running both IPv4 and IPv6.
4
address space.
It was a chance to make some
improvements on the IP
protocol.
6
IPv6 at a Glance
Next Header = Protocol field in IPv4.
IPv4.
Number of router hops before packet
is discarded.
Routers do not fragment IPv6 packets unless it is the source of the packet.
Use of a Link-Local Address.
ICMPv6 is more robust than ICMPv4.
SLAAC (Stateless Address Autoconfiguration) for dynamic addressing.
16 bits
2
16 bits
3
16 bits
4
16 bits
5
16 bits
6
16 bits
7
16 bits
8
2001:0DB8:AAAA:1111:0000:0000:0000:0100/64
2001 : 0DB8 : AAAA : 1111 : 0000 : 0000 : 0000 : 0100
16 bits
16 bits
16 bits
16 bits
16 bits
16 bits
16 bits
16 bits
10
Rule 1: Leading 0s
Two rules for reducing the size of written IPv6 addresses.
The first rule is: Leading zeroes in any 16-bit segment do not have to be written.
2001 : 0DB8 : 0001 : 1000 : 0000 : 0000 : 0ef0 : bc00
2001 :
DB8 :
1 : 1000 :
0 :
0 :
ef0 : bc00
DB8 :
10d :
a :
dd : c000 : e000 :
DB8 :
0 :
0 :
0 :
0 :
0 :
500
11
:
Second Rule
First Rule
FE80::1
12
FE80 ::
14 :
0 :
0 :
95
OR
FE80 :
0 :
0 :
0 :
14 ::
95
13
14
Network Prefixes
IPv4, the prefixthe network portion of the addresscan be identified
by a dotted decimal netmask or bitcount.
255.255.255.0
or /24
16
32
48 64 bits
15
IPv6 Addresses
16
IPv6 Addressing
Assigned
FF00::/8
Global
Unicast
Link-Local
2000::/3
3FFF::/3
FE80::/10
FEBF::/10
Anycast
Multicast
Unicast
Solicited Node
FF02::1:FF00:0000/104
Loopback
Unspecified
Unique
Local
::1/12
8
::/128
FC00::/7
FDFF::/7
Embedded
IPv4
::/80
17
18
Range:
to
2000::/3
3FFF::/3
Interface ID
19
Range:
to
2000::/3
3FFF::/3
Interface ID
/?
Subnet portion
Host portion
32 bits
IPv6 Global Unicast Address
/64
/48
16-bit Fixed
Global Routing Prefix
Subnet ID
Interface ID
128 bits
64-bit Interface ID = 18 quintillion (18,446,744,073,709,551,616) devices/subnet
16-bit Subnet ID = 65,536 subnets
21
16 bits
16 bits
/64
16 bits
16 bits
16 bits
16 bits
16 bits
Interface ID
3-1-4 Rule
2001:0DB8:AAAA:000A::/64
Valid abbreviation is to remove the 3 leading 0s from the first shown quartet
2001:0DB8:AAAA:1::/64
23
/48
48 bits
64 bits
16bits
Subnet ID
Prefix
Interface ID
Subnet-ID
Interface ID
/48
48 bits
20 bits
60 bits
Subnet ID
Interface ID
/68 Prefix
Subnetting on a nibble (4 bit) boundary makes it easier to list the subnets:
/68
/64, /68, /72, etc.
2001:0DB8:AAAA:0000:0000::/68
2001:0DB8:AAAA:0000:1000::/68
2001:0DB8:AAAA:0000:2000::/68
through
2001:0DB8:AAAA:FFFF:F000::/68
25
Manual
IPv6
Unnumbered
IPv6 Address
Static
Dynamic
Stateless
Autoconfiguration
DHCPv6
EUI-64
26
Topology
27
29
30
2001:db8:acad:1::10
64
2001:db8:acad:1::1
32
. :
33
from
from
from
from
2001:db8:acad:1::1:
2001:db8:acad:1::1:
2001:db8:acad:1::1:
2001:db8:acad:1::1:
time=1ms
time=1ms
time=1ms
time=1ms
Dynamic
Manual
IPv6
Unnumbered
IPv6 Address
Static
Stateless
Autoconfiguration
DHCPv6
EUI-64
35
36
The Router Advertisement (RA) tells hosts how it will receive IPv6 Address
Information.
Sent periodically by an IPv6 router or
When the router receives a Router Solicitation message from a host.
37
Router Advertisement
command
Forwards IPv6 Packets
Can be enabled for IPv6 static and dynamic routing
Sends ICMPv6 Router Advertisements
Routers can be configured with IPv6 addresses without being an IPv6 router
38
DHCPv6
DHCPv6
Server
RA
Option 3
I cant help you. Ask a DHCPv6 server for all your information.
39
MAC: 00-03-6B-8C-E0-80
1
Option 1 RA Message
Prefix: 2001:DB8:ACAD:1::
RA
Prefix-length: /64
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
2001:DB8:ACAD:1: + Interface ID
3
DHCPv6 Server
EUI-64 Process or
Random 64-bit value
40
Dynamic Interface ID
Router Advertisement
2001:DB8:ACAD:1::/64
/48
/64
Global Routing Prefix Subnet ID
DHCPv6 Server
64 bits
Interface ID
SLAAC
EUI-64 Process
MAC: 00-03-6B-E9-D4-80
1
Option 1 RA Message
To:
Prefix: 2001:DB8:ACAD:1::
RA
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
Prefix-length: /64
Default Gateway: FE80::1
Global Unicast Address:
2001:DB8:ACAD:1: + Interface ID
DHCPv6 Server
EUI-64 Process or
Random 64-bit value
42
EUI-64
OUI
24 bits
Hexadecimal
00
Device Identifier
24 bits
03
6B
E9
D4
80
1110
1001
1101 0100
1000 0000
0000 0011
0110 1011
F F
F E
0110 1011
1111 1111
1111 1110
1110
1001
1101 0100
1000 0000
0110 1011
1111 1111
1111 1110
1110
1001
1101 0100
1000 0000
FE
E9
D4
80
0000 0011
02
03
6B
FF
43
PC1: Global
Unicast Address
Router Advertisement
EUI-64
PC1> ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix
. :
45
IPv6 Addressing
Assigned
FF00::/8
Global
Unicast
Link-Local
2000::/3
3FFF::/3
FE80::/10
FEBF::/10
Anycast
Multicast
Unicast
Solicited Node
FF02::1:FF00:0000/104
Loopback
Unspecified
Unique
Local
::1/12
8
::/128
FC00::/7
FDFF::/7
Embedded
IPv4
::/80
46
Link-local Unicast
10 bits
Remaining 54 bits
/64
FE80::/10
Range:
to
FE80::/10
FEBF::/10
64
bits
Interface ID
EUI-64, Random or Manual Configuration
1111 1110 1000 0000 ::
1111 1110 1011 1111 ::
47
Link-local unicast
Link-Local Communications
G0/0
G0/1
S0/0/0
Wait!
Two
R1 Link-Locals
are the same!
EUI-64
FF:FE = EUI-64 (most likely)
Serial interfaces will use a MAC
address of an Ethernet interface.
49
PC1> ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix
.:
Many operating systems will use a random 64-bit Interface IDs for GUA and Link-
Configuring Static
Link-Local Addresses
Static addresses are more easily remembered
and recognizable.
R1(config)#interface gigabitethernet 0/0
R1(config-if)#ipv6 address fe80::1 ?
link-local Use link-local address
G0/0
FE80::1
G0/1 R1
FE80::1
S0/0/0
FE80::1
Link-Local
Addresses only
have to be unique
on the link!
51
Pinging a Link-Local
Address
R1
FE80::1
2001:0DB8:ACAD:1::/64
G0/0
FE80::1
FE80::2
Ser 0/0/0
:1
Ser 0/0/0
:2
R2
2001:0DB8:ACAD:2::/64
53
IPv6 Topology
2001:0DB8:AAAA::/48
R1
Fa0/0 .1
FE80::1/64
2001:0DB8:AAAA:2::/64
Fa0/1 .1
FE80::1/64
R2
Fa0/0 .2
FE80::2/64
2001:0DB8:AAAA:1::/64
PC1
PC2
2001:0DB8:AAAA:1::200
2001:0DB8:AAAA:1::100
FE80::50A5:8A35:A5bb:66E1
54
from
from
from
from
2001:db8:aaaa:1::1:
2001:db8:aaaa:1::1:
2001:db8:aaaa:1::1:
2001:db8:aaaa:1::1:
time=1ms
time=1ms
time=1ms
time=1ms