You are on page 1of 43

IPv6 Routing Protocols

IPv6 Routing Protocols

IPv6 routing types:


Static
RIPng (RFC 2080)
OSPFv3 (RFC 2740)
IS-IS for IPv6
MP-BGP4 (RFC 2545/2858)
EIGRP for IPv6

ipv6 unicast-routing command is required to


enable IPv6 before any routing protocol configured.

Hc vin mng Bch Khoa - www.bkacad.com

IPv6 Static
Route

Hc vin mng Bch Khoa - www.bkacad.com

IPv6 Static Route


Router(config)# ipv6 route ipv6-prefix/ipv6mask { ipv6-address|exit-intf }
Displaying IPv6 Routes
Router#show ipv6 route

Hc vin mng Bch Khoa - www.bkacad.com

Configure a Next-hop Static IPv6 Route

Hc vin mng Bch Khoa - www.bkacad.com

Configure Directly Connected Static IPv6 Route

Hc vin mng Bch Khoa - www.bkacad.com

Configure a Fully Specified Static IPv6 Route

Hc vin mng Bch Khoa - www.bkacad.com

Default Static IPv6 Route


Router(config)# ipv6 route ::/0 {ipv6address | interface-type interface-number
[ipv6-address]}
[administrative-distance]

Hc vin mng Bch Khoa - www.bkacad.com

RIPng

Hc vin mng Bch Khoa - www.bkacad.com

RIPng

Same as IPv4:
Distance-vector, radius of 15 hops, split-horizon,
and poison reverse
Based on RIPv2
Updated features for IPv6:
IPv6 prefix, next-hop IPv6 address
Uses the multicast group FF02::9, the all-riprouters multicast group, as the destination address
for RIP updates
Uses IPv6 for transport
Named RIPng
Hc vin mng Bch Khoa - www.bkacad.com

Configuring RIPng

R1(config)#ipv6 router rip RIP-AS

Verifying Route on R1

Hc vin mng Bch Khoa - www.bkacad.com

EIGRP for
IPv6

Hc vin mng Bch Khoa - www.bkacad.com

EIGRP for IPv6


EIGRP for IPv4 vs. IPv6

Hc vin mng Bch Khoa - Website: www.bkacad.com

14

Comparing EIGRP for IPv4 and IPv6

Hc vin mng Bch Khoa - Website: www.bkacad.com

15

IPv6 Link-local Addresses

Hc vin mng Bch Khoa - Website: www.bkacad.com

16

Configuring EIGRP for IPv6

Hc vin mng Bch Khoa - Website: www.bkacad.com

17

Configuring the EIGRP for IPv6 Routing Process

Router(config)# ipv6 router eigrp autonomous-system


Ex : Router(config)# ipv6 router eigrp 2

Hc vin mng Bch Khoa - Website: www.bkacad.com

18

Enable EIGRP for IPv6 on an interface


Router(config-if)# ipv6 eigrp autonomous-system

Hc vin mng Bch Khoa - Website: www.bkacad.com

19

Verifying EIGRP for IPv6: Examining Neighbors

Hc vin mng Bch Khoa - Website: www.bkacad.com

20

show ip protocols Command

Hc vin mng Bch Khoa - Website: www.bkacad.com

21

Examining R1s IPv6 routing table

Hc vin mng Bch Khoa - Website: www.bkacad.com

22

OSPFv3

Hc vin mng Bch Khoa - www.bkacad.com

OSPF Version 3 (OSPFv3) (RFC 2740)

Similar to OSPFv2 for IPv4:


Same mechanisms, but a major rewrite of the
internals of the protocol
Updated features for IPv6:
Every IPv4-specific semantic is removed
Carry IPv6 addresses
Link-local addresses used as source
IPv6 transport
OSPF for IPv6 is currently an IETF proposed
standard

Hc vin mng Bch Khoa - www.bkacad.com

OSPFv2 vs. OSPFv3 Data Structures

Hc vin mng Bch Khoa - Website: www.bkacad.com

25

Differences Between OSPFv2 and OSPFv3

Hc vin mng Bch Khoa - Website: www.bkacad.com

26

Similarities Between OSPFv2 to OSPFv3

Hc vin mng Bch Khoa - Website: www.bkacad.com

27

Link-Local Addresses

Hc vin mng Bch Khoa - Website: www.bkacad.com

28

OSPFv3 Network Topology

Hc vin mng Bch Khoa - Website: www.bkacad.com

29

Steps to configure OSPFv3

Hc vin mng Bch Khoa - Website: www.bkacad.com

30

Configuring the OSPFv3 Router ID


Router(config)# ipv6 unicast-routing
Router(config)# ipv6 router ospf 10

Router(config-router)# router-id 1.1.1.1

Hc vin mng Bch Khoa - Website: www.bkacad.com

31

Enabling OSPFv3 on Interfaces


Step

Command or Action

Purpose

Router(config)#interface type
number

Specifies an interface type and number, and


places the router in interface configuration
mode.

Router(config-if)#ipv6 address
address/prefix-length [eui-64]

Configures an IPv6 address for an interface


and enables IPv6 processing on the interface.
The eui-64 parameter forces the router to
complete the addresses low-order 64-bits by
using an EUI-64 interface ID.
Enables OSPF for IPv6 on an interface.

Router(config-if)#ipv6 ospf
process-id area area-id [instance
instance-id]

Router(config-if)#router ospf
priority priority number

Priority number is used in the designated


router election.

Router(config-if)#router ospf cost


cost

The cost of sending a packet on the interface,


expressed in the link state metric.

R1(config)# interface Gi0/0

R1(config)# ipv6 ospf 10 area 0


R1(config)# interface s0/0/0
R1(config)# ipv6 ospf 10 area 0
Hc vin mng Bch Khoa - Website: www.bkacad.com

32

Verify OSPFv3 Neighbors

Hc vin mng Bch Khoa - Website: www.bkacad.com

33

Verify the IPv6 Routing Table

Hc vin mng Bch Khoa - Website: www.bkacad.com

34

Configuring Multiarea OSPFv3

Hc vin mng Bch Khoa - Website: www.bkacad.com

35

LSA Overview
LSA Function
Code

LSA Type

Router-LSA

Ox2001

Network-LSA

Ox2002

Inter-Area-Prefix-LXA

Ox2003

Inter-Area-Router-LSA

Ox2004

AS-External-LSA

Ox4005

Group-Membership-LSA

Ox2006

Type-7-LSA

Ox2007

Link-LSA

Ox2008

Ox2009

Renamed

New
Intra-Area-Prefix-LSA

Hc vin mng Bch Khoa - www.bkacad.com

Larger Address Space Enables Address Aggregation

Aggregation of prefixes announced in the global routing


table
Efficient and scalable routing

Improved bandwidth and functionality for user traffic


Hc vin mng Bch Khoa - www.bkacad.com

OSPFv3 Multi-Area Topology

Hc vin mng Bch Khoa - Website: www.bkacad.com

38

Configure OSPFv3 on R1

Hc vin mng Bch Khoa - www.bkacad.com

Verify Multiarea OSPFv3

Hc vin mng Bch Khoa - Website: www.bkacad.com

40

Verify Multiarea OSPFv3 (conn)

Hc vin mng Bch Khoa - Website: www.bkacad.com

41

Summary
RIP, EIGRP, IS-IS, BGP, and OSPF support IPv6.
OSPFv3 is OSPF for IPv6.
Most of the algorithms of OSPFv2 are the same in

OSPFv3.
There are two new LSAs in IPv6: LSA type 8 and LSA
type 9. The router LSA and the network LSA do not
carry IPv6 addresses.
Configuring OSPFv3 requires knowledge of IPv6.
There are Cisco IOS software configuration
commands for OSPFv3 to support all of the
capabilities of OSPFv3.
Numerous OSPFv3 IOS show commands support the
verification of OSPFv3 configurations.
Hc vin mng Bch Khoa - www.bkacad.com

Hc vin mng Bch Khoa - www.bkacad.com

You might also like