Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter 7 Lab 7-1, Configuring BGP with Default Routing Instructor Version
Topology
Objectives
• Configure BGP to exchange routing information with two IP!"
Backgroun
#he International #ra$el %genc& 'I#%( relie! exten!i$el& on the Internet for !ale!" )or thi! rea!on, the I#% ha! *eci*e*
to create a Becau!e
tolerance" multihome*
theIP
I#%connecti$it& !olution
i! connecting to twoan* contracte*
*ifferent with
!er$ice two IP!&ou
pro$i*er!, for mu!t
Internet connecti$it&
configure BGP,with fault
which run!
between the I#% boun*ar& router an* the two IP router!"
Note! #hi! lab u!e! Ci!co 1 +1 router! with Ci!co I Relea!e 1." with IP Ba!e" #he !witche! are Ci!co /-
C0+2-0##-L with )a!t 3thernet interface!, therefore the router will u!e routing metric! a!!ociate* with a 122 4b5!
6 021 Ci!co an*5or it! affiliate!" %ll right! re!er$e*" #hi! *ocument i! Ci!co Public" Page 1 of 1.
CCNPv7 ROUTE Lab 7-1, Configuring BGP with Default Routing
interface" Depen*ing on the router or !witch mo*el an* Ci!co I oftware $er!ion, the comman*! a$ailable an*
output pro*uce* might $ar& from what i! !hown in thi! lab"
Re"uire Resources
• router! 'Ci!co I Relea!e 1."0 o r comparable(
• erial an* 3thernet cable!
6 021 Ci!co an*5or it! affiliate!" %ll right! re!er$e*" #hi! *ocument i! Ci!co Public" Page 0 of 1.
CCNPv7 ROUTE Lab 7-1, Configuring BGP with Default Routing
b" 8!e ping to te!t the connecti$it& between the *irectl& connecte* router!" :ote that router IP1 cannot reach
router IP0"
;ou !houl* !ee BGP neighbor peering me!!age! on the con!ole !imilar to the following"
*Sep 8 16:00:21.8!: "$P--A%&'A$: neig+,or 10.0.0.1 p
b" #o $erif& the configuration, chec9 the I#% routing table with the s'o0 ip route comman*"
ITA# show ip route
'oe/: - locl ' - connecte S - /ttic R - RIP 3 - 4o,ile - $P
% - I$RP 5 - I$RP eternl 7 - 7SP IA - 7SP inter re
1 - 7SP SSA eternl t9pe 1 2 - 7SP SSA eternl t9pe 2
1
i -- IS-IS
7SP eternl t9pe
/u - IS-IS 1 2 - 1
/u44r9 7SP eternl
- IS-IS t9pe 2
leel-1 2 - IS-IS leel-2
i - IS-IS inter re * - cnite efult - per-u/er /ttic route
o - 7%R P - perioic o;nloe /ttic route - RP l - ISP
- ppliction route
< - replicte route " - net +op oerrie
6 021 Ci!co an*5or it! affiliate!" %ll right! re!er$e*" #hi! *ocument i! Ci!co Public" Page of 1.
CCNPv7 ROUTE Lab 7-1, Configuring BGP with Default Routing
I#% ha! BGP route! to the loopbac9 networ9! at each IP router"
c" Run the following #cl !cript on all router! to $erif& connecti$it& If the!e ping! are not !ucce!!ful, trouble!hoot" 8!e
e)it to exit the #cl !cript"
Note! #he /%: !ubnet! connecting I#% 'R0( to the IP! 'R1 an* R( are not a*$erti!e* in BGP, !o the IP! will
not be able to ping each other<! !erial interface a**re!!"
ITA# tclsh
foreach address
10.0.0.1
10.0.0.
10.1.1.1
1*.1).0.1
1*.1).0.
1*.1).1.1
1(.1)&.0.1
1(.1)&.1.1
ping /address
et;or?
*D 10.1.1.0=2@ et op
10.0.0.1 3etric
0 ocPrf Heig+t Pt+
0 200 i
*D 1!2.16.1.0=2@ 1!2.16.0.1 0 0 >00 i
*D 1C2.168.0.0 0.0.0.0 0 >2!68 i
*D 1C2.168.1.0 0.0.0.0 0 >2!68 i
ITA#
6 021 Ci!co an*5or it! affiliate!" %ll right! re!er$e*" #hi! *ocument i! Ci!co Public" Page of 1.
CCNPv7 ROUTE Lab 7-1, Configuring BGP with Default Routing
/hich table $er!ion i! *i!pla&e* an* i! it the !ame a! the BGP table $er!ion for I#%=
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#he table $er!ion *i!pla&e* i! ., which i! the !ame a! *i!pla&e* for I#%"
c" n the IP1 router, i!!ue the s'uto0n comman* on Loopbac92" #hen on I#%, i!!ue the s'o0 ip bgp comman*
again"
ISP1(config)# interface loop+ack 0
ISP1(config-if)# shutdown
ISP1(config-if)#
6 021 Ci!co an*5or it! affiliate!" %ll right! re!er$e*" #hi! *ocument i! Ci!co Public" Page . of 1.
CCNPv7 ROUTE Lab 7-1, Configuring BGP with Default Routing
6 021 Ci!co an*5or it! affiliate!" %ll right! re!er$e*" #hi! *ocument i! Ci!co Public" Page 1 of 1.
CCNPv7 ROUTE Lab 7-1, Configuring BGP with Default Routing
en
6 021 Ci!co an*5or it! affiliate!" %ll right! re!er$e*" #hi! *ocument i! Ci!co Public" Page 1. of 1.