ospf solution.docx
-
Upload
medchikchik -
Category
Documents
-
view
226 -
download
0
Transcript of ospf solution.docx
-
8/9/2019 ospf solution.docx
1/40
Step 1:Finish the IP
Addressing.Note:
Initially, you canonly accessrouter US-R2
through theconsole
-
8/9/2019 ospf solution.docx
2/40
-
8/9/2019 ospf solution.docx
3/40
US-R2 that are
listed intheaddressing
table.US-R2
(config)# intFa0/0
US-R2 (config-
if)# ip add
-
8/9/2019 ospf solution.docx
4/40
192.168.20.65
255.255.255.224
US-R2 (config-
if)# noshut US-R2
(config-if)#exit
US-R2 (config)
# int
-
8/9/2019 ospf solution.docx
5/40
Fa0/1
US-R2 (config-
if)# ip add
192.168.20.113255.255.255.248
US-R2 (config-if)# no
shut US-R2(config-if)#
exit
-
8/9/2019 ospf solution.docx
6/40
US-R2 (config)
# int
S0/0/0US-R2 (config-
if)# ip add192.168.20.242255.255.255.252
US-R2 (config-
if)# no
-
8/9/2019 ospf solution.docx
7/40
shut US-R2
(config-if)#
exit
US-R2 (config)
# into0
US-R2 (config-if)# ip add
-
8/9/2019 ospf solution.docx
8/40
1!2.16.0.2
255.255.255.255
US-R2 (config-
if)# noshut US-R2
(config-if)#exit
b.
-
8/9/2019 ospf solution.docx
9/40
Configure the
correct IPaddresses on
US-PC2 and US-R.
Configure US-PC2 !ith the last
IP address in thesubnet.
-
8/9/2019 ospf solution.docx
10/40
Ip address:
192.168.20.94S"#net $as%:
255.255.255.224&e'a"(t
gate)a*:192.168.20.65
Configure the"a#$ interface
on US-R !ith
-
8/9/2019 ospf solution.docx
11/40
the last IP
address inthesubnet.
US-R1(config)# int
Fa0/1US-R1 (config-
if)# ip add192.168.20.118255.255.255.248
-
8/9/2019 ospf solution.docx
12/40
US-R1 (config-
if)# no
shut US-R1
(config-if)#exit
c.
%erifyconnectivity.
-
8/9/2019 ospf solution.docx
13/40
Step 2:&is+o,er the
Net)or%.&'(lore the
net!or) todetermine the IPaddressing of the
serial interfacesthat US-*+
-
8/9/2019 ospf solution.docx
14/40
shares !ith US-
R and US-R2.
Remotely access
US-*+.
US-R1#telnet 192.16
8.20.2!
-
8/9/2019 ospf solution.docx
15/40
Step 3:-on'ig"re
Stati+and &e'a"(t
o"ting.a.
Configureconnectivity to
the U.
-
8/9/2019 ospf solution.docx
16/40
Using the ne'tho( address
2.#.2/.2,configure onesummary
staticroute onUS-*+ to
include only thesubnets usedand reserved for
-
8/9/2019 ospf solution.docx
17/40
theU. 0he U
subnets arelisted in the
follo!ing table1"(config)# ip
$oute10.10.0.0
2!!.2!!.2!2.0
128.10%.2!.2 S"#nets
-
8/9/2019 ospf solution.docx
18/40
#.#.#.#$2#.
#..#$2#.#.2.#$2/#.#.2.2$
2/#.#.3.#$2/#.#.3.2$24#.#.3.52$2#.#.3.22$2#.#.3.2#$3##.#.3.
2$3##.#.3.2$3##.#.3.2/
2$3#
-
8/9/2019 ospf solution.docx
19/40
Configure adefault route on
US-*+ to sendto the Internet all
other traffic fordestinations thatare not found in
the US-*+routing table.
Usethe
-
8/9/2019 ospf solution.docx
20/40
o"t#o"nd
inter'a+eargument
."(config)#
ip $oute0.0.0.0
0.0.0.0
S0&1&0b.
-
8/9/2019 ospf solution.docx
21/40
%erify static and
default routing.
Step 4:
-on'ig"reSPF
o"ting.a.
-
8/9/2019 ospf solution.docx
22/40
Configure 6SP"
on US-*+, US-R, and US-R2.
Use 6SP"
(rocess I7 3 andarea #.
Advertise eachsubnet
individually !ith
-
8/9/2019 ospf solution.docx
23/40
its corres(onding
!ildcardmas).6n US-
*+, do notadvertise thesubnet to theInternet or thesubnet toU.
"(config)#$oute$ ospf
' "(config-
-
8/9/2019 ospf solution.docx
24/40
$oute$)#
neto$
192.168.20.2
0.0.0.' a$ea0 "(config-
$oute$)#neto$
192.168.20.20 0.0.0.' a$ea
0 US-R1
-
8/9/2019 ospf solution.docx
25/40
(config)#
$oute$ ospf '
US-R1 (config-
$oute$)#
-
8/9/2019 ospf solution.docx
26/40
neto$
192.168.20.0
0.0.0.6' a$ea
0 US-R1(config-
$oute$)#neto$
192.168.20.112 0.0.0.% a$ea
0 US-R1
-
8/9/2019 ospf solution.docx
27/40
(config-
$oute$)#
neto$
192.168.20.2 0.0.0.' a$ea
0 US-R2(config)#
$oute$ ospf' US-R2
(config-
-
8/9/2019 ospf solution.docx
28/40
$oute$)#
neto$
192.168.20.6
0.0.0.'1 a$ea0 US-R2
(config-$oute$)#
neto$192.168.20.11
2 0.0.0.% a$ea
-
8/9/2019 ospf solution.docx
29/40
0 US-R2
(config-
$oute$)#
neto$192.168.20.2
0 0.0.0.' a$ea0
7isable 6SP"u(dates out
-
8/9/2019 ospf solution.docx
30/40
interfaces !here
there are no6SP"neighbors
available."(config-
$oute$)#passi*e-
inte$face
s0&1&0 "(co
nfig-$oute$)#
-
8/9/2019 ospf solution.docx
31/40
passi*e-
inte$face
s0&1&1US-R1
(config-$oute$)#
passi*e-inte$face
fa0&0 US-R2(config-
$oute$)#
-
8/9/2019 ospf solution.docx
32/40
passi*e-
inte$face
fa0&0
Configure US-
*+ to send thedefault route toUS-R and US-R2 in6SP"u(dates.
-
8/9/2019 ospf solution.docx
33/40
"(config-
$oute$)#
default-
info$+ationo$iginate
b.
8odify the
default 6SP"o(eration.
-
8/9/2019 ospf solution.docx
34/40
Configure US-R
to al!ays bethe 7R by using
a (riority of150.
,ou$ a0&1 S
0&0 US-R1
(config-if)# ip
-
8/9/2019 ospf solution.docx
35/40
ospf p$io$it/
1!0
Configure US-R2to al!ays be the
97R by using a(riority of
!5.
-
8/9/2019 ospf solution.docx
36/40
,ou$ a0&1 S
0&0 US-R2
(config-if)# ip
ospf p$io$it/%!
Change the hello
interval to 3#seconds on US-R and US-R2
-
8/9/2019 ospf solution.docx
37/40
for the:A; that
these t!o routersshare !ith
Server:A;.US-R1 (config-
if)# ip ospfhello-inte$*al
'0 (f0&0) US-
R2 (config-if)#
ip ospf hello-
-
8/9/2019 ospf solution.docx
38/40
inte$*al
'0 (f0&1)
%erify 6SP"neighbor status.
US-R1# shoip ospf
neigho$c.
-
8/9/2019 ospf solution.docx
39/40
%erify that 6SP"
is fullyo(erational.
%erify that the
routing tables onUS-R, US-R2,and US-*+
contain allthee'(ected routes.
It may be
-
8/9/2019 ospf solution.docx
40/40
necessary to
shutdo!n andthenreactivate
interfaces toforce 6SP" toconverge.
US-R1# sho
ip $oute