Download W6_Configuring OPSFv3_v2 - Typepad

thoughtlessskytopNetworking and Communications

Oct 29, 2013 (3 years and 7 months ago)

59 views

Bogdan Doinea & Eric Kwok

Configuring OSPFv3

Technical Manager

Cisco Networking Academy

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

2

Neighbor
Table

Topology

Table

Routing
Table

Neighbor
Table

Topology

Table

Routing
Table

Neighbor
Table

Topology

Table

Routing
Table

Neighbor
Table

Topology

Table

Routing
Table

IPv4

IPv6


With the OPSFv3 Address Families features, the protocol supports both
IPv4 and IPv6

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

3

Similarities between OSPFv2 and OSPFv3

Link
-
State

Yes

Routing Algorithm

SPF

Metric

Cost

Areas

Same multi
-
area

hierarchy and
relationship

Packet Types

Hello, DBD, LSR, LSU,
LSAck

Neighbor

Discovery

Same

states of transition in building an
adjacency

DR and BDR

Function and election process is the
same

Router ID

32
-
bit router ID: determined by

the
same process in both protocols

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

4

Differences between OSPFv2 and OSPFv3

Advertises

IPv4 Networks

IPv6 prefixes

Source Address

IPv4

global source
address

IPv6 link
-
local

address

Destination Address


Neighbo爠f偶4
add牥獳ss


224.0.0.5/6


Neighbo爠f偶6 link
-
lo捡l add牥獳ss


FF02::5/6

Adve牴i獥 Netwo牫r

Configu牥d u獩ng the
netwo牫

捯浭mnd in
牯ute爠浯de

Configu牥d u獩ng the
ipv6
o獰f

process
-
id

area
-
id
command.

IP Unicast Routing

IPv4 unicast routing is
enabled

IPv6 unicast
-
routing not
enabled by

default

Authentication

Plaint text and MD5

Based on IPSec

in IPv6

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

5



















OSPFv2

OSPFv3

Router and Network LSAs
contain addressing information


1. Router LSA


describe
directly
-
attached networks in the
area


2. Network LSA


generated by
DR to describe the neighbors
connected to the segment


Neither LSA 1 or 2 contain any
prefix or address information!


1.
Router LSA


describe the
state&cost

of the router’s
interfaces in the area

2.
Network LSA


generated by
the DR to describe all the
routers connected to the
segment

3.
OSPFv3 Introduces 2 new
LSAs


Link LSA


Intra
-
area Prefix LSA

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

6


The source address is always the link
-
local address of the router


The destination is either link
-
local or IPv6 multicast

Neighbor
Table

Topology

Table

Routing
Table

Neighbor
Table

Topology

Table

Routing
Table

Link
-
Local Address

Link
-
Local Address

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

7


In which of the below 3 options is:

u
nicast routing enabled by default?

I
PSec used for authentication?

t
he protocol a Link
-
State
R
outing
Protocol?

OSPF v2

OSPF v3

Both protocols

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

8


In which of the below 3 does the protocol:

use cost as a metric?

e
lects a DR and BDR?

u
ses FF02::6 for DR and BDR multicasts?

u
ses 224.0.0.6 for DR and BDR multicasts?

OSPF v2

OSPF v3

Both protocols

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

9

Basic Configuration

(
config
)#
ipv6

router
ospf

process
-
id

(
config
-
rtr
)# router
-
id
1.1.1.1

(
config
-
rtr
)#
auto
-
cost reference
-
bandwidth 1000

(
config
)# interface fa0/0

(
config
-
if)#
ipv6

ospf

1 area 0


Reset OSPF process

#clear
ipv6

ospf

process


© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

10

#show
ipv6

route
ospf

#show
ipv6

protocol

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

11

#show
ipv6

ospf

#show
ipv6

ospf

neighbor

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

12

#show
ipv6

ospf

database

#show
ipv6

ospf

interface

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

13

#debug
ipv6

ospf

adj

#debug
ipv6

ospf

event

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

14

A

B

C

A::

B
::

C::

Area 0

Prefix Length /64

AB::

Command:


show ipv6
ospf

neighbor


show ipv6
ospf

interface


show ipv6
ospf

database


show ipv6 route
ospf


show ipv6 protocol


debug ipv6
ospf

adj


debug ipv6
ospf

event

RID: 1.1.1.1

RID: 2.2.2.2

RID: 3.3.3.3

© 2012 Cisco and/or its affiliates. All rights reserved.

Cisco Confidential

16

Implementing OSPF for IPv6

http://
www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6
-
ospf.html



Implementing IPsec in IPv6 Security

http://
www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6
-
ipsec.html