Professional Documents
Culture Documents
Ipv6 For Ccna
Ipv6 For Ccna
Allan Johnson
Curriculum Developer and Cisco Press Author
May 2014
Cisco Confidential
Cisco Confidential
ISBN: 1587204533
ISBN: 1587204630
Cisco Confidential
Cisco Confidential
Cisco Confidential
ISBN: 1587133458
ISBN: 158713344X
Cisco Confidential
Topics
Cisco Confidential
Cisco Confidential
16 bits
2
16 bits
3
16 bits
4
16 bits
5
16 bits
6
16 bits
7
16 bits
8
Separated by colons
Cisco Confidential
10
Compressed Notation
1st Rule: Leading zeroes in any 16-bit segment do not have to be written
2nd Rule: Any single, contiguous string of one or more 16-bit segments
consisting of all zeroes can be represented with a double colon
Second Rule
First Rule
2001:DB8:AAAA:1111::100
!
Cisco Confidential
11
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
Embedded
IPv4
::
1/128
::/128
FC00::/7
FDFF::/7
::/80
Cisco Confidential
12
m bits
Range:
to
2000::/3
3FFF::/3
128-n-m bits
Interface ID
Cisco Confidential
13
/?
Subnet portion
Host portion
32 bits
IPv6 Global Unicast Address
/64
/48
16-bit Fixed
Global Routing Prefix
Subnet ID
Interface ID
128 bits
16-bit Subnet ID = 65,536 subnets
64-bit Interface ID = 18 quintillion (18,446,744,073,709,551,616) devices/subnet
Cisco Confidential
14
16 bits
16 bits
/64
16 bits
16 bits
16 bits
16 bits
16 bits
Interface ID
Cisco Confidential
15
2001:0DB8:AAAA:0000::/64
2001:0DB8:AAAA:0001::/64
2001:0DB8:AAAA:0002::/64
2001:0DB8:AAAA:000A::/64
Valid abbreviation is to remove the 3 leading 0s from the first shown quartet
2001:0DB8:AAAA:1::/64
Cisco Confidential
16
Link-Local Unicast
10 bits
Remaining 54 bits
64
bits
Interface ID
FE80::/10
Range:
to
/64
FE80::/10
FEBF::/10
Cisco Confidential
17
Cisco Confidential
18
R1
Fa0/0
FE80::1
FE80::2
Ser 0/0/0
:1
Ser 0/0/0
:2
R2
2001:DB8:CAFE:A001::/64
Cisco Confidential
19
Cisco Confidential
20
Manual
IPv6
Unnumbered
IPv6 Address
Static
Dynamic
Stateless
Autoconfiguration
DHCPv6
EUI-64
Cisco Confidential
21
Cisco Confidential
22
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.
2013-2014 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
23
Router Advertisement
command
Note: Routers can be configured with IPv6 addresses without being an IPv6
router
2013-2014 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
24
Option
1 and 2: Stateless Address
SLAAC (Stateless Address
Autocon!guration)
DHCPv6
DHCPv6
Server
RA
Cisco Confidential
25
MAC: 00-03-6B-8C-E0-80
1
Option 1 RA Message
To: FF02::1 (All IPv6 devices
multicast)
2
Prefix: 2001:DB8:ACAD:1::
RA
Prefix-length: /64
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
2001:DB8:ACAD:1: + Interface ID
3
2013-2014 Cisco and/or its affiliates. All rights reserved.
DHCPv6 Server
EUI-64 Process or
Random 64-bit value
Cisco Confidential
26
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
Cisco Confidential
27
MAC: 00-03-6B-E9-D4-80
1
Option 1 RA Message
To:
RA
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
Prefix: 2001:DB8:ACAD:1::
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
Cisco Confidential
28
EUI-64
OUI
24 bits
Hexadecimal
00
Device Identifier
24 bits
03
6B
E9
D4
80
1110 1001
1101 0100
1000 0000
1110 1001
1101 0100
1000 0000
0000 0011
0110 1011
F F
F E
0110 1011
1111 1111
1111 1110
0110 1011
1111 1111
1111 1110
1110 1001
1101 0100
1000 0000
FE
E9
D4
80
0000 0011
02
03
6B
FF
Cisco Confidential
29
EUI-64
PC1> ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix
. :
Cisco Confidential
30
DHCPv6 is similar to
DHCPv4.
DHCPv6
DHCPv6
Server
Cisco Confidential
31
DHCPv6 Con!guration?
See Day 12 in
31 Days Before Your
CCENT Certification
Exam
Cisco Confidential
32
Cisco Confidential
33
Cisco Confidential
34
!
!
Prefix
Prefixlength
Next-hop
Cisco Confidential
35
A summary route:
R1(config)# ipv6 route 2001:db8:acad::/48 2001:db8:feed::1
2013-2014 Cisco and/or its affiliates. All rights reserved.
Cisco Confidential
36
Our Topology
Cisco Confidential
37
Cisco Confidential
38
Cisco Confidential
39
2001:DB8:ACAD:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
2001:DB8:ACAD:1::1/128 [0/0]
Connected routes occur for
via GigabitEthernet0/0, receive
any interface with an IPv6
2001:DB8:ACAD:4::/64 [0/0]
unicast address that has
via Serial0/0/0, directly connected
more than link local scope
2001:DB8:ACAD:4::1/128 [0/0]
via Serial0/0/0, receive
Link-local addresses are
FF00::/8 [0/0]
not included in the routing
via Null0, receive
table because they are not
Cisco Confidential
40
2001:DB8:ACAD:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
2001:DB8:ACAD:1::1/128 [0/0]
The local routes are all /128
via GigabitEthernet0/0, receive
routes (host routes) for the
2001:DB8:ACAD:4::/64 [0/0]
routers IPv6 unicast address
via Serial0/0/0, directly connected
2001:DB8:ACAD:4::1/128 [0/0]
Allow the router to more
via Serial0/0/0, receive
efficiently process packets
FF00::/8 [0/0]
Multicast packets
directed to the router itself
via Null0, receive
Not routed
rather than for packet
forwarding
Cisco Confidential
41
Cisco Confidential
42
Cisco Confidential
43
Cisco Confidential
44
Cisco Confidential
45
IPv4
IPv6
Link State
Link State Routing
Protocols
Path Vector
RIPv2
EIGRP
OSPFv2
IS-IS
BGP-4
RIPng
EIGRP for
IPv6
OSPFv3
IS-IS for
IPv6
BGP-4 for
IPv6
Most IPv6 routing protocol commands are identical to their IPv4 counterpart
Just need to substitute ipv6 for ip
Coming Soon! RFC 6550, IPv6 Routing Protocol for Low-Power and Lossy Networks (RPL,
Cisco Confidential
2013-2014 Cisco and/or its affiliates. All rights reserved.
or sometimes referred to as Ripple)
46
Cisco Confidential
47
EIGRP for
IPv4
EIGRP for
IPv4
Neighbor
Table
Topology
Table
IPv4
Routing
Table
EIGRP for
IPv4
EIGRP for
IPv4
Neighbor
Table
Topology
Table
IPv4
Routing
Table
IPv4 Network
R2
R1
EIGRP for
IPv6
EIGRP for
IPv6
Neighbor
Table
Topology
Table
IPv6
IPv6 Network
EIGRP for
IPv6
EIGRP for
IPv6
Neighbor
Table
Topology
Table
Routing
Table
IPv6
Routing
Table
Cisco Confidential
48
Advertised routes
IPv4 networks
IPv6 prefixes
Distance vector
Yes
Yes
Convergence technology
DUAL
DUAL
Metric
Transport protocol
RTP
RTP
Update messages
Neighbor discovery
Hello packets
Hello packets
Source address;
destination addresses
IPv4 address;
224.0.0.10 IPv4 multicast
Authentication
MD5
Router ID
32-bit router ID
32-bit router ID
Cisco Confidential
49
EIGRP for
IPv6
EIGRP for
IPv6
Neighbor
Table
Topology
Table
IPv6
Routing
Table
EIGRP for
IPv6
EIGRP for
IPv6
Neighbor
Table
Topology
Table
IPv6
Routing
Table
IPv6 Network
R1
R2
Cisco Confidential
50
S0/0/0
:1
S0/0/1
S0/0/0
R1 :1
:2
G0/0
2001:DB8:CAFE:A003::/64
:1
Link-local
addresses
FE80::1
2001:DB8:CAFE:1::/64
2013-2014 Cisco and/or its affiliates. All rights reserved.
Link-local
addresses
R3 FE80::3
Note: All
G0/0
addresses have
:1
2001:DB8:CAFE:3::/64
been configured
Cisco Confidential
51
EIGRP uses a 32-bit Router ID for both IPv4 and IPv6 (eigrp not always required)
The eigrp router-id command takes precedence over any loopback or physical
interface IPv4 addresses
If there are no active IPv4 interfaces, then the eigrp router-id command is required
Cisco Confidential
52
Cisco Confidential
53
Cisco Confidential
54
Uptime
SRTT
(ms)
00:37:17
45
00:53:16
32
RTO
Q Seq
Cnt Num
270 0 8
2370
Cisco Confidential
55
56
2001:DB8:CAFE:2::/64 [90/3524096]
via FE80::3, Serial0/0/1
2001:DB8:CAFE:3::/64 [90/2170112]
via FE80::3, Serial0/0/1
2001:DB8:CAFE:A002::/64 [90/3523840]
via FE80::3, Serial0/0/1
D
D
R1#
Cisco Confidential
57
*
2001:DB8:ACAD::/48
*This manual summary route will include all /64 prefixes from
2001:DB8:ACAD:0000::/64 to 2001:DB8:ACAD:FFFF::/64
Cisco Confidential
58
2001:DB8:ACAD::/48
2001:DB8:ACAD::/48
Similar command as EIGRP for IPv4
R3(config)# interface serial 0/0/0
R3(config-if)# ipv6 summary-address eigrp 2 2001:db8:acad::/48
R3(config-if)# exit
R3(config)# interface serial 0/0/1
R3(config-if)# ipv6 summary-address eigrp 2 2001:db8:acad::/48
R3(config-if)# end
R3# show ipv6 route
Similar to EIGRP for IPv4, R3
D
2001:DB8:ACAD::/48 [5/128256]
via Null0, directly connected
59
R1
2001:DB8:ACAD::/48
Cisco Confidential
60
2001:DB8:CAFE::/48
R2
R1
S0/1/0
:1
Default
Route
S0/0/1
:2 ISP
Internet
R3
Cisco Confidential
61
Cisco Confidential
62
Cisco Confidential
63
OSPFv2
OSPFv2
Neighbor
Table
LSDB
OSPfv2
IPv4
Routing
Table
Neighbor
Table
OSPFv2
IPv4
Routing
Table
LSDB
IPv4 Network
R2
R1
OSPFv3
Neighbor
Table
IPv6 Network
OSPFv3
LSDB
IPv6
Routing
Table
OSPFv3
Neighbor
Table
OSPFv3
LSDB
IPv6
Routing
Table
Cisco Confidential
64
OSPFv2
OSPFv3
Advertises
IPv4 networks
IPv6 prefixes
Link-State
Yes
Yes
Routing Algorithm
SPF
SPF
Metric
Cost
Cost
Source address
Destination address
224.0.0.5 All-OSPF-routers
224.0.0.6 All-DR-routers
IPv4 unicast address
FF02::5 All-OSPFv3-routers
FF02::6 All-DR-routers
IPv6 link-local address
Authentication
IPSec
Areas
Yes
Yes
Packet types
Neighbor discovery
DR and BDR
Multi-access networks
Multi-access networks
Router ID
32-bit router ID
32-bit router ID
Cisco Confidential
65
OSPFv3
OSPFv3
Neighbor
Table
LSDB
IPv6
OSPFv3
Routing
Table
Neighbor
Table
OSPFv3
IPv6
Routing
Table
LSDB
IPv6 Network
R1
R2
Cisco Confidential
66
OSPFv3 Topology
2001:DB8:CAFE:2::/64
Link-local
2001:DB8:FEED:1::/64
addresses G0/0
:1
FE80::2
S0/1/0
S0/0/1
Internet
:1
R2
:2 ISP
S0/0/0
S0/0/1
:2
:1
2001:DB8:CAFE:A001::/64
2001:DB8:CAFE:A002::/64
S0/0/1
:2
S0/0/0
:1
S0/0/1
S0/0/0
R1 :1
:2
G0/0
2001:DB8:CAFE:A003::/64
:1
Link-local
addresses
FE80::1
2001:DB8:CAFE:1::/64
2013-2014 Cisco and/or its affiliates. All rights reserved.
Link-local
addresses
R3 FE80::3
G0/0
Note: All
:1
2001:DB8:CAFE:3::/64
addresses have
been configured
Cisco Confidential
67
Cisco Confidential
68
Reference
Bandwidth
in bps
Gigabit Ethernet
1 Gbps
1,000,000,000
1,000,000,000
Fast Ethernet
100 Mbps
1,000,000,000
100,000,000
10
Ethernet
10 Mbps
1,000,000,000
10,000,000
100
Serial
1.544 Mbps
1,000,000,000
1,544,000
647
Serial
128 kbps
1,000,000,000
128,000
7812
1,000,000,000
64,000
15625
Serial
64 kbps
2013-2014 Cisco and/or its affiliates. All rights reserved.
Default Bandwidth
in bps
Cost
Cisco Confidential
69
Cisco Confidential
70
Cisco Confidential
71
Pri
0
0
State
FULL/
FULL/
Dead Time
00:00:39
00:00:36
Interface ID
6
6
Interface
Serial0/0/1
Serial0/0/0
Cisco Confidential
72
Cisco Confidential
73
2001:DB8:CAFE:2::/64 [110/657]
via FE80::2, Serial0/0/0
2001:DB8:CAFE:3::/64 [110/1304]
via FE80::2, Serial0/0/0
2001:DB8:CAFE:A002::/64 [110/1294]
via FE80::2, Serial0/0/0
O
O
R1#
Cisco Confidential
74
Cisco Confidential
75
2001:DB8:CAFE::/48
R2
R1
S0/1/0
:1
Default
Route
S0/0/1
:2 ISP
Internet
R3
Cisco Confidential
76
What we covered
Quick Review of IPv6 Addresses
IPv6 Static Routes
EIGRP for IPv6
Single-Area OSPFv3
Cisco Confidential
77
Thank you.