Download - 13-OSPFv3-RickGraziani
-
8/9/2019 13-OSPFv3-RickGraziani
1/66
13: OSPFv3
Rick GrazianiCabrillo College
-
8/9/2019 13-OSPFv3-RickGraziani
2/66
For more information please check out my Cisco Press book and
IPv6 Fundamentals: Strai!htfor"ard
pproach to #nderstandin! IPv6 By Rick Graziani ISBN-10: 1-!"1#-$1$-
IPv6 Fundamentals $ive$ess
Strai!htfor"ard pproach to By Rick Graziani ISBN-10: 1-!"%0-#"-&
-
8/9/2019 13-OSPFv3-RickGraziani
3/66
13%1: Protocol and Concepts
-
8/9/2019 13-OSPFv3-RickGraziani
4/66
IPv& and IPv6 'outin! Protocols
' (S)*+$ ,uor, rouing bo/ I)+# and I)
(istance )ector 'outin!Protocols
$ink State 'outin!Protocols
Pa
RI)+% IGR) (S)*+% IS-IS
RI)ng IGR) or
I)+&
(S)*+$ ' IS-IS or
I)+&
B
I2
3i,ance 4ecor 5ink Sae )a
Interior *ate"ay Protocols
+,t
*a
Pro
6/e ba,ic oeraion, and algori/7, you learned abou
(S)*+% or I)+# al,o aly o (S)*+$ or I)+&.
I)+#
I)+&
-
8/9/2019 13-OSPFv3-RickGraziani
5/66
OSPFv- for IPv&.raditionalOSPFv3 for IPv6 OSPFv3 ddr
OSPF version (S)*+% (S)*+$ (S)*+$
dvertisedroutes
I)+# ne8ork, I)+& rei9e, I)+# ne8ork,
$ink/state e, e, e,
0etric Co, ;Ci,co: B
-
8/9/2019 13-OSPFv3-RickGraziani
6/66
OSPFv- for IPv&.raditionalOSPFv3 for IPv6 OSPFv3 dd
$ayer 3encapsulation
I)+# I)+& I)+&
Source address I)+# addre,, I)+& link-local addre,, I)+& link-loca
(estination / llOSPF 'outers
%%#.0.0. **0%:: **0%::
(estination 2$$ ('('
%%#.0.0.& **0%::& **0%::&
(estination /4ei!hbor
I)+# addre,, I)+& link-local addre,, I)+& link-loca
IPv6 #nicast'outin!
N>? ;I) unica,rouing deaul=
Reuired Reuired ;+I)+# addre,,
uthentication )lain e9 and 23 I),ec I),ec
$Ss (S)*+$ rena7e, 8o 5S? ye, and deine, 8o addiional 5Sno e9i, in (S)*+%.
-
8/9/2019 13-OSPFv3-RickGraziani
7/66
OSPFv- $Ss OSPFv3 $S
.ype 4ame $S .ype Code 4ame
1 Rouer 5S? 09%001 Rouer 5S?
% Ne8ork 5S? 09%00% Ne8ork 5S?
$ Ne8ork Su77ary 5S? 09%00$ Iner-?rea )
# ?SBR Su77ary 5S? 09%00# Iner-?rea R
?S-9ernal 5S? 09#00 ?S-9ernal
& Grou 2e7ber,/i 5S? 09%00& Grou 2e7b
" NSS? 9ernal 5S? 09%00" 6ye-" 5S?
09%00! 5ink 5S?
09%00A Inra-?rea )
Comparin! OSPFv- and OSPFv3 $S
-
8/9/2019 13-OSPFv3-RickGraziani
8/66
13%-: OSPFv- and .raditional OSPFv3
-
8/9/2019 13-OSPFv3-RickGraziani
9/66
-551 ( CF+ 1 6&
-
8/9/2019 13-OSPFv3-RickGraziani
10/66
(ual/stack .opolo!y
R2# show ip interface brief
Interface IP-Address OK? Method Status
Serial0/0/0 19!1"#!! $%S &anual up
Serial0/0/1 19!1"#!'!1 $%S &anual up
R2# show ip(" interface brief
Serial0/0/0 )up/up*
+%#0,,
001,.#,A+%,,,
Serial0/0/1 )up/up*
+%#0,,
001,.#,A+%,',,1
Sa7e link-local addre,,
Saically conigured
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
4ote: ?l/oug/ er/a, unco77on ,e
in /i, oology o 7ore ea,ily dieren
-551:(:CF+:1::6&
-
8/9/2019 13-OSPFv3-RickGraziani
11/66
OSPFv- Confi!uration and '
1
ip route 0!0!0!0 0!0!0!0 19!1"#!!1
router ospf 1
router-id 1!1!1!1
passi(e-interface 2i3abit%thernet0/0
networ4 19!1"#!1!0 0!0!0!55 area 0networ4 19!1"#!!0 0!0!0!55 area 0
default-infor&ation ori3inate
router ospf 1
router-id !!!
interface Serial0/0/0
ip ospf 1 area 0
interface Serial0/0/1 ip ospf 1 area 0
'
router ospf 1
router-id '!
passi(e-inte
2i3abit%th
interface 2i3 ip ospf 1 ar
interface Seri
ip ospf 1 ar
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
(efault Static 9(efault
Re+ie8 o (S)*+% coniguraion,
OSPF - C fi i d '-551:(:CF+:1::6&
-
8/9/2019 13-OSPFv3-RickGraziani
12/66
OSPFv- Confi!uration and '
R3# show ip route ospf
Gateway of last resort is 192.168.3.1 to network 0.0.0.0
O6% 0!0!0!0/0 )110/1* (ia 19!1"#!'!17 00,00,''7 Serial0/0/1O 19!1"#!1!0/8 )110/19* (ia 19!1"#!'!17 00,01,57 Serial0/
O 19!1"#!!0/8 )110/1#* (ia 19!1"#!'!17 00,01,57 Serial0/
R3#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
OSPF - 4 i hb d;
-551:(:CF+:1::6&
-
8/9/2019 13-OSPFv3-RickGraziani
13/66
OSPFv- 4ei!hbor d;acen
R1# show ip ospf nei3hbor
Neighbor ID ri !tate Dea" i$e %""ress
2.2.2.2 0 '())* + 00,00,3- 192.168.2.2
R1# '-
-
8/9/2019 13-OSPFv3-RickGraziani
14/66
OSPFv- $S(
R3# show ip ospf data
!' Ro/ter with ID 3.3.3.3 ro&ess ID 1
Ro/ter )ink !tates %rea 0
)ink ID %D Ro/ter %ge !e# 4he&ks/$ )ink &o/nt
1.1.1.1 1.1.1.1 683 058000000 0500D'7 3
2.2.2.2 2.2.2.2 682 058000000- 0500260% -
3.3.3.3 3.3.3.3 681 058000000- 050072 3
ye+ %! :5ternal )ink !tates
)ink ID %D Ro/ter %ge !e# 4he&ks/$ ag
0.0.0.0 1.1.1.1 9- 0580000001 05001D91 1
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
. diti l OSPF 3 C fi
-551:(:CF+:1::6&
-
8/9/2019 13-OSPFv3-RickGraziani
15/66
.raditional OSPFv3 Confi!u
R1&onfig# ip(" route ,,/0 001,db#,,,1
R1&onfig# ip(" unicast-routin3
R1&onfig# ip(" router ospf
R1&onfig+rtr# router-id 1!1!1!"
R1&onfig+rtr#passi(e-interface 3i3 0/0
R1&onfig+rtr# default-infor&ation ori3inateR1&onfig+rtr# eit
R1&onfig# interface 3i3abitethernet 0/0
R1&onfig+if# ip(" ospf area 0
R1&onfig+if# eit
R1&onfig# interface serial 0/0/0
R1&onfig+if# ip(" ospf area 0
(S)* roce,,-id doe, no need o 7u
,e, ,a7e roce,, a, (
deer7ining /e $%-bi ro
co77and i /ere i, no
(S)* or I)+& i, enabled on /e i
no networkco77and
Reuired
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
. diti l OSPF 3 C fi
-551:(:CF+:1::6&
-
8/9/2019 13-OSPFv3-RickGraziani
16/66
.raditional OSPFv3 Confi!u
R2&onfig# ip(" unicast-routin3
R2&onfig# ip(" router ospf
R2&onfig+rtr# router-id !!!"
R2&onfig+rtr# eit
R2&onfig# interface serial 0/0/0
R2&onfig+if# ip(" ospf area 0R2&onfig+if# eit
;%/g 1 02,-2,29.01,
-
8/9/2019 13-OSPFv3-RickGraziani
17/66
.raditional OSPFv3 Confi!u
R3&onfig# ip(" unicast-routin3
R3&onfig# ip(" router ospf
R3&onfig+rtr# router-id '!'!'!"
R3&onfig+rtr#passi(e-interface 3i3abitethernet 0/0
R3&onfig+rtr# eit
R3&onfig# interface serial 0/0/1R3&onfig+if# ip(" ospf area 0
;>/l 2 19,1,36.33,
-
8/9/2019 13-OSPFv3-RickGraziani
18/66
OSPFv3 4ei!hbor d;acen
R1# show ip(" ospf nei3hbor
!'=3 Ro/ter with ID 1.1.1.6 ro&ess ID 2
Neighbor ID ri !tate Dea" i$e Interfa&e ID
2.2.2.6 0 '())* + 00,00,31
R1# '-
-
8/9/2019 13-OSPFv3-RickGraziani
19/66
OSPFv3 'outes
R3# show ip(" route ospf
I=6 Ro/ting able + "efa/lt + 8 entries
Ao/t/t o$itte"B
:2 ,,*0 C110*1@ tag 2
=ia ':80,,2@ !erial0*0*1
2001,D78,4%':,1,,*6- C110*129
=ia ':80,,2@ !erial0*0*1
2001,D78,4%':,2,,*6- C110*128
=ia ':80,,2@ !erial0*0*1
R3#
dministrative distance of OSPF
and OSPF metric
$ink/local address of '-
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
(efault route ori!inated by '1
-551:(:CF+:1::6&rea 5
OSPF 3 0 lti area
-
8/9/2019 13-OSPFv3-RickGraziani
20/66
rea =1 2 .otally Stubby
OSPFv- and OSPFv3
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
rea 5 OSPFv3 0ulti/area
-551:(:CF+:1::6&rea 5
Confi!ure '
-
8/9/2019 13-OSPFv3-RickGraziani
21/66
R2&onfig# interface serial 0/0/0
R2&onfig+if# ip ospf 1 area 0
R2&onfig+if# ip(" ospf area 0
R2&onfig+if# eit
R2&onfig# interface serial 0/0/1
R2&onfig+if# ip ospf 1 area 51R2&onfig+if# ip(" ospf area 51
R2&onfig+if# eit
R2&onfig# router ospf 1
R2&onfig+ro/ter# area 51
R2&onfig+ro/ter# eit
R2&onfig# ip(" router osp
R2&onfig+rtr# area 51 stu
R2&onfig+rtr#
Serial 0>0>0 coniguraion doe, no c/ange Rouer I3, already conigured
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
rea 5 Confi!ure '
-551:(:CF+:1::6&rea 5
Confi!ure '3 rea =1
-
8/9/2019 13-OSPFv3-RickGraziani
22/66
R3&onfig# interface serial 0/0/1
R3&onfig+if# ip ospf 1 area 51
R3&onfig+if# ip(" ospf area 51
R3&onfig+if# eit
R3&onfig# interface 3i3abitethernet 0/0
R3&onfig+if# ip ospf 1 area 51R3&onfig+if# ip(" ospf area 51
R3&onfig+if# eit
R3&onfig# router ospf
R3&onfig+ro/ter# area
R3&onfig+ro/ter# eit
R3&onfig# ip(" router
R3&onfig+rtr# area 51
R3&onfig+rtr#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
rea 5 Confi!ure '3 rea =1
-
8/9/2019 13-OSPFv3-RickGraziani
23/66
-551:(:CF+:1::6&rea 5
'1
-
8/9/2019 13-OSPFv3-RickGraziani
24/66
R1# show ip(" route ospf
I=6 Ro/ting able + "efa/lt + entries
4o"es, 4 + 4onne&te"@ ) + )o&al@ ! + !tati&@ ( + er+/ser !tati&
Ao/t/t o$itte"B
+ !' Intra@ I + !' Inter@ :1 + !' e5t 1@ :2 +
N1 + !' N!!% e5t 1@ N2 + !' N!!% e5t 2@ a + %li&atI 2001,D78,4%':,3,,*6- C110*128
=ia ':80,,2@ !erial0*0*0
I 2001,D78,4%':,-,,*6- C110*129
=ia ':80,,2@ !erial0*0*0
R1#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
'1 s IPv6 'outin! .able
-551:(:CF+:1::6&rea 5
OSPFv- .otally Stubby
-
8/9/2019 13-OSPFv3-RickGraziani
25/66
R3# show ip route ospf
4o"es, ) + lo&al@ 4 + &onne&te"@ ! + stati&@ R + RI@ E + $obile@
D + :IGR@ :F + :IGR e5ternal@ + !'@ I% + !' inter
N1 + !' N!!% e5ternal tye 1@ N2 + !' N!!% e5ternal ty
:1 + !' e5ternal tye 1@ :2 + !' e5ternal tye 2
Ao/t/t o$itte"B
Gateway of last resort is 192.168.3.1 to network 0.0.0.0
;I% 0.0.0.0*0 C110*6 =ia 192.168.3.1@ 00,1-,@ !erial0*0*1
R3#
3eaul roue inEeced by ?BR ;No deaul originaed by ?SBR R1=
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
OSPFv- .otally Stubby
' (efault
-551:(:CF+:1::6&17- 16 1 5-&
rea 5
OSPFv3 .otally Stubby
-
8/9/2019 13-OSPFv3-RickGraziani
26/66
R3# show ip(" route ospf
I=6 Ro/ting able + "efa/lt + 6 entries
4o"es, 4 + 4onne&te"@ ) + )o&al@ ! + !tati&@ ( + er+/ser !tati&
7 + 7G@ R + RI@ I1 + I!I! )1@ I2 + I!I! )2
I% + I!I! interarea@ I! + I!I! s/$$ary@ D + :IGR@ :F + :I
ND + ND Defa/lt@ ND + ND refi5@ D4: + Destination@ NDr + + !' Intra@ I + !' Inter@ :1 + !' e5t 1@ :2 +
N1 + !' N!!% e5t 1@ N2 + !' N!!% e5t 2@ a + %li&at
I ,,*0 C110*6
=ia ':80,,2@ !erial0*0*1
R3#
3eaul roue inEeced by ?BR
;No originaed by ?SBR R1=
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
OSPFv3 .otally Stubby
' (efault
-551:(:CF+:1::6&17- 16 1 5-&
rea 5
OSPFv3 'outer Command
-
8/9/2019 13-OSPFv3-RickGraziani
27/66
R2&onfig# ip(" router ospf
R2&onfig+rtr# ?
area !' area ara$eters
a/to+&ost 4al&/late !' interfa&e &ost a&&or"ing to ban"wi"t
&o$atible 4o$atibility list
"efa/lt !et a &o$$an" to its "efa/lts
"efa/lt+infor$ation Distrib/tion of "efa/lt infor$ation "efa/lt+$etri& !et $etri& of re"istrib/te" ro/tes
"is&ar"+ro/te :nable or "isable "is&ar"+ro/te installation
"istan&e %"$inistrati=e "istan&e
"istrib/te+list 'ilter networks in ro/ting /"ates
e=ent+log :=ent )ogging
Ao/t/t o$itte"B
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
OSPFv3 'outer Command
-551:(:CF+:1::6&17- 16 1 5-&
rea 5
OSPFv3 'outer Command
-
8/9/2019 13-OSPFv3-RickGraziani
28/66
R2&onfig# interface serial 0/0/0
R2&onfig+if# ip(" ospf ?
A1+63B ro&ess ID
&ost Ro/te &ost of this interfa&e
"atabase+filter 'ilter !' )!% "/ring syn&hroniation an" floo"ing
"ea"+inter=al Inter=al after whi&h a neighbor is "e&lare" "ea"
"e$an"+&ir&/it !' "e$an" &ir&/it floo"+re"/&tion !' 'loo" Re"/&tion
hello+inter=al i$e between ?:)) a&kets
$t/+ignore Ignores the E( in D7D a&kets
neighbor !' neighbor
network Network tye
Ao/t/t o$itte"B
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
OSPFv3 'outer Command
-551:(:CF+:1::6&17- 16 1 5-&
rea 5
OSPFv- and OSPFv3
-
8/9/2019 13-OSPFv3-RickGraziani
29/66
router ospf 1
router-id !!!
area 51 stub no-su&&ar:
;
ip(" router ospf
router-id !!!"
area 51 stub no-su&&ar:
ip(" unicast-routin3
interface Serial0/0/0
ip address 19!1"#!! 55!55!55!0
ip ospf 1 area 0
ip(" address +%#0,, lin4-local
ip(" address 001,.#,A+%,,,/"8
ip(" ospf area 0
;
interface Serial0/0/1
ip address 19!1"#!'!1 55!55!55!0
ip ospf 1 area 51
ip(" address +%#0,, lin4-local
ip(" address 001,.#,A+%,',,1/"8
ip(" ospf area 51
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
OSPFv-andOSPFv3
-
8/9/2019 13-OSPFv3-RickGraziani
30/66
13%3: OSPFv3 ddress Families
OSPFv3 "ith ddress Families
-
8/9/2019 13-OSPFv3-RickGraziani
31/66
OSPFv3 "ith ddress Families
IPv6 4et"ork: ll OSPFv3 F
messa!es 9IPv&IPv6 and IPv6 packets
IPv& 4et"ork: IPv& packets
'1
OSPFv3
4ei!hbor
.able
OSPFv3
$S(
IPv6
'outin!
.able
IPv&
'outin!
.able
OSPFv3
4ei!hbor
.able
OSPFv3
$S(
OSPFv3 "ith ddress Families
-
8/9/2019 13-OSPFv3-RickGraziani
32/66
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1*!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
rea 5
OSPFv3 "ith ddress Families
I)+# and I)+& addre,,e, /a+e been conigured on all in
No rouing roocol, conigured
-551:(:CF+:1::6&17- 16 1 5-&
rea 5
OSPFv3 ddress Familie
-
8/9/2019 13-OSPFv3-RickGraziani
33/66
R1&onfig# ip route 0!0!0!0 0!0!0!0 19!1"#!!1
R1&onfig# ip(" route ,,/0 001,db#,,,1
R1&onfig# ip(" unicast-routin3
R1&onfig# router ospf(' 1
R1&onfig+ro/ter#address-fa&il: ?
ip(8 Address fa&il:
ip(" Address fa&il:
R1&onfig+ro/ter# address-fa&il: ip(8 unicast
R1&onfig+ro/ter+af#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
(S)* roce,,-id doe, no need o 7
7ac/ o/er rouer,
Reuired
(efault
OSPFv3 ddress Families
-
8/9/2019 13-OSPFv3-RickGraziani
34/66
R1&onfig+ro/ter# address-fa&il: ip(8 unicast
R1&onfig+ro/ter+af# ?
Ro/ter %""ress 'a$ily &onfig/ration &o$$an"s,
area !' area ara$eters
a/to+&ost 4al&/late !' interfa&e &ost a&&or"ing to ban"wi"th
&o$atible 4o$atibility list "efa/lt !et a &o$$an" to its "efa/lts
"efa/lt+infor$ation 4ontrol "istrib/tion of "efa/lt infor$ation
"efa/lt+$etri& !et $etri& of re"istrib/te" ro/tes
"is&ar"+ro/te :nable or "isable "is&ar"+ro/te installation
"istan&e Define an a"$inistrati=e "istan&e
"istrib/te+list 'ilter networks in ro/ting /"ates
e=ent+log :=ent )ogging
e5it+a""ress+fa$ily :5it fro$ %""ress 'a$ily &onfig/ration $o"e
gra&ef/l+restart Gra&ef/l+restart otions
hel Des&rition of the intera&ti=e hel syste$
interfa&e+i" !o/r&e of the interfa&e ID
li$it )i$it a se&ifi& !' feat/re
A&ontin/e" ne5t sli"eB
Co77and, re+iou,ly coni
radiional rouer 7ode:R1&onfig# router os
OSPFv3 ddress Families
-
8/9/2019 13-OSPFv3-RickGraziani
35/66
R1&onfig+ro/ter# address-fa&il: ip(8 unicast
R1&onfig+ro/ter+af# ?
A&ontin/e"HB
)i$it a se&ifi& !' feat/re
log+a"a&en&y+&hanges )og &hanges in a"a&en&y state
$a5+lsa Ea5i$/$ n/$ber of non self+generate" )!%s to a&&et $a5+$etri& !et $a5i$/$ $etri&
$a5i$/$+aths 'orwar" a&kets o=er $/ltile aths
no Negate a &o$$an" or set its "efa/lts
assi=e+interfa&e !/ress ro/ting /"ates on an interfa&e
refi5+s/ression :nable refi5 s/ression
/e/e+"eth ?ello*Ro/ter ro&ess /e/e "eth
re"istrib/te Re"istrib/te infor$ation fro$ another ro/ting roto&
ro/ter+i" ro/ter+i" for this !' ro&ess
sh/t"own !h/t"own the ro/ter ro&ess
sn$ Eo"ify sn$ ara$eters
s/$$ary+refi5 4onfig/re I a""ress s/$$aries
ti$ers %"/st ro/ting ti$ers
R1&onfig+ro/ter+af#
-551:(:CF+:1::6&17-%16%1%5-&
rea 5
Confi!urin! OSPFv3 Fs
-
8/9/2019 13-OSPFv3-RickGraziani
36/66
R1&onfig# ip(" unicast-routin3
R1&onfig# router ospf(' 1
R1&onfig+ro/ter# address-fa&il: ip(8 unicast
R1&onfig+ro/ter+af# router-id 1!1!1!1
R1&onfig+ro/ter+af# default-infor&ation ori3inate
R1&onfig+ro/ter+af#passi(e-interface 3i3abitethernet 0/0
R1&onfig+ro/ter+af# eit-address-fa&il:
R1&onfig+ro/ter# address-fa&il: ip(" unicast
R1&onfig+ro/ter+af# router-id 1!1!1!"
R1&onfig+ro/ter+af# default-infor&ation ori3inate
R1&onfig+ro/ter+af#passi(e-interface 3i3abitethernet 0/0
R1&onfig+ro/ter+af# eit-address-fa&il:
R1&onfig+ro/ter#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
! !
-551:(:CF+:1::6&17-%16%1%5-&
rea 5
Confi!urin! OSPFv3 Fs
-
8/9/2019 13-OSPFv3-RickGraziani
37/66
R1&onfig# interface 3i3abitethernet 0/0
R1&onfig+if# ospf(' 1 ip(8 area 0
R1&onfig+if# ospf(' 1 ip(" area 0
R1&onfig+if# eit
R1&onfig# interface serial 0/0/0
R1&onfig+if# ospf(' 1 ip(8 area 0R1&onfig+if# ospf(' 1 ip(" area 0
R1&onfig+if#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
! !
-551:(:CF+:1::6&17-%16%1%5-&
rea 5
'-
-
8/9/2019 13-OSPFv3-RickGraziani
38/66
R2&onfig# ip(" unicast-routin3
R2&onfig# router ospf(' 1
R2&onfig+ro/ter# address-fa&il: ip(8 unicast
R2&onfig+ro/ter+af# router-id !!!
R2&onfig+ro/ter+af# area 51 stub no-su&&ar:
R2&onfig+ro/ter+af# eit-address-fa&il:
R2&onfig+ro/ter# address-fa&il: ip(" unicast
R2&onfig+ro/ter+af# router-id !!!"
R2&onfig+ro/ter+af# area 51 stub no-su&&ar:
R2&onfig+ro/ter+af# eit-address-fa&il:
R2&onfig+ro/ter# eit
R2&onfig# interface serial 0/0/
R2&onfig+if# ospf(' 1 ip(8 area
R2&onfig+if# ospf(' 1 ip(" area
R2&onfig+if# eit
R2&onfig# interface serial 0/0/
R2&onfig+if# ospf(' 1 ip(8 area
R2&onfig+if# ospf(' 1 ip(" area
R2&onfig+if#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-551:(:CF+:1::6&17-%16%1%5-&
rea 5
'3
-
8/9/2019 13-OSPFv3-RickGraziani
39/66
R3&onfig# ip(" unicast-routin3
R3&onfig# router ospf(' 1
R3&onfig+ro/ter# address-fa&il: ip(8 unicast
R3&onfig+ro/ter+af# router-id '!'!'!'
R3&onfig+ro/ter+af# area 51 stub
R3&onfig+ro/ter+af#passi(e-interface 3i30/0
R3&onfig+ro/ter+af# eit
R3&onfig+ro/ter# address-fa&il: ip(" unicast
R3&onfig+ro/ter+af# router-id '!'!'!"
R3&onfig+ro/ter+af# area 51 stub
R3&onfig+ro/ter+af#passi(e-interface 3i30/0
R3&onfig+ro/ter+af# eit-address-fa&il:
R3&onfig+ro/ter# eit
R3&onfig# interface serial 0/0/
R3&onfig+if# ospf(' 1 ip(8 area
R3&onfig+if# ospf(' 1 ip(" area
R3&onfig+if# eit
R3&onfig# interface 3i3abitether
R3&onfig+if# ospf(' 1 ip(8 area
R3&onfig+if# ospf(' 1 ip(" area
R3&onfig+if#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-551:(:CF+:1::6&17-%16%1%5-&
rea 5
OSPFv3 IPv& 'outes
-
8/9/2019 13-OSPFv3-RickGraziani
40/66
R1# show ip route ospf
R1#
R1# show ip route ospf('
4o"es, ) + lo&al@ 4 + &onne&te"@ ! + stati&@ R + RI@ E + $obile@ 7 + 7G
D + :IGR@ :F + :IGR e5ternal@ + !'@ I% + !' inter area
N1 + !' N!!% e5ternal tye 1@ N2 + !' N!!% e5ternal tye 2
Ao/t/t o$itte"B
Gateway of last resort is not set
I% 192.168.3.0*2- C110*128 =ia 192.168.2.2@ 00,06,-0@ !erial0*0*0
I% 192.168.-.0*2- C110*129 =ia 192.168.2.2@ 00,0-,23@ !erial0*0*0
R1#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-551:(:CF+:1::6&17-%16%1%5-&
rea 5
OSPFv3 IPv6 'outes
-
8/9/2019 13-OSPFv3-RickGraziani
41/66
R1# show ip(" route ospf
I=6 Ro/ting able + "efa/lt + entries
4o"es, 4 + 4onne&te"@ ) + )o&al@ ! + !tati&@ ( + er+/ser !tati& ro/te
7 + 7G@ R + RI@ I1 + I!I! )1@ I2 + I!I! )2
I% + I!I! interarea@ I! + I!I! s/$$ary@ D + :IGR@ :F + :IGR e5terna
ND + ND Defa/lt@ ND + ND refi5@ D4: + Destination@ NDr + Re"ire&t
+ !' Intra@ I + !' Inter@ :1 + !' e5t 1@ :2 + !' e5t 2 N1 + !' N!!% e5t 1@ N2 + !' N!!% e5t 2@ a + %li&ation
I 2001,D78,4%':,3,,*6- C110*128
=ia ':80,,2@ !erial0*0*0
I 2001,D78,4%':,-,,*6- C110*129
=ia ':80,,2@ !erial0*0*0
R1#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-551:(:CF+:1::6&17-%16%1%5-&
rea 5
IPv& F .otally Stubby
-
8/9/2019 13-OSPFv3-RickGraziani
42/66
R3# show ip route ospf('
4o"es, ) + lo&al@ 4 + &onne&te"@ ! + stati&@ R + RI@ E + $obile@ 7 + 7G
D + :IGR@ :F + :IGR e5ternal@ + !'@ I% + !' inter area
N1 + !' N!!% e5ternal tye 1@ N2 + !' N!!% e5ternal tye 2
:1 + !' e5ternal tye 1@ :2 + !' e5ternal tye 2
Ao/t/t o$itte"B
Gateway of last resort is 192.168.3.1 to network 0.0.0.0
;I% 0.0.0.0*0 C110*6 =ia 192.168.3.1@ 00,26,-2@ !erial0*0*1
R3#3eaul roue inEeced by ?BR
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
' (efault
-551:(:CF+:1::6&17-%16%1%5-&
G0>0-551 ( 88
rea 5
IPv6 F .otally Stubby
-
8/9/2019 13-OSPFv3-RickGraziani
43/66
R3# show ip(" route ospf
I=6 Ro/ting able + "efa/lt + 6 entries
4o"es, 4 + 4onne&te"@ ) + )o&al@ ! + !tati&@ ( + er+/ser !tati& ro/te
7 + 7G@ R + RI@ I1 + I!I! )1@ I2 + I!I! )2
I% + I!I! interarea@ I! + I!I! s/$$ary@ D + :IGR@ :F + :IGR e5terna
ND + ND Defa/lt@ ND + ND refi5@ D4: + Destination@ NDr + Re"ire&t
+ !' Intra@ I + !' Inter@ :1 + !' e5t 1@ :2 + !' e5t 2 N1 + !' N!!% e5t 1@ N2 + !' N!!% e5t 2@ a + %li&ation
I ,,*0 C110*6
=ia ':80,,2@ !erial0*0*1
R3#
3eaul roue inEeced by ?BR
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
' (efault
-551:(:CF+:1::6&17-%16%1%5-&
G0>0-551 ( 88
rea 5
OSPFv3 4ei!hbor d;acenc
-
8/9/2019 13-OSPFv3-RickGraziani
44/66
R1# show ip ospf nei3hbor
R1#
R1# show ospf(' nei3hbor
!'=3 1 a""ress+fa$ily i=- ro/ter+i" 1.1.1.1
Neighbor ID ri !tate Dea" i$e Interfa&e ID Interfa&e
2.2.2.2 0 '())* + 00,00,38 !erial0*0*
!'=3 1 a""ress+fa$ily i=6 ro/ter+i" 1.1.1.6
Neighbor ID ri !tate Dea" i$e Interfa&e ID Interfa&e
2.2.2.6 0 '())* + 00,00,3- !erial0*0*
R1#
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-551:(:CF+:1::6&17-%16%1%5-&
G0>0-551 ( 88
rea 5
IPv6 4ei!hbor d;acencie
-
8/9/2019 13-OSPFv3-RickGraziani
45/66
R1# show ip(" ospf nei3hbor
!'=3 Ro/ter with ID 1.1.1.6 ro&ess ID 1
Neighbor ID ri !tate Dea" i$e Interfa&e ID Interfa&e
2.2.2.6 0 '())* + 00,00,30 !erial0*0*
R1#
6radiional (S)* co77and ,/o8ing only I)+& neig/bor,
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
0akin! Sense of the OSPF >ey"or
-
8/9/2019 13-OSPFv3-RickGraziani
46/66
R1# show ip ospf nei3hbor
Reer, o (S)*+% IPv&roce,, inor7aion
(nly I)+# neig/bor, 8ill be di,layed /a 8ere conigured u,ing
R1# show ip(" ospf nei3hbor
Reer, o (S)*+$ IPv6roce,, inor7aion
(nly I)+& neig/bor, 8ill be di,layed conigured u,ing (S)*+$
R1# show ospf('nei3hbor Reer, o (S)*+$ IPv&and IPv6roce,, inor7aion
Bo/ I)+# and I)+& neig/bor, 8ill be di,layed bu bo/ 7u, /a
conigured u,ing (S)*+$
-551:(:CF+:1::6&17-%16%1%5-&
G0>0-551:(:88::
rea 5
OSPFv3 $S(
-
8/9/2019 13-OSPFv3-RickGraziani
47/66
R1# show ip ospf database
R1#
R1# show ospf(' database
!'=3 1 a""ress+fa$ily i=- ro/ter+i" 1.1.1.1
Ro/ter )ink !tates %rea 0
%D Ro/ter %ge !e# 'rag$ent ID )ink &o/nt 7its
1.1.1.1 1632 0580000002 0 1 None
2.2.2.2 112 0580000002 0 1 7
Ao/t/t o$itte"B
A&ontin/e" on ne5t sli"eB
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-551:(:CF+:1::6&17-%16%1%5-&
G0>0-551:(:88::
rea 5
OSPFv3 $S(
-
8/9/2019 13-OSPFv3-RickGraziani
48/66
R1# show ospf(' databaseA&ontin/e"B
!'=3 1 a""ress+fa$ily i=6 ro/ter+i" 1.1.1.6
Ro/ter )ink !tates %rea 0
%D Ro/ter %ge !e# 'rag$ent ID )ink &o/nt 7its
1.1.1.6 162 0580000002 0 1 None
2.2.2.6 106 0580000002 0 1 7
Inter %rea refi5 )ink !tates %rea 0
%D Ro/ter %ge !e# refi5
2.2.2.6 1-96 0580000001 2001,D78,4%':,3,,*6-
2.2.2.6 966 0580000001 2001,D78,4%':,-,,*6-
Ao/t/t o$itte"B
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-551:(:CF+:1::6&
-551 ( CF+ - 6& -551 ( CF+ 3 6& -5
17-%16%1%5-&
G0>0-551:(:88::
rea 5
'1
-
8/9/2019 13-OSPFv3-RickGraziani
49/66
ip(" unicast-routin3
interface 2i3abit%thernet0/0
ip address 19!1"#!1!1 55!55!55!0
ip(" address +%#0,,1 lin4-local
ip(" address 001,.#,A+%,1,,1/"8
ospf(' 1 ip(" area 0
ospf(' 1 ip(8 area 0
;interface Serial0/0/0
ip address 19!1"#!!1 55!55!55!0
ip(" address +%#0,,1 lin4-local
ip(" address 001,.#,A+%,,,1/"8
ospf(' 1 ip(" area 0
ospf(' 1 ip(8 area 0
router ospf(' 1
;
address-fa&il: ip(8 unicast
passi(e-interface 2i3abit%thern
default-infor&ation ori3inate
router-id 1!1!1!1
eit-address-fa&il:
;address-fa&il: ip(" unicast
passi(e-interface 2i3abit%thern
default-infor&ation ori3inate
router-id 1!1!1!"
eit-address-fa&il:
;
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$
G0>0
:1>.1
ISP
S0>0>1
:%>.%
-551:(:88::
6&
17-%16%88%5-&
-
8/9/2019 13-OSPFv3-RickGraziani
50/66
13%&: OSPFv3 ddress Families 2 IPv& Island
'30-551:(:CF+:3::6& -551 ( CF+ & 6&
-
8/9/2019 13-OSPFv3-RickGraziani
51/66
'-
G0>0
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
-551:(:CF+:3::6& -551:(:CF+:&::6&17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
ip(" unicast-routin3
interface 2i3abit%thernet0/0
ip address 19!1"#!8!1 55!55!55!0
ip(" address +%#0,,' lin4-local
ip(" address 001,.#,A+%,8,,1/"8
ospf(' 1 ip(" area 51
ospf(' 1 ip(8 area 51
;interface Serial0/0/1
ip address 19!1"#!'! 55!55!55!0
ip(" address +%#0,,' lin4-local
ip(" address 001,.#,A+%,',,/"8
ospf(' 1 ip(" area 51
ospf(' 1 ip(8 area 51
router ospf(' 1
;
address-fa&il: ip(8 unicast
router-id '!'!'!'
area 51 stub
eit-address-fa&il:
;
address-fa&il: ip(" unicast router-id '!'!'!"
area 51 stub
eit-address-fa&il:
;
?d
on R#
I)+
8i 0-551:(:CF+:3::6& -551 ( CF+ & 6&
-
8/9/2019 13-OSPFv3-RickGraziani
52/66
R3&onfig# interface serial 0/1/0
R3&onfig+if# ip address 1!1"!1!1 55!55!55!0
R3&onfig+if# ospf(' 1 ip(8 area 51
< OSP+(', IP=" is not enabled on this interface
R3&onfig+if# ip(" enable
R3&onfig+if# ospf(' 1 ip(8 area 51
R3&onfig+if# no shutdown
R3&onfig+if#
'- '3
G0>0
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
-551:(:CF+:3::6& -551:(:CF+:&::6&17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
ip(" enable co77and auo7aically creae, an I)+& link-loca
/e inerace u,ing I- 8i/ou needing an I)+& global unica,
IPv6 4et"ork: ll OSPFv3 F
messa!es 9IPv&IPv6 and IPv6 packets
?lernai+ely F ,aic link-local
ip(" address +%#0,, li
'& / Confi!urin! OSPFv3 for IPv&
G0>0-551:(:CF+:3::6& -551:(:CF+:&::6&
-
8/9/2019 13-OSPFv3-RickGraziani
53/66
R-&onfig# router ospf(' 1
OI, Process OSP+('-1-IP(8 co
pic4 a router-id7 please confi3ure &anuall:
R-&onfig+ro/ter+af# router-id 8!8!8!8
R-&onfig+ro/ter+af# area 51 stub
R-&onfig+ro/ter+af# eit-address-fa&il:
R-&onfig+ro/ter# eit
R-&onfig#
'- '3
G0>0
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
-551:(:CF+:3::6& -551:(:CF+:&::6&17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
Sill need o conigu
addre,,e, on /e in
-
8/9/2019 13-OSPFv3-RickGraziani
54/66
'&
-
8/9/2019 13-OSPFv3-RickGraziani
55/66
R-# show ip route
Ao/t/t o$itte"B
Gateway of last resort is 12.16.1.1 to network 0.0.0.0
;I% 0.0.0.0*0 C110*129 =ia 12.16.1.1@ 00,03,--@ !erial0*0*0
12.16.0.0*16 is =ariably s/bnette"@ - s/bnets@ 2 $asks
4 12.16.1.0*2- is "ire&tly &onne&te"@ !erial0*0*0
) 12.16.1.2*32 is "ire&tly &onne&te"@ !erial0*0*0
4 12.16.2.0*2- is "ire&tly &onne&te"@ Gigabit:thernet0*0
) 12.16.2.1*32 is "ire&tly &onne&te"@ Gigabit:thernet0*0
192.168.3.0*2- C110*128 =ia 12.16.1.1@ 00,03,--@ !erial0*0*0
192.168.-.0*2- C110*6 =ia 12.16.1.1@ 00,03,--@ !erial0*0*0
R-#
'- '3
G0>0
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
-551:(:CF+:3::6& -551:(:CF+:&::6&17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
R#, I)+# rouing able.
0-551:(:CF+:3::6& -551:(:CF+:&::6&
IP
-
8/9/2019 13-OSPFv3-RickGraziani
56/66
R-# show ip route ospf
R-#
R-# show ip route ospf('
4o"es, ) + lo&al@ 4 + &onne&te"@ ! + stati&@ R + RI@ E + $obile@ 7 + 7G
D + :IGR@ :F + :IGR e5ternal@ + !'@ I% + !' inter area
Ao/t/t o$itte"B
Gateway of last resort is 12.16.1.1 to network 0.0.0.0
;I% 0.0.0.0*0 C110*129 =ia 12.16.1.1@ 00,16,20@ !erial0*0*0
192.168.3.0*2- C110*128 =ia 12.16.1.1@ 00,16,20@ !erial0*0*0
192.168.-.0*2- C110*6 =ia 12.16.1.1@ 00,16,20@ !erial0*0*0
R-#
'- '3
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
-551:(:CF+:3::6& -551:(:CF+:&::6&17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
3eaul roue inEe
' (efault
I
-551:(:CF+:1::6&
-551:(:CF+:-::6&
17-%16%1%5-&
G0>0
rea 5 '1
-
8/9/2019 13-OSPFv3-RickGraziani
57/66
R1# show ip route ospf('
4o"es, ) + lo&al@ 4 + &onne&te"@ ! + stati&@ R + RI@ E + $obile@ 7 + 7G
D + :IGR@ :F + :IGR e5ternal@ + !'@ I% + !' inter area
N1 + !' N!!% e5ternal tye 1@ N2 + !' N!!% e5ternal tye 2
:1 + !' e5ternal tye 1@ :2 + !' e5ternal tye 2
Ao/t/t o$itte"B
12.16.0.0*2- is s/bnette"@ 2 s/bnets
I% 12.16.1.0 C110*192 =ia 192.168.2.2@ 00,2,0@ !erial0*0*0
I% 12.16.2.0 C110*193 =ia 192.168.2.2@ 00,01,3-@ !erial0*0*0
I% 192.168.3.0*2- C110*128 =ia 192.168.2.2@ 01,1,39@ !erial0*0*0
I% 192.168.-.0*2- C110*129 =ia 192.168.2.2@ 01,-2,-6@ !erial0*0*0
R1#
'&
S0>0>0
.%
18-%16%1%5-&
I
'1'-S0>0>0
:1>.1
S0>0>0
:%>.%
-551:(:CF+:-::6&
17-%16%-%5-&
*!0::1 :1>.1
OSPFv3 Sent over IPv6G0>0-551:(:CF+:3::6& -551:(:CF+:&::6&
IP
-
8/9/2019 13-OSPFv3-RickGraziani
58/66
R-# debu3 ospf(' hello detail
!'=3 hello "etaile" "eb/gging is on for ro&ess 1@ I=-@ Defa/l
;!e 19 0-,16,31.010, !'=3+1+I=- ?:)) !e0*0*0, !en" helloto
area 1 fro& +%#0,,#A5A,9++,+%'#,'80interfa&e ID 6
;!e 19 0-,16,39.210, !'=3+1+I=- ?:)) !e0*0*0, R&= hellofro$
area 1 fro& +%#0,,#A5A,9++,+%'.,#80interfa&e ID 8
;!e 19 0-,16,39.98, !'=3+1+I=- ?:)) Gi0*0, !en" hello to ++1 fro&+%#0,,#A5A,9++,+%'#,'80 interfa&e ID 3
R-# un all
'- '3
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
-551:(:CF+:&::6&17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
(S)*+$ 7e,,age, ,en o+er I)+& F noice I- deri+ed link-lo ello, ,en ro7 I)+& link-local addre,, o **0%:: ?ll (S)* rou
)erifyin! '&0-551:(:CF+:3::6& -551:(:CF+:&::6&
IPv
-
8/9/2019 13-OSPFv3-RickGraziani
59/66
R-# show ip ospf nei3hbor
R-#
R-# show ip(" ospf nei3hbor
R-#
R-# show ospf(' nei3hbor
!'=3 1 a""ress+fa$ily i=- ro/ter+i" -.-.-.-
Neighbor ID ri !tate Dea" i$e Interfa&e ID Interfa&e
3.3.3.3 0 '())* + 00,00,31 !erial0*0*
R-#
'- '3
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
3i,lay, (S)*+% inor7aion R# i, u,ing
3i,lay, (S)*+$ inor7aion bu I)+& on
,en o+er I)+& adEacencie, are e,abli,/e
or eac/ addre,, a7ily.
3i,lay, (S)*+$ inor7aion or bo/ I)+#
dded Confi!uration for '3G0>0-551:(:CF+:3::6& -551:(:CF+:&::6&
17- 16 3 5-& IPv
-
8/9/2019 13-OSPFv3-RickGraziani
60/66
'- '3
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
ip(" unicast-routin3
interface 2i3abit%thernet0/0
ip address 19!1"#!8!1 55!55!55!0
ip(" address +%#0,,' lin4-local
ip(" address 001,.#,A+%,8,,1/"8
ospf(' 1 ip(" area 51
ospf(' 1 ip(8 area 51
;interface Serial0/0/1
ip address 19!1"#!'! 55!55!55!0
ip(" address +%#0,,' lin4-local
ip(" address 001,.#,A+%,',,/"8
ospf(' 1 ip(" area 51
ospf(' 1 ip(8 area 51
interface Serial0/1/0
ip address 1!1"!1!1 55!55!5
ip(" enable
ospf(' 1 ip(8 area 51
;
router ospf(' 1
;
address-fa&il: ip(8 unicast router-id '!'!'!'
area 51 stub
eit-address-fa&il:
;
address-fa&il: ip(" unicast
router-id '!'!'!"
area 51 stub
eit-address-fa&il:
?dded or
I)+# adEac
'&0-551:(:CF+:3::6& -551:(:CF+:&::6&
17- 16 3 5-& IPv
-
8/9/2019 13-OSPFv3-RickGraziani
61/66
'- '3
:1>.1
S0>0>1
:1>.1
S0>0>1
:%>.%
17-%16%3%5-& 17-%16%&%5-&*!0::%
*!0::$
'&
S0>1>0
.1
S0>0>0
.%
18-%16%1%5-&
G0
.1
18-
IPv
ip(" unicast-routin3
interface 2i3abit%thernet0/0
ip address 1!1"!!1 55!55!55!0
ip(" enable
ospf(' 1 ip(8 area 51
;
interface Serial0/0/0
ip address 1!1"!1! 55!55!55!0ip(" enable
ospf(' 1 ip(8 area 51
router ospf(' 1
;
address-fa&il: ip(8 unicast
router-id 8!8!8!8
area 51 stub
eit-address-fa&il:
J
-
8/9/2019 13-OSPFv3-RickGraziani
62/66
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
*!0::1 *!0 % *!0 $
G0>0
:1> 1
-551:(:88::
6&
rea 5
OSPFv-? .raditional OSPF
-
8/9/2019 13-OSPFv3-RickGraziani
63/66
router ospf 1
router-id !!!
area 51 stub no-su&&ar:
;
ip(" router ospf
router-id !!!"
area 51 stub no-su&&ar:
ip(" unicast-routin3
interface Serial0/0/0
ip address 19!1"#!! 55!55!55!0
ip ospf 1 area 0
ip(" address +%#0,, lin4-local
ip(" address 001,.#,A+%,,,/"8
ip(" ospf area 0
;interface Serial0/0/1
ip address 19!1"#!'!1 55!55!55!0
ip ospf 1 area 51
ip(" address +%#0,, lin4-local
ip(" address 001,.#,A+%,',,1/"8
ip(" ospf area 51
Optional confi3uration for
router ospf 1
networ4 19!1"#!!0 0!0!0!
networ4 19!1"#!'!0 0!0!0!
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$:1>.1
ISP
S0>0>1
:%>.%
6&
17-%16%88%5-&
-551:(:CF+:1::6&
-551:(:CF+:-::6& -551:(:CF+:3::6& -5
17-%16%1%5-&
*!0::1 *!0 % *!0 $
G0>0
:1> 1
-551:(:88::
6&
rea 5
'-
-
8/9/2019 13-OSPFv3-RickGraziani
64/66
ip(" unicast-routin3
interface Serial0/0/0
ip address 19!1"#!! 55!55!55!0
ip(" address +%#0,, lin4-local
ip(" address 001,.#,A+%,,,/"8
ospf(' 1 ip(8 area 0
ospf(' 1 ip(" area 0
;interface Serial0/0/1
ip address 19!1"#!'!1 55!55!55!0
ip(" address +%#0,, lin4-local
ip(" address 001,.#,A+%,',,1/"8
ospf(' 1 ip(8 area 51
ospf(' 1 ip(" area 51
router ospf(' 1
;
address-fa&il: ip(8 unicast
router-id !!!
area 51 stub no-su&&ar:
eit-address-fa&il:
;
address-fa&il: ip(" unicast router-id !!!"
area 51 stub no-su&&ar:
eit-address-fa&il:
;
'1 '- '3S0>0>0
:1>.1S0>0>1
:1>.1
S0>0>0
:%>.%
S0>0>1
:%>.%
17-%16%-%5-& 17-%16%3%5-&
*!0::1 *!0::% *!0::$:1>.1
ISP
S0>0>1
:%>.%
6&
17-%16%88%5-&
For more information please check out my Cisco Press book and
-
8/9/2019 13-OSPFv3-RickGraziani
65/66
IPv6 Fundamentals: Strai!htfor"ard
pproach to #nderstandin! IPv6 By Rick Graziani ISBN-10: 1-!"1#-$1$-
IPv6 Fundamentals $ive$ess
Strai!htfor"ard pproach to By Rick Graziani ISBN-10: 1-!"%0-#"-&
-
8/9/2019 13-OSPFv3-RickGraziani
66/66
13: OSPFv3
Rick Graziani
Cabrillo College