Site Tools


cisco:books:ccie_bridging_the_gap:ch10:lab10-1

Cisco Books - CCIE Bridging the Gap: Chapter 10 - Lab 10-1

Parameters

This lab has the following parameters:

  • RIPv2 as the underlay, to provide a route between loopbacks.
  • iBGP as the overlay to share routes between four routers.
  • The loopback addresses are used as the peering between the iBGP neighbors.
  • BGP peer groups are used for all neighbors.
  • BGP neighbors have authentication configured.

Initial Configurations

r1

en
conf t
!
hostname r1
interface Loopback0
 ip address 1.1.1.1 255.0.0.0
!
interface Loopback1
 ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet0/0
 ip address 10.1.1.1 255.255.255.0
 no shut
!
line con 0
logg syn
exec-timeout 0 0
!
end
wr

r2

en
conf t
!
hostname r2
interface Loopback0
 ip address 2.2.2.2 255.0.0.0
!
interface Loopback1
 ip address 192.168.2.2 255.255.255.0
!
interface GigabitEthernet0/0
 ip address 10.1.1.2 255.255.255.0
 no shut
!
line con 0
logg syn
exec-timeout 0 0
!
end
wr

r3

en
conf t
!
hostname r3
interface Loopback0
 ip address 3.3.3.3 255.0.0.0
!
interface Loopback1
 ip address 192.168.3.3 255.255.255.0
!
interface GigabitEthernet0/0
 ip address 10.1.1.3 255.255.255.0
 no shut
!
line con 0
logg syn
exec-timeout 0 0
!
end
wr

r4

en
conf t
!
hostname r4
interface Loopback0
 ip address 4.4.4.4 255.0.0.0
!
interface Loopback1
 ip address 192.168.4.4 255.255.255.0
!
interface GigabitEthernet0/0
 ip address 10.1.1.4 255.255.255.0
 no shut
!
line con 0
logg syn
exec-timeout 0 0
!
end
wr

End of Lab 10-1 Configurations

r1

router rip
 version 2
 network 1.0.0.0
 network 10.0.0.0
 no auto-summary
!
router bgp 100
 bgp router-id 1.1.1.1
 network 192.168.1.1
 neighbor tst peer-group
 neighbor tst remote-as 100
 neighbor tst password cisco
 neighbor tst update-source Loopback0
 neighbor 2.2.2.2 peer-group tst
 neighbor 3.3.3.3 peer-group tst
 neighbor 4.4.4.4 peer-group tst

r2

router rip
 version 2
 network 2.0.0.0
 network 10.0.0.0
 no auto-summary
!
router bgp 100
 bgp router-id 2.2.2.2
 network 192.168.2.2
 neighbor tst peer-group
 neighbor tst remote-as 100
 neighbor tst password cisco
 neighbor tst update-source Loopback0
 neighbor 1.1.1.1 peer-group tst
 neighbor 3.3.3.3 peer-group tst
 neighbor 4.4.4.4 peer-group tst

r3

router rip
 version 2
 network 3.0.0.0
 network 10.0.0.0
 no auto-summary
!
router bgp 100
 bgp router-id 3.3.3.3
 network 192.168.3.3
 neighbor tst peer-group
 neighbor tst remote-as 100
 neighbor tst password cisco
 neighbor tst update-source Loopback0
 neighbor 1.1.1.1 peer-group tst
 neighbor 2.2.2.2 peer-group tst
 neighbor 4.4.4.4 peer-group tst

r4

router rip
 version 2
 network 4.0.0.0
 network 10.0.0.0
 no auto-summary
!
router bgp 100
 bgp router-id 4.4.4.4
 network 192.168.4.4
 neighbor tst peer-group
 neighbor tst remote-as 100
 neighbor tst password cisco
 neighbor tst update-source Loopback0
 neighbor 1.1.1.1 peer-group tst
 neighbor 2.2.2.2 peer-group tst
 neighbor 3.3.3.3 peer-group tst

Verification on r1

r1#show ip bgp summary
BGP router identifier 1.1.1.1, local AS number 100
BGP table version is 9, main routing table version 9

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
2.2.2.2         4          100      37      37        9    0    0 00:30:57        0
3.3.3.3         4          100       5       8        9    0    0 00:02:46        0
4.4.4.4         4          100       7       9        9    0    0 00:04:14        0
r1#show ip bgp peer-group tst
BGP peer-group is tst,  remote AS 100
  BGP version 4
  Neighbor sessions:
    0 active, is not multisession capable (disabled)
  Do log neighbor state changes (via global configuration)
  Default minimum time between advertisement runs is 0 seconds

 For address family: IPv4 Unicast
  BGP neighbor is tst, peer-group internal, members:
  2.2.2.2 3.3.3.3 4.4.4.4
  Index 0, Advertise bit 0
  Update messages formatted 0, replicated 0
  Number of NLRIs in the update sent: max 0, min 0
cisco/books/ccie_bridging_the_gap/ch10/lab10-1.txt · Last modified: by 97.85.225.56