Lab -Configuring OSPFv2 on a Multiaccess Network Topology
!!ressing Table Table "evice R1
R2
R3
#nterface
#P !!ress
Subnet Mask
G0/1
192.168.1.1
255.255.255.0
Lo0
192.168.31.11
255.255.255.255
G0/0
192.168.1.2
255.255.255.0
Lo0
192.168.31.22
255.255.255.255
G0/1
192.168.1.3
255.255.255.0
Lo0
192.168.31.33
255.255.255.255
Ob$ectives Part %& 'uil! t(e Network an! Configure 'asic "evice Settings Part 2& Configure an! )erify OSPFv2 on t(e "*+ '"*+ an! "*Ot(er Part ,& Configure OSPFv2 #nterface Priority to "eterine t(e "* an! '"*
'ackgroun! . Scenario A multiaccess network network is a network with with more than two deices on the same shared media.!"am#les media.!"am#les include !thernet and $rame Rela%. &n multiaccess networks' &()$2 &()$2 elects a *esi+nated Router ,*R- to e the collection and distriution #oint or linkstate adertisements ,L(As-that are sent and receied. A acku# *esi+nated Router ,*R- is also elected in case the *R ails. All other routers ecome *R&thersasthis indicates a router that is n either the *R nor the *R. ecause the *R acts as a ocal #oint or &()$ routin+ #rotocol communication' the router chosen should e ca#ale o su##ortin+ a heaier traic load than other routers in the network. A router with a #owerul ) and ade4uate *RA is t%#icall% the est choice or the *R. n this la' %ou will coni+ure &()$2 on the *R'*R'and *R&ther.7ou will then modi% the #riorit% o routers to control the outcome o the *R/*R election #rocess and ensure that the desired router ecomes the *R. 2013 isco and/or its ailiates. All ri+hts resered. his document is isco )ulic.
)a+e % o /
Lab -Configuring OSPFv2 on a Multiaccess Network Note: he routers used with ;A handson las are isco 19<1 nte+rated (erices Routers ,(Rs-with isco &( Release 15.2,<-3,uniersalk9 ima+e-. he switches used are isco atal%st 2960s with isco &( Release 15.0,2- ,lanasek9 ima+e-. &ther routers' switches' and isco &( ersions can e used. *e#endin+ on the model and isco &( ersion' the commands aailale and out#ut #roduced mi+ht ar% rom what is shown in the las.Reer to the Router nterace (ummar% ale at the end o this la or the correct interace identiiers. Note:ake sure that the routers and switches hae een erased and hae no startu# coni+urations. %ou are unsure'contact %our instructor.
*e0uire! *esources •
3 Routers ,isco 19<1 with isco &( Release 15.2,<-3 uniersal ima+e or com#arale-
•
1 (witch ,isco 2960 with isco &( Release 15.0,2- lanasek9 ima+e or com#arale-
•
onsole cales to coni+ure the isco &( deices ia the console #orts
•
!thernet cales as shown in the to#olo+%
Part %& 'uil! t(e Network an! Configure 'asic "evice Settings n )art 1' %ou will set u# the network to#olo+% and coni+ure asic settin+s on the routers.
Step %& Cable t(e network as s(own in t(e topology1 Attach the deices as shown in the to#olo+% dia+ram' and cale as necessar%.
Step 2& #nitialie an! reloa! t(e routers1 Step ,& Configure basic settings for eac( router1 a. *isale *;( looku#. . oni+ure deice names as shown in the to#olo+%. c.
Assi+n class as the #riile+ed !=! #assword.
d.
Assi+n cisco as the console and t% #asswords.
e. !ncr%#t the #lain te"t #asswords. .
oni+ure a &* anner to warn users that unauthori>ed access is #rohiited.
+.
oni+ure logging sync(ronousor the console line.
h. oni+ure the ) addresses listed in the Addressin+ ale or all interaces. i. ?.
se the s(ow ip interface brief command to eri% that the ) addressin+ is correct and that the interaces are actie. o#% the runnin+coni+uration to the startu#coni+uration.
Part 2& Configure an! )erify OSPFv2 on t(e "*+ '"*+ an! "*Ot(er n )art 2' %ou will coni+ure &()$2 on the *R' *R' and *R&ther.he *R and *R election #rocess takes #lace as soon as the irst router has its interace enaled on the multiaccess network. his can ha##en as the routers are #oweredon or when the &()$ network command or that interace is coni+ured. a ne w router enters the network ater the *R and *R hae alread% een elected' it does not ecome the *R or *R' een i it has a hi+her &()$ interace #riorit% or router * than the current *R or *R. oni+ure the &()$ #rocess on the router with the hi+hest router * irst to en sure that this router ecomes the *R.
2013 isco and/or its ailiates. All ri+hts resered. his document is isco )ulic.
)a+e 2 o /
Lab -Configuring OSPFv2 on a Multiaccess Network
Step %& Configure OSPF on *,1 oni+ure the &()$ #rocess on R3 ,the router with the hi+hest router *- to ensure that this router ecomes the *R. a. Assi+n 1 as the #rocess * or the &()$ #rocess. oni+ure the router to adertise the 192.168.1.0/2< network. se an area * o 0 or the &()$ area-id #arameter in the network statement. @hat actor determined thatR3has the hi+hest router * Loopback a!!ress wit( t(e (ig(est nuber . Beri% that &()$ has een coni+ured and R3 is the *R. @hat command would %ou use to eri% that &()$ has een coni+ured correctl% and R3 is the *R S(ow ip ospf interface
Step 2& Configure OSPF on *21 oni+ure the &()$ #rocess on R2 ,the router with the second hi+hest router *- to ensure that this router ecomes the *R. a. Assi+n 1 as the #rocess * or the &()$ #rocess. oni+ure the router to adertise the 192.168.1.0/2< network. se an area * o 0 or the &()$ area-id #arameter in the network statement. . Beri% that the &()$ has een coni+ured and that R2 is the *R. Record the command used or eriication. S(ow ip ospf interface c.
ssue the s(ow ip ospf neig(bor command to iew inormation aout the other routers in the &()$ area. R2#show ip ospf neighbor Neighbor ID
Pri
192.168.1.
1
State
Dead Time
Address
Interface
!"$DR
%%&%%&
192.168.1.
'igabit(thernet%
%$;otice that R3 is the *R.
Step ,& Configure OSPF on *%1 oni+ure the &()$ #rocess on R1 ,the router with the lowest router *-. his router will e desi+nated as *R&ther instead o *R or *R. a. Assi+n 1 as the #rocess * or the &()$ #rocess. oni+ure the router to adertise the 192.168.1.0/2< network. se an area * o 0 or the &()$ area-id #arameter in the network statement. .
ssue s(ow ip ospf interface brief command to eri% that &()$ has een coni+ured and R1 is the *R&ther. R1# show ip ospf interface brief
c.
Interface
PID
Area
IP Address$)as*
+ost
State Nbrs !$+
'i%$1
1
%
192.168.1.1$2,
1
DR-T 2$2
ssuethe s(ow ip ospf neig(bor command to iew inormation aout the other routers in the &()$ area. R1#show ip ospf neighbor Neighbor ID
Pri
State
Dead Time
Address
Interface
192.168.1.22
1
!"$/DR
%%&%%&0
192.168.1.2
'igabit(thernet%$1
192.168.1.
1
!"$DR
%%&%%&%
192.168.1.
'igabit(thernet%$1
@hat #riorit% are oth the *R and *R routers %
2013 isco and/or its ailiates. All ri+hts resered. his document is isco )ulic.
)a+e , o /
Lab -Configuring OSPFv2 on a Multiaccess Network
Part ,& Configure OSPFv2 #nterface Priority to "eterine t(e "* an! '"* n )art 3' %ou will coni+ure router interace #riorit% to determine the *R/*R election' reset the &()$2 #rocess' and then eri% that the *R and *R routers hae chan+ed. &()$ interace #riorit% oerrides all other settin+s in determinin+ which routers ecome the *R and *R.
Step %& Configure *% 34.% wit( OSPF priority 2551 A alue o 255 is the hi+hest #ossile interace #riorit%. R1config#interface g0/1 R1config3if#ip ospf priority 255 R1config3if#end
Step 2& Configure *, 34.%wit( OSPF priority %441 Rconfig#interface g0/1 Rconfig3if#ip ospf priority 100 Rconfig3if#end
Step ,& Configure *2 34.4wit( OSPF priority 41 A #riorit% o 0 causes the router to e ineli+ile to #artici#ate in an &()$ election anddoes not ecome a *R or *R. R2config#interface g0/0 R2config3if#ip ospf priority 0 R2config3if#end
Step 6& *eset t(e OSPF process1 a.
ssue the s(ow ip ospf neig(bor command to determine the *R and *R.
. Cas the *R desi+nation chan+ed No @hich router is the *R *, Cas the *R desi+nation chan+ed 7es
@hich router is the *R *%
@hat is the role o R2 now "*Ot(er !"#lain the immediate eects caused % the ip ospf priority command. T(e coan! will begin t(e ospf election1 T(e router interface will be s(ut!own an! t(en be re enable t(e starting wit( "* t(en '"* an! t(en all t(e ort(er routers1 Note: the *R and *R desi+nations did not chan+e' issue the clear ip ospf % process command on all o the routers to reset the &()$ #rocesses and orce a new election. the clear ip ospf process command does not reset the *R and *R' issue the reloa! command on all routers ater sain+ the runnin+ coni+uration to the startu# coni+uration. c.
ssuethe s(ow ip ospf interface command on R1 and R3 to conirm the #riorit% settin+s and *R/*R status on the routers. R1#show ip ospf interface 'igabit(thernet%$1 is 45 7ine 5rotoco7 is 45 Internet Address 192.168.1.1$2, Area % Process ID 1 Ro4ter ID 192.168.1.11 Netor* T5e /R-AD+AST +ost& 1 Transmit De7a is 1 sec State DR Priorit 200 Designated Ro4ter ID 192.168.1.11 Interface address 192.168.1.1 /ac*45 Designated ro4ter ID 192.168.1. Interface address 192.168.1.
2013 isco and/or its ailiates. All ri+hts resered. his document is isco )ulic.
)a+e 6 o /
Lab -Configuring OSPFv2 on a Multiaccess Network Timer inter:a7s config4red e77o 1% Dead ,% ;ait ,% Retransmit 0 oob3resnc timeo4t ,% e77o d4e in %%&%%&%% S455orts in*37oca7 Signa7ing S Inde< 1$1 f7ood =4e4e 7ength % Neacent neighbor co4nt is 2 Ad>acent ith neighbor 192.168.1.22 Ad>acent ith neighbor 192.168.1.
/ac*45 Designated Ro4ter
S455ress he77o for % neighbors
R#show ip ospf interface 'igabit(thernet%$1 is 45 7ine 5rotoco7 is 45 Internet Address 192.168.1.$2, Area % Process ID 1 Ro4ter ID 192.168.1. Netor* T5e /R-AD+AST +ost& 1 Transmit De7a is 1 sec State /DR Priorit 1%% Designated Ro4ter ID 192.168.1.11 Interface address 192.168.1.1 /ac*45 Designated ro4ter ID 192.168.1. Interface address 192.168.1. Timer inter:a7s config4red e77o 1% Dead ,% ;ait ,% Retransmit 0 oob3resnc timeo4t ,% e77o d4e in %%&%%&%% S455orts in*37oca7 Signa7ing S Inde< 1$1 f7ood =4e4e 7ength % Neacent neighbor co4nt is 2 Ad>acent ith neighbor 192.168.1.22 Ad>acent ith neighbor 192.168.1.11
Designated Ro4ter
S455ress he77o for % neighbors
@hich router is now the *R *% @hich router is now the *R *, *id the interace #riorit% oerride the router * in determinin+ the *R/*R 7es
2013 isco and/or its ailiates. All ri+hts resered. his document is isco )ulic.
)a+e 5 o /
Lab -Configuring OSPFv2 on a Multiaccess Network
*eflection 1.
List the criteria used rom hi+hest to lowest or determinin+ the *R on an &()$ network. #nterface priority is t(e (ig(est+ followe! by router i!1 *outer i! can be !eterine! by using router-i! coan!+ if not available t(e use t(e (ig(est loopback a!!ress1
2.
@hat is the si+niicance o a 255 interace #riorit% T(e (ig(est priority i!1
*outer #nterface Suary Table *outer #nterface Suary *outer Mo!el
8t(ernet #nterface 9%
8t(ernet #nterface 92
Serial #nterface 9%
Serial #nterface 92
1800
$ast !thernet 0/0 ,$0/0-
$ast !thernet 0/1 ,$0/1-
(erial 0/0/0 ,(0/0/0-
(erial 0/0/1 ,(0/0/1-
1900
Gi+ait !thernet 0/0 ,G0/0-
Gi+ait !thernet 0/1 ,G0/1-
(erial 0/0/0 ,(0/0/0-
(erial 0/0/1 ,(0/0/1-
2801
$ast !thernet 0/0 ,$0/0-
$ast !thernet 0/1 ,$0/1-
(erial 0/1/0 ,(0/1/0-
(erial 0/1/1 ,(0/1/1-
2811
$ast !thernet 0/0 ,$0/0-
$ast !thernet 0/1 ,$0/1-
(erial 0/0/0 ,(0/0/0-
(erial 0/0/1 ,(0/0/1-
2900
Gi+ait !thernet 0/0 ,G0/0-
Gi+ait !thernet 0/1 ,G0/1-
(erial 0/0/0 ,(0/0/0-
(erial 0/0/1 ,(0/0/1-
Note: o ind out how the router is coni+ured' look at the interaces to identi% the t%#e o router and how man% interaces the router has. here is no wa% to eectiel% list all the cominations o coni+urations or each router class. his tale includes identiiers or the #ossile cominations o !thernet and (erial interaces in the deice. he tale does not include an% other t%#e o interace' een thou+h a s#eciic router ma% contain one. An e"am#le o this mi+ht e an (*; R interace. he strin+ in #arenthesis is the le+al areiation that can e used in isco &( commands to re#resent the interace.
2013 isco and/or its ailiates. All ri+hts resered. his document is isco )ulic.
)a+e / o /