the 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, and 10.3.0.0/16 networks
but does not see the subnets that make up the aggregate
Directions
" Configure the topology per the diagram
" Configure BGP on R1, R3, R4, and R5 per the diagram
" R1 should peer with R3 and R4
" R5 should peer with R3 and R4
" Advertise VLAN 5 and 43 into BGP on R5 and R4 respectively
" Create the Loopback networks 10.0.0.1/16 and 10.1.0.1/16 on R1 and
advertise them into BGP
" Create the Loopback networks 10.2.0.1/16 and 10.3.0.1/16 on R3 and
advertise them into BGP
" Configure BGP aggregation on R1 and R3 for all four of these networks
using the summary-only keyword
" Configure the topology per the diagram
" Configure BGP on R1, R3, R4, and R5 per the diagram
" R1 should peer with R3 and R4
" R5 should peer with R3 and R4
" Advertise VLAN 5 and 43 into BGP on R5 and R4 respectively
" Create the Loopback networks 10.0.0.1/16 and 10.1.0.1/16 on R1 and
advertise them into BGP
" Create the Loopback networks 10.2.0.1/16 and 10.3.0.1/16 on R3 and
advertise them into BGP
" Configure BGP aggregation on R1 and R3 for all four of these networks
using the summary-only keyword
配置:
R1:
interface Loopback0
ip address 10.0.0.1 255.255.0.0
!
interface Loopback0
ip address 10.0.0.1 255.255.0.0
!
interface Loopback1
ip address 10.1.0.1 255.255.0.0
!
interface FastEthernet0/0
ip address 155.1.146.1 255.255.255.0
!
interface Serial0/1
ip address 155.1.13.1 255.255.255.0
!
router bgp 2
network 10.0.0.0 mask 255.255.0.0
network 10.1.0.0 mask 255.255.0.0
aggregate-address 10.0.0.0 255.252.0.0 summary-only
neighbor 155.1.13.3 remote-as 2
neighbor 155.1.13.3 next-hop-self
neighbor 155.1.146.4 remote-as 1
ip address 10.1.0.1 255.255.0.0
!
interface FastEthernet0/0
ip address 155.1.146.1 255.255.255.0
!
interface Serial0/1
ip address 155.1.13.1 255.255.255.0
!
router bgp 2
network 10.0.0.0 mask 255.255.0.0
network 10.1.0.0 mask 255.255.0.0
aggregate-address 10.0.0.0 255.252.0.0 summary-only
neighbor 155.1.13.3 remote-as 2
neighbor 155.1.13.3 next-hop-self
neighbor 155.1.146.4 remote-as 1
R3:
interface Loopback0
ip address 10.2.0.1 255.255.0.0
!
interface Loopback1
ip address 10.3.0.1 255.255.0.0
!
interface Serial1/0
encapsulation frame-relay
!
interface Serial1/0.1 point-to-point
ip address 155.1.0.3 255.255.255.0
frame-relay interface-dlci 305
!
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
router bgp 2
network 10.2.0.0 mask 255.255.0.0
network 10.3.0.0 mask 255.255.0.0
aggregate-address 10.0.0.0 255.252.0.0 summary-only
interface Loopback0
ip address 10.2.0.1 255.255.0.0
!
interface Loopback1
ip address 10.3.0.1 255.255.0.0
!
interface Serial1/0
encapsulation frame-relay
!
interface Serial1/0.1 point-to-point
ip address 155.1.0.3 255.255.255.0
frame-relay interface-dlci 305
!
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
router bgp 2
network 10.2.0.0 mask 255.255.0.0
network 10.3.0.0 mask 255.255.0.0
aggregate-address 10.0.0.0 255.252.0.0 summary-only
neighbor 155.1.13.1 remote-as 2
neighbor 155.1.13.1 next-hop-self
neighbor 155.1.0.5 remote-as 1
R3:
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 1
network 204.12.1.0
neighbor 155.1.146.1 remote-as 2
neighbor 155.1.45.5 remote-as 1
neighbor 155.1.45.5 next-hop-self
neighbor 155.1.13.1 next-hop-self
neighbor 155.1.0.5 remote-as 1
R3:
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 1
network 204.12.1.0
neighbor 155.1.146.1 remote-as 2
neighbor 155.1.45.5 remote-as 1
neighbor 155.1.45.5 next-hop-self
R5:
interface Serial0/0
ip address 155.1.0.5 255.255.255.0
encapsulation frame-relay
frame-relay map ip 155.1.0.2 502 broadcast
!
interface Ethernet0/1
ip address 155.1.5.5 255.255.255.0
!
router bgp 1
network 155.1.5.0 mask 255.255.255.0
neighbor 155.1.0.3 remote-as 2
neighbor 155.1.45.4 remote-as 1
neighbor 155.1.45.4 next-hop-self
interface Serial0/0
ip address 155.1.0.5 255.255.255.0
encapsulation frame-relay
frame-relay map ip 155.1.0.2 502 broadcast
!
interface Ethernet0/1
ip address 155.1.5.5 255.255.255.0
!
router bgp 1
network 155.1.5.0 mask 255.255.255.0
neighbor 155.1.0.3 remote-as 2
neighbor 155.1.45.4 remote-as 1
neighbor 155.1.45.4 next-hop-self
检验:
Rack1R3#show ip bgp
BGP table version is 15, local router ID is 10.3.0.1
Status codes: s suppressed, d damped, h history, * valid, >
best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
*> 10.0.0.0/14 0.0.0.0
32768 i
* i 155.1.13.1 0 100
0 i
s> 10.2.0.0/16 0.0.0.0 0
32768 i
s> 10.3.0.0/16 0.0.0.0 0
32768 i
*> 155.1.5.0/24 155.1.0.5 0
0 1 i
* i 155.1.13.1 0 100
0 1 i
*> 204.12.1.0 155.1.0.5
0 1 i
* i 155.1.13.1 0 100
0 1 i
BGP table version is 15, local router ID is 10.3.0.1
Status codes: s suppressed, d damped, h history, * valid, >
best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
*> 10.0.0.0/14 0.0.0.0
32768 i
* i 155.1.13.1 0 100
0 i
s> 10.2.0.0/16 0.0.0.0 0
32768 i
s> 10.3.0.0/16 0.0.0.0 0
32768 i
*> 155.1.5.0/24 155.1.0.5 0
0 1 i
* i 155.1.13.1 0 100
0 1 i
*> 204.12.1.0 155.1.0.5
0 1 i
* i 155.1.13.1 0 100
0 1 i
插入表情