IPv6 For CCNA PDF
IPv6 For CCNA PDF
Allan Johnson
Curriculum Developer and Cisco Press Author
May 2014
Cisco Press Meet the Authors Webinar
Cisco Confidential 2 Cisco Confidential 2 2013-2014 Cisco and/or its affiliates. All rights reserved.
Allan Johnson
allan1962@gmail.com
@apjohns
Curriculum Engineering Team for the
Cisco Network Academy
Cisco Press Author (10 titles)
Cisco Networking Academy instructor
since 2000
Prior to 2000, operations manager,
business owner, and master of the 7-
year career itch.
Meet the Author
Cisco Confidential 3 2013-2014 Cisco and/or its affiliates. All rights reserved.
Cisco Press Books
! IPv6 Fundamentals: A Straightforward
Approach to Understanding IPv6, Rick
Graziani (ISBN: 1587143135)
! Cisco CCNA Routing and Switching
200-120 Official Cert Guide and
Simulator Library, Wendell Odom (ISBN:
1587204665)
! Cisco CCNA Routing and Switching
200-120 Foundation Learning Guide
Library, Anthony Sequeira, John Tiso
(ISBN: 158714378X)
! CCNA Routing and Switching Portable
Command Guide, 3rd Edition, Scott
Empson (ISBN: 1587204304)
! CCNA Routing and Switching 200-120
Flash Cards and Exam Practice Pack,
Eric Rivard (ISBN: 1587204002)
Useful Sources for IPv6 Study
Cisco Confidential 4 2013-2014 Cisco and/or its affiliates. All rights reserved.
My New 31 Days Books
Cisco Press Link
ISBN: 1587204533
Cisco Press Link
ISBN: 1587204630
Cisco Confidential 5 2013-2014 Cisco and/or its affiliates. All rights reserved.
31 Days IPv6 Content at a Glance
31 Days Before Your CCENT
ISBN: 1587204533
31 Days Before Your CCNA
ISBN: 1587204630
Cisco Confidential 6 2013-2014 Cisco and/or its affiliates. All rights reserved.
31 Days Study Resources
Cisco Confidential 7 2013-2014 Cisco and/or its affiliates. All rights reserved.
My New Practice Study Guides
Cisco Press Link
ISBN: 158713344X
Cisco Press Link
ISBN: 1587133458
Cisco Confidential 8 2013-2014 Cisco and/or its affiliates. All rights reserved.
Topics
! Quick Review of IPv6 Addresses
! SLAAC and DHCPv6
! IPv6 Static Routes
! EIGRP for IPv6
! Single Area OSPFv3
Cisco Confidential 9 2013-2014 Cisco and/or its affiliates. All rights reserved.
Quick Review of IPv6 Addresses
Cisco Confidential 10 2013-2014 Cisco and/or its affiliates. All rights reserved.
! IPv6 addresses are 128-bit addresses represented in:
! Eight 16-bit segments or hextets (not a formal term)
! Hexadecimal (non-case sensitive) between 0000 and FFFF
! Separated by colons
IPv6 Address Notation
One Hex digit = 4 bits
2001:0DB8:AAAA:1111:0000:0000:0000:0100/64
2001 : 0DB8 : AAAA : 1111 : 0000 : 0000 : 0000 : 0100
16 bits
1
16 bits
2
16 bits
3
16 bits
4
16 bits
5
16 bits
6
16 bits
7
16 bits
8
Cisco Confidential 11 2013-2014 Cisco and/or its affiliates. All rights reserved.
! 1
st
Rule: Leading zeroes in any 16-bit segment do not have to be written
! 2
nd
Rule: Any single, contiguous string of one or more 16-bit segments
consisting of all zeroes can be represented with a double colon
2001 : 0DB8 : AAAA : 1111 : 0000 : 0000 : 0000 : 0100
2001:DB8:AAAA:1111::100
Compressed Notation
Second Rule First Rule First Rule
Cisco Confidential 12 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Addressing
Multicast Unicast
Anycast
Assigned Solicited Node
Global
Unicast
Unspecified
Loopback
Embedded
IPv4
Link-Local
Unique
Local
FF00::/8 FF02::1:FF00:0000/104
::/128 ::
1/128
2000::/3
3FFF::/3
FE80::/10
FEBF::/10
FC00::/7
FDFF::/7
::/80
Focus on: Global Unicast (GUA) and Link-Local Unicast
Cisco Confidential 13 2013-2014 Cisco and/or its affiliates. All rights reserved.
Interface ID
Subnet ID Global Routing Prefix
Global Unicast Address (GUA)
n bits m bits 128-n-m bits
001
Global unicast addresses are similar to IPv4 addresses
Equivalent to IPv4 public addresses
Except under very specific circumstances, all end users will have a
global unicast address
Routable
Unique
Terminology:
Prefix equivalent to network address
Prefix length equivalent to subnet mask in IPv4
Interface ID equivalent to host portion
Range: 2000::/3 0010 0000 0000 0000 ::
to 3FFF::/3 0011 1111 1111 1111 ::
Cisco Confidential 14 2013-2014 Cisco and/or its affiliates. All rights reserved.
Typical GUA and Why We Love IPv6!
IPv4 Unicast Address
32 bits
Network portion Host portion Subnet portion
/?
IPv6 Global Unicast Address
128 bits
Global Routing Prefix
Interface ID
16-bit Fixed
Subnet ID
/64
16-bit Subnet ID = 65,536 subnets
64-bit Interface ID = 18 quintillion (18,446,744,073,709,551,616) devices/subnet
/48
Cisco Confidential 15 2013-2014 Cisco and/or its affiliates. All rights reserved.
Interface ID Subnet ID Global Routing Prefix
/64 Global Unicast Addresses and the 3-1-4 rule
2001 : 0DB8 : AAAA : 1111 : 0000 : 0000 : 0000 : 0100
3 + 1 = 4 (/64) : 4
2001:0DB8:AAAA:1111:0000:0000:0000:0100/64
2001:DB8:AAAA:1111::100/64
16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits
3 1 4
/48 /64
Cisco Confidential 16 2013-2014 Cisco and/or its affiliates. All rights reserved.
! Just increment by 1 in Hexadecimal:
! 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
Subnetting IPv6 ... Soooo Easy
Cisco Confidential 17 2013-2014 Cisco and/or its affiliates. All rights reserved.
Used to communicate with other devices on the link (network)
NOT routable off the link
An IPv6 device must have at least a link-local address
Used by:
Hosts to communicate to the IPv6 network before it has a global unicast
address
Used as the default gateway address by hosts
Adjacent routers to exchange routing updates
Interface ID
/64
1111 1110 10xx xxxx
FE80::/10
Remaining 54 bits 10 bits 64
bits
EUI-64, Random or Manual Configuration
Link-Local Unicast
Range: FE80::/10 1111 1110 1000 0000 ::
to FEBF::/10 1111 1110 1011 1111 ::
Cisco Confidential 18 2013-2014 Cisco and/or its affiliates. All rights reserved.
ipv6 enable command
Router(config)# interface fastethernet 0/1
Router(config-if)# ipv6 enable
Router(config-if)# end
Router# show ipv6 interface brief
FastEthernet0/1 [up/up]
FE80::20C:30FF:FE10:92E1
Router#
Link-local addresses are automatically created whenever a global unicast
address is configured
The ipv6 enable command will:
Create a link-local address when there is no global unicast address
Maintain the link-local address even when the global unicast address is removed
Link-local unicast address
only
Cisco Confidential 19 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1# ping fe80::2
Output Interface: ser 0/0/0
% Invalid interface. Use full interface name without spaces
(e.g. Serial0/1)
Output Interface: serial0/0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::2, timeout is 2 secs:
!!!!!
Must include exit-interface
Fa0/0
Global Unicast:
2001:DB8:CAFE:1::1/64
FE80::1
2001:DB8:CAFE:A001::/64
Ser 0/0/0
:1
Ser 0/0/0
:2
R2 R1
FE80::1
FE80::2
Ping Link-local Address
Cisco Confidential 20 2013-2014 Cisco and/or its affiliates. All rights reserved.
SLAAC and DHCPv6
Cisco Confidential 21 2013-2014 Cisco and/or its affiliates. All rights reserved.
Global Unicast
Manual
IPv6
Unnumbered
IPv6 Address
Stateless
Autoconfiguration
DHCPv6
Static
EUI-64
Dynamic
Con!guring Dynamic IPv6 Addresses
Cisco Confidential 22 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv4 Dynamic Addresses
DHCP Server
Cisco Confidential 23 2013-2014 Cisco and/or its affiliates. All rights reserved.
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.
With IPv6 it begins with the Router Advertisement
Cisco Confidential 24 2013-2014 Cisco and/or its affiliates. All rights reserved.
Router Advertisement
Router Advertisement/Solicitation Messages
Part of ICMPv6 (Internet Control Message Protocol for IPv6)
Router Advertisements are sent by an IPv6 router ipv6 unicast-routing
command
Note: Routers can be configured with IPv6 addresses without being an IPv6
router
DHCPv6 Server
R1(config)# ipv6 unicast-routing
Cisco Confidential 25 2013-2014 Cisco and/or its affiliates. All rights reserved.
SLAAC (Stateless Address Autocon!guration)
DHCPv6
Server
R1(config)# ipv6 unicast-routing
Option 1 (Default on Cisco routers)
Im everything you need (Prefix, Prefix-length, Default Gateway)
Option 2
Here is my information but you need to get other information such
as DNS addresses from a DHCPv6 server.
Option 3
I cant help you. Ask a DHCPv6 server for all your information.
RA
DHCPv6
Option 1 and 2: Stateless Address
Autconfiguration DHCPv6 Server or router
does not maintain state of addresses
Option 3: Stateful Address Configuration
Address received from DHCPv6 Server
Cisco Confidential 26 2013-2014 Cisco and/or its affiliates. All rights reserved.
Router Advertisement Option 1
Option 1 RA Message
To: FF02::1 (All IPv6 devices
multicast)
From: FE80::1 (Link-local address)
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
RA
1
MAC: 00-03-6B-8C-E0-80
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
Default Gateway: FE80::1
Global Unicast Address:
2001:DB8:ACAD:1: + Interface ID
2001:DB8:ACAD:1::/64
EUI-64 Process or
Random 64-bit value
2
DHCPv6 Server
3
Cisco Confidential 27 2013-2014 Cisco and/or its affiliates. All rights reserved.
Dynamic Interface ID
Interface ID
Subnet ID Global Routing Prefix
/48 /64 64 bits
EUI-64 Process Randomly Generated Number
SLAAC
Router Advertisement
2001:DB8:ACAD:1::/64
Windows operating systems, Windows XP and Server 2003 use EUI-64.
Windows Vista and newer; hosts create a random 64-bit Interface ID.
Linux: Mostly use random 64-bit number
Mac OSX: use EUI-64
DHCPv6 Server
Cisco Confidential 28 2013-2014 Cisco and/or its affiliates. All rights reserved.
EUI-64 (Extended Unique Identi!er 64)
Option 1 RA Message
To: FF02::1 (All-hosts multicast)
From: FE80::1 (Link-local address)
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
RA
1
MAC: 00-03-6B-E9-D4-80
Prefix: 2001:DB8:ACAD:1::
Prefix-length: /64
Default Gateway: FE80::1
Global Unicast Address:
2001:DB8:ACAD:1: + Interface ID
2001:DB8:ACAD:1::/64
EUI-64 Process or
Random 64-bit value
2
DHCPv6 Server
Cisco Confidential 29 2013-2014 Cisco and/or its affiliates. All rights reserved.
Hexadecimal
OUI
24 bits
Device Identifier
24 bits
Binary
Step 1: Split the MAC address
Binary
Step 2: Insert FFFE
Binary
Step 3: Flip the U/L bit
Binary
Modified EUI-64 Interface ID in Hexadecimal Notation
1111 1111 1111 1110
1111 1111 1111 1110
02 03 6B E9 D4 80 FF FE
00 03 6B E9 D4 80
0000 0000 0000 0011 0110 1011 1110 1001 1101 0100 1000 0000
1110 1001 1101 0100 1000 0000
1110 1001 1101 0100 1000 0000
0000 0000 0000 0011 0110 1011
0000 0010 0000 0011 0110 1011
EUI-64
F F F E
Cisco Confidential 30 2013-2014 Cisco and/or its affiliates. All rights reserved.
PC1> ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:db8:acad:1:02-03-6b-ff-fe-e9-d4-80
Link-local IPv6 Address . . . . . : fe80::02-03-6b-ff-fe-e9-d4-80
Default Gateway . . . . . . . . . : fe80::1
PC1: Global Unicast
Address
A 64-bit Interface ID and the EUI-64 process accommodate the IEEE
specification for a 64-bit MAC address.
Router Advertisement EUI-64
Cisco Confidential 31 2013-2014 Cisco and/or its affiliates. All rights reserved.
What about Stateful DHCPv6?
DHCPv6
DHCPv6 is similar to
DHCPv4.
Host operating systems
may include the option of
ignoring the Router
Advertisement from the
router and only use the
stateful services of a
DHCPv6 server.
Note: All addresses should
be checked before use with
DAD (Duplicate Address
Detection), similar to
gratuitous ARP in IPv4.
DHCPv6
Server
Cisco Confidential 32 2013-2014 Cisco and/or its affiliates. All rights reserved.
! See Day 12 in
31 Days Before Your
CCENT Certification
Exam
DHCPv6 Con!guration?
Cisco Confidential 33 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Static Routes
Cisco Confidential 34 2013-2014 Cisco and/or its affiliates. All rights reserved.
Router(config)# ipv6 unicast-routing
A routers interfaces can be enabled (configured with an IPv6 address) for
IPv6 like any other device on the network
For the router to act as an IPv6 router it must be enabled with the ipv6-
unicast routing command
This enables the router to:
Send ICMPv6 Router Advertisement messages
Enable the forwarding of IPv6 packets
Configure static routing and participate in IPv6 routing protocols (EIGRP for
IPv6, OSPFv3)
Similar to old ip routing command for IPv4 which is enabled by default
Making a Router an IPv6 Router
Cisco Confidential 35 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Static Routes
Router(config)#ipv6 route ipv6-prefix/ipv6-prefix-length
{ipv6-address | exit-interface}
! Static Route with a next hop IPv6 address:
Router(config)# ipv6 route 2001:db8:acad:2::/64 2001:db8:feed::1
Prefix
Prefix-
length
Next-hop
Cisco Confidential 36 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Static Routes
! Static Route with an exit interface:
R1(config)# ipv6 route 2001:db8:acad:2::/64 g0/0
! A fully specified static route includes an exit interface and the next hop address:
R1(config)# ipv6 route 2001:db8:acad:2::/64 g0/0 2001:db8:feed::1
! A floating static route, administrative distance greater than primary route:
R1(config)# ipv6 route 2001:db8:acad:2::/64 2001:db8:feed::1
R1(config)# ipv6 route 2001:db8:acad:2::/64 2001:db8:feed::2 5
! A summary route:
R1(config)# ipv6 route 2001:db8:acad::/48 2001:db8:feed::1
Cisco Confidential 37 2013-2014 Cisco and/or its affiliates. All rights reserved.
Our Topology
Cisco Confidential 38 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Address Con!guration
R1(config)# interface gigabitethernet 0/0
R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# exit
R1(config)# interface serial 0/0/0
R1(config-if)# ipv6 address 2001:db8:acad:4::1/64
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# exit
Otherwise, an ugly EUI-64 Interface ID is used by default
Cisco Confidential 39 2013-2014 Cisco and/or its affiliates. All rights reserved.
Verifying IPv6 Interfaces
R1# show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::1
2001:DB8:ACAD:1::1
Serial0/0/0 [up/up]
FE80::1
2001:DB8:ACAD:4::1
R1#
Same Link-local address on all
interfaces
Cisco Confidential 40 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Routing Table:
Directly Connected Networks
R1#show ipv6 route
<output omitted>
C 2001:DB8:ACAD:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:ACAD:1::1/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:DB8:ACAD:4::/64 [0/0]
via Serial0/0/0, directly connected
L 2001:DB8:ACAD:4::1/128 [0/0]
via Serial0/0/0, receive
L FF00::/8 [0/0]
via Null0, receive
R1#
! Connected routes occur for
any interface with an IPv6
unicast address that has
more than link local scope
! Link-local addresses are
not included in the routing
table because they are not
routable off the link
Cisco Confidential 41 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Routing Table:
Local Addresses
R1#show ipv6 route
<output omitted>
C 2001:DB8:ACAD:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:ACAD:1::1/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:DB8:ACAD:4::/64 [0/0]
via Serial0/0/0, directly connected
L 2001:DB8:ACAD:4::1/128 [0/0]
via Serial0/0/0, receive
L FF00::/8 [0/0]
via Null0, receive
R1#
! The local routes are all /128
routes (host routes) for the
routers IPv6 unicast address
! Allow the router to more
efficiently process packets
directed to the router itself
rather than for packet
forwarding
Multicast packets
Not routed
Cisco Confidential 42 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1(config)#ipv6 route 2001:DB8:ACAD:2::/64 2001:DB8:ACAD:4::2
R1(config)#ipv6 route 2001:DB8:ACAD:5::/64 2001:DB8:ACAD:4::2
R1(config)#ipv6 route 2001:DB8:ACAD:3::/64 2001:DB8:ACAD:4::2
R1(config)#
Con!guring IPv6 Static Routes
Cisco Confidential 43 2013-2014 Cisco and/or its affiliates. All rights reserved.
IPv6 Routing Table
Static Routes
R1#show ipv6 route static
IPv6 Routing Table - default - 8 entries
Codes: C - Connected, L - Local, S - Static, <Output omitted>
S 2001:DB8:ACAD:2::/64 [1/0]
via 2001:DB8:ACAD:4::2
S 2001:DB8:ACAD:3::/64 [1/0]
via 2001:DB8:ACAD:4::2
S 2001:DB8:ACAD:5::/64 [1/0]
via 2001:DB8:ACAD:4::2
R1#
Cisco Confidential 44 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1(config)# ipv6 route ::/0 2001:db8:acad:4::2
R1(config)# end
R1# show ipv6 route
S ::/0 [1/0]
via 2001:DB8:ACAD:4::2
IPv6 Routing Table
Default Static Routes
Cisco Confidential 45 2013-2014 Cisco and/or its affiliates. All rights reserved.
Dynamic Routing Protocols
Cisco Confidential 46 2013-2014 Cisco and/or its affiliates. All rights reserved.
Distance Vector Routing
Protocols
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
IPv4
IPv6
Distance Vector Link State
Path Vector
Interior Gateway Protocols
Exterior
Gateway
Protocols
IPv6 Routing Protocols
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,
or sometimes referred to as Ripple)
Cisco Confidential 47 2013-2014 Cisco and/or its affiliates. All rights reserved.
EIGRP for IPv6
Cisco Confidential 48 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1
R2
Neighbor
Table
EIGRP for
IPv4
IPv4
IPv4 Network
IPv6 Network
Topology
Table
Routing
Table
EIGRP for
IPv4
Neighbor
Table
EIGRP for
IPv4
IPv4
Topology
Table
Routing
Table
EIGRP for
IPv4
Neighbor
Table
EIGRP for
IPv6
IPv6
Topology
Table
Routing
Table
EIGRP for
IPv6
Neighbor
Table
EIGRP for
IPv6
IPv6
Topology
Table
Routing
Table
EIGRP for
IPv6
Cisco Confidential 49 2013-2014 Cisco and/or its affiliates. All rights reserved.
EIGRP for IPv4 EIGRP for IPv6
Advertised routes IPv4 networks IPv6 prefixes
Distance vector Yes Yes
Convergence technology DUAL DUAL
Metric Default: Bandwidth & delay
Optional: Reliability and load
Default: Bandwidth & delay
Optional: Reliability and load
Transport protocol RTP RTP
Update messages Partial & bounded updates Partial & bounded updates
Neighbor discovery Hello packets Hello packets
Source address;
destination addresses
IPv4 address;
224.0.0.10 IPv4 multicast
IPv6 link-local address;
FF02::10 IPv6 multicast
Authentication Plain text and MD5 MD5
Router ID 32-bit router ID 32-bit router ID
Cisco Confidential 50 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1
R2
IPv6 Network
Source Address: IPv6 link-local address
Destination Address: FF02::10 or IPv6 link local address
Neighbor
Table
EIGRP for
IPv6
IPv6
Topology
Table
Routing
Table
EIGRP for
IPv6
Neighbor
Table
EIGRP for
IPv6
IPv6
Topology
Table
Routing
Table
EIGRP for
IPv6
Cisco Confidential 51 2013-2014 Cisco and/or its affiliates. All rights reserved.
R3
S0/0/0
:2
S0/0/1
:2
R1
G0/0
:1
S0/0/0
:1
2001:DB8:CAFE:A001::/64
ISP
S0/1/0
:1
R2
S0/0/1
:1
S0/0/1
:2
Internet
G0/0
:1
2001:DB8:CAFE:3::/64
2001:DB8:CAFE:2::/64
2001:DB8:CAFE:1::/64
G0/0
:1
S0/0/1
:1
S0/0/0
:2
2001:DB8:CAFE:A003::/64
2001:DB8:CAFE:A002::/64
2001:DB8:FEED:1::/64
Link-local
addresses
FE80::1
Link-local
addresses
FE80::2
Link-local
addresses
FE80::3
EIGRP for IPv6 Topology
Note: All
addresses have
been configured
Cisco Confidential 52 2013-2014 Cisco and/or its affiliates. All rights reserved.
Con!guring the EIGRP for IPv6 Routing Process
R1(config)# ipv6 router eigrp 2
% IPv6 routing not enabled
R1(config)# ipv6 unicast-routing
R1(config)# ipv6 router eigrp 2
R1(config-rtr)# eigrp router-id 1.0.0.0
R1(config-rtr)# no shutdown
R1(config-rtr)#
Enables IPv6 routing
Must be same on all routers
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
Router ID should be a unique otherwise, routing inconsistencies can occur
This is specific to EIGRP for IPv6
Cisco Confidential 53 2013-2014 Cisco and/or its affiliates. All rights reserved.
Enabling EIGRP for IPv6 on the Interface
R1(config)#interface g0/0
R1(config-if)#ipv6 eigrp 2
R1(config-if)#interface s 0/0/0
R1(config-if)#ipv6 eigrp 2
R1(config-if)#interface s 0/0/1
R1(config-if)#ipv6 eigrp 2
R1(config-if)#
No network commands needed!
Cisco Confidential 54 2013-2014 Cisco and/or its affiliates. All rights reserved.
Perform same process on other routers in domain..
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router eigrp 2
R2(config-rtr)#eigrp router-id 2.0.0.0
R2(config-rtr)#no shutdown
R2(config-rtr)#
R2(config)#interface g 0/0
R2(config-if)#ipv6 eigrp 2
R2(config-if)#exit
R2(config)#interface s 0/0/0
R2(config-if)#ipv6 eigrp 2
R2(config-if)#exit
%DUAL-5-NBRCHANGE: EIGRP-IPv6 2: Neighbor FE80::1 (Serial0/0/0) is
up: new adjacency
R2(config)#interface s 0/0/1
R2(config-if)#ipv6 eigrp 2
R2(config-if)#
Cisco Confidential 55 2013-2014 Cisco and/or its affiliates. All rights reserved.
Verifying EIGRP for IPv6 Neighbor Adjacencies
R1#show ipv6 eigrp neighbors
EIGRP-IPv6 Neighbors for AS(2)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 Link-local address: Se0/0/1 13 00:37:17 45 270 0 8
FE80::3
0 Link-local address: Se0/0/0 14 00:53:16 32 2370 0 8
FE80::2
R1#
Similar information as EIGRP for IPv6
Link-local addresses are used to form adjacencies and source messages
Cisco Confidential 56 2013-2014 Cisco and/or its affiliates. All rights reserved.
Verifying EIGRP for IPv6 Parameters
R1#show ipv6 protocols
<Some output omitted for brevity>
IPv6 Routing Protocol is "eigrp 2"
EIGRP-IPv6 Protocol for AS(2)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
NSF-aware route hold timer is 240
Router-ID: 1.0.0.0
Topology : 0 (base)
Distance: internal 90 external 170
Maximum path: 16
Maximum hopcount 100
Maximum metric variance 1
Interfaces:
GigabitEthernet0/0
Serial0/0/0
Serial0/0/1
R1#
Routing protocol and Process ID
(AS Number)
EIGRP Router ID
Same EIGRP Administrative
Distances
Interfaces enabled for this EIGRP for IPv6
Same K values used in
composite metric
Cisco Confidential 57 2013-2014 Cisco and/or its affiliates. All rights reserved.
Verifying EIGRP for IPv6 Learned Pre!xes
R1#show ipv6 route eigrp
<Some output omitted>
D 2001:DB8:CAFE:2::/64 [90/3524096]
via FE80::3, Serial0/0/1
D 2001:DB8:CAFE:3::/64 [90/2170112]
via FE80::3, Serial0/0/1
D 2001:DB8:CAFE:A002::/64 [90/3523840]
via FE80::3, Serial0/0/1
R1#
Link-local addresses are used as next hop addresses
Cisco Confidential 58 2013-2014 Cisco and/or its affiliates. All rights reserved.
EIGRP for IPv6 Manual Summarization
2001:DB8:ACAD::/48
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 59 2013-2014 Cisco and/or its affiliates. All rights reserved.
EIGRP for IPv6 Manual
Summarization
2001:DB8:ACAD::/48
2001:DB8:ACAD::/48
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
D 2001:DB8:ACAD::/48 [5/128256]
via Null0, directly connected
Similar command as EIGRP for IPv4
Similar to EIGRP for IPv4, R3
includes a summary route to null0 as
a loop prevention mechanism
Cisco Confidential 60 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1# show ipv6 route | include 2001:DB8:ACAD:
D 2001:DB8:ACAD::/48 [90/2297856]
R1#
2001:DB8:ACAD::/48
2001:DB8:ACAD::/48
R1
Cisco Confidential 61 2013-2014 Cisco and/or its affiliates. All rights reserved.
ISP
S0/1/0
:1
R2
Internet
2001:DB8:FEED:1::/64
Propagating a Default Static Route in EIGRP for IPv6
R1
R3
2001:DB8:CAFE::/48
Default
Route
R2(config)# ipv6 route ::/0 2001:DB8:FEED:1::2
R2(config)# ipv6 router eigrp 2
R2(config-rtr)# redistribute static
S0/0/1
:2
R1# show ipv6 route
EX ::/0 [170/3523840]
via FE80::3, Serial0/0/1
EX = EIGRP External
Cisco Confidential 62 2013-2014 Cisco and/or its affiliates. All rights reserved.
Other commands. Exactly the same, only di"erent
R1(config)# interface serial 0/0/0
R1(config-if)# ipv6 bandwidth-percent eigrp 2 50
R1(config-if)# ipv6 hello-interval eigrp 2 60
R1(config-if)# ipv6 hold-time eigrp 2 180
R1(config-if)#
Bandwidth utilization, Hello and Hold Timers remain the same
Just add v6!
R1(config)# interface serial 0/0/0
R1(config-if)# ipv6 authentication mode eigrp 2 md5
R1(config-if)# ipv6 authentication key-chain eigrp 2 EIGRPV6_KEY
Same with MD5 Authentication (only IPv6 relevant
commands are shown)
Cisco Confidential 63 2013-2014 Cisco and/or its affiliates. All rights reserved.
Single Area OSPFv3
Cisco Confidential 64 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1
R2
Neighbor
Table
OSPFv2
IPv4
IPv4 Network
IPv6 Network
LSDB
Routing
Table
OSPFv2
Neighbor
Table
OSPfv2 IPv4
LSDB
Routing
Table
OSPFv2
Neighbor
Table
OSPFv3
IPv6
LSDB
Routing
Table
OSPFv3
Neighbor
Table
OSPFv3 IPv6
LSDB Routing
Table
OSPFv3
Cisco Confidential 65 2013-2014 Cisco and/or its affiliates. All rights reserved.
OSPFv2 OSPFv3
Advertises IPv4 networks IPv6 prefixes
Link-State Yes Yes
Routing Algorithm SPF SPF
Metric Cost Cost
Source address IPv4 source address IPv6 link-local 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 Plain text and MD5 IPSec
Areas Yes Yes
Packet types Same Hello, DBD, LSR, LSU and LSAck packets
Neighbor discovery Yes, Hello Packets Yes, Hello Packets
DR and BDR Multi-access networks Multi-access networks
Router ID 32-bit router ID 32-bit router ID
Cisco Confidential 66 2013-2014 Cisco and/or its affiliates. All rights reserved.
R1
R2
IPv6 Network
Source Address: IPv6 link-local address
Destination Address: FF02::5, FF02::6 or IPv6 link local address
Neighbor
Table
OSPFv3
IPv6
LSDB
Routing
Table
OSPFv3
Neighbor
Table
OSPFv3
IPv6
LSDB Routing
Table
OSPFv3
Cisco Confidential 67 2013-2014 Cisco and/or its affiliates. All rights reserved.
R3
S0/0/0
:2
S0/0/1
:2
R1
G0/0
:1
S0/0/0
:1
2001:DB8:CAFE:A001::/64
ISP
S0/1/0
:1
R2
S0/0/1
:1
S0/0/1
:2
Internet
G0/0
:1
2001:DB8:CAFE:3::/64
2001:DB8:CAFE:2::/64
2001:DB8:CAFE:1::/64
G0/0
:1
S0/0/1
:1
S0/0/0
:2
2001:DB8:CAFE:A003::/64
2001:DB8:CAFE:A002::/64
2001:DB8:FEED:1::/64
Link-local
addresses
FE80::1
Link-local
addresses
FE80::2
Link-local
addresses
FE80::3
OSPFv3 Topology
Note: All
addresses have
been configured
Cisco Confidential 68 2013-2014 Cisco and/or its affiliates. All rights reserved.
Con!guring the OSPFv3 Routing Process
R1(config)#ipv6 router ospf 10
R1(config-rtr)#
*Mar 29 11:21:53.739: %OSPFv3-4-NORTRID: Process OSPFv3-1-IPv6
could not pick a router-id, please configure manually
R1(config-rtr)#
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#auto-cost reference-bandwidth 1000
% OSPFv3-1-IPv6: Reference bandwidth is changed.
Please ensure reference bandwidth is consistent across
all routers.
R1(config-rtr)#end
R1#
32-bit Router ID similar to OSPFv2
Must modify reference bandwidth because we have
gigabit Ethernet links, otherwise Fastethernet and
faster would have the same cost
There is no no shutdown "
Cisco Confidential 69 2013-2014 Cisco and/or its affiliates. All rights reserved.
Auto-cost reference-bandwidth 1000
Interface Type
Reference
Bandwidth
in bps
Default Bandwidth
in bps
Cost
Gigabit Ethernet
1 Gbps
1,000,000,000 1,000,000,000 1
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
Serial
64 kbps
1,000,000,000 64,000 15625
Cisco Confidential 70 2013-2014 Cisco and/or its affiliates. All rights reserved.
Enabling OSPFv3 on the Interface
R1(config)# interface GigabitEthernet 0/0
R1(config-if)# ipv6 ospf 10 area 0
R1(config-if)# interface Serial0/0/0
R1(config-if)# ipv6 ospf 10 area 0
R1(config-if)# interface Serial0/0/1
R1(config-if)# ipv6 ospf 10 area 0
R1(config-if)# end
R1#
R1#show ipv6 ospf interfaces brief
Interface PID Area Intf ID Cost State Nbrs F/C
Se0/0/1 10 0 7 15625 P2P 0/0
Se0/0/0 10 0 6 647 P2P 0/0
Gi0/0 10 0 3 1 WAIT 0/0
R1#
No network commands needed!
Cisco Confidential 71 2013-2014 Cisco and/or its affiliates. All rights reserved.
Con!gure OSPFv3 on the other Routers.
R2(config)# ipv6 router ospf 10
R2(config-rtr)# router-id 2.2.2.2
R2(config-rtr)# auto-cost reference-bandwidth 1000
R2(config-rtr)# exit
R2(config)# interface GigabitEthernet 0/0
R2(config-if)# ipv6 ospf 10 area 0
R2(config-if)# interface Serial0/0/0
R2(config-if)# ipv6 ospf 10 area 0
R2(config-if)# interface Serial0/0/1
R2(config-if)# ipv6 ospf 10 area 0
R2(config-if)#
Cisco Confidential 72 2013-2014 Cisco and/or its affiliates. All rights reserved.
Verifying OSPFv3 Neighbor Adjacencies
R1#show ipv6 ospf neighbor
OSPFv3 Router with ID (1.1.1.1) (Process ID 10)
Neighbor ID Pri State Dead Time Interface ID Interface
3.3.3.3 0 FULL/ - 00:00:39 6 Serial0/0/1
2.2.2.2 0 FULL/ - 00:00:36 6 Serial0/0/0
R1#
Neighbors 32-bit Router IDs
Cisco Confidential 73 2013-2014 Cisco and/or its affiliates. All rights reserved.
Verifying OSPFv3 Parameters
R1 #show ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "ND"
IPv6 Routing Protocol is "ospf 10"
Router ID 1.1.1.1
Number of areas: 1 normal, 0 stub, 0 nssa
Interfaces (Area 0):
Serial0/0/1
Serial0/0/0
GigabitEthernet0/0
Redistribution:
None
R1#
Routing protocol and Process ID
OSPFv3 Router ID
Interfaces enabled for OSPFv3
Cisco Confidential 74 2013-2014 Cisco and/or its affiliates. All rights reserved.
Verifying OSPFv3 Learned Pre!xes
R1# show ipv6 route ospf
O 2001:DB8:CAFE:2::/64 [110/657]
via FE80::2, Serial0/0/0
O 2001:DB8:CAFE:3::/64 [110/1304]
via FE80::2, Serial0/0/0
O 2001:DB8:CAFE:A002::/64 [110/1294]
via FE80::2, Serial0/0/0
R1#
Link-local addresses are used as next hop addresses
Cisco Confidential 75 2013-2014 Cisco and/or its affiliates. All rights reserved.
Other commands. Exactly the same, only di"erent
R1(config)# interface serial 0/0/0
R1(config-if)# ipv6 ospf hello-interval 5
R1(config-if)# ipv6 ospf dead-interval eigrp 20
R1(config-if)#
*Apr 10 15:03:51.175: %OSPFv3-5-ADJCHG: Process 10, Nbr 2.2.2.2
on Serial0/0/0 from FULL to DOWN, Neighbor Down: Dead timer
expired
R1(config-if)#
Hello and Dead Timers remain the same
Just add v6!
R1(config)# interface serial 0/0/0
R1(config-if)# ipv6 ospf priority 10
R1(config-if)# ipv6 ospf cost 65
Changing interface priority (DR/BDR) and cost
Cisco Confidential 76 2013-2014 Cisco and/or its affiliates. All rights reserved.
ISP
S0/1/0
:1
R2
Internet
2001:DB8:FEED:1::/64
Propagating a Default Static Route with OSPFv3
R1
R3
2001:DB8:CAFE::/48
Default
Route
R2(config)# ipv6 route ::/0 2001:DB8:FEED:1::2
R2(config)# ipv6 router ospf 10
R2(config-rtr)# default-information originate
S0/0/1
:2
R1# show ipv6 route
OE2 ::/0 [110/1], tag 10
via FE80::2, Serial0/0/0
Cisco Confidential 77 2013-2014 Cisco and/or its affiliates. All rights reserved.
What we covered
Quick Review of IPv6 Addresses
IPv6 Static Routes
EIGRP for IPv6
Single-Area OSPFv3
Thank you.