0% found this document useful (0 votes)
55 views4 pages

BGP Conditional Route Injection

The document provides instructions to configure BGP routing between multiple autonomous systems to advertise routes and control traffic flow. Key points: - Configure BGP with different AS numbers on different routers to establish iBGP and eBGP peering between ASes 100, 200, and 8.10. - R5 will be the iBGP route reflector for AS 100 using OSPF internally. - R8 and R6 will inject summary routes and specific routes respectively toward R5 to prefer those paths for traffic between certain hosts. - If R3 or R6 fail, traffic should use the alternate eBGP peering between ASes for redundancy.

Uploaded by

Diego Diaz Ramos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views4 pages

BGP Conditional Route Injection

The document provides instructions to configure BGP routing between multiple autonomous systems to advertise routes and control traffic flow. Key points: - Configure BGP with different AS numbers on different routers to establish iBGP and eBGP peering between ASes 100, 200, and 8.10. - R5 will be the iBGP route reflector for AS 100 using OSPF internally. - R8 and R6 will inject summary routes and specific routes respectively toward R5 to prefer those paths for traffic between certain hosts. - If R3 or R6 fail, traffic should use the alternate eBGP peering between ASes for redundancy.

Uploaded by

Diego Diaz Ramos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Task

Configure BGP AS 8.10 on R8 & R10.


Configure BGP AS 100 on R1, R2, R3, R4, R5, and R6.
Configure BGP AS 200 on R7 and R9.
R8 & R10 should peer iBGP.
R7 & R9 should peer iBGP.
R5 should peer iBGP with all routers in AS 100; use OSPF as the IGP for AS 100.
AS 100 should peer EBGP with AS 200 and 8.10.
Advertise the Host5, Host7, Host8, Host9, and Host10 segments into BGP.
R8 should advertise a summary of the Host8 and Host10 segments to R5.
R6 should inject the subnet 155.1.8.0/24 towards R7, so that return traffic from
Host9 to Host8 is preferred that way.
R3 should inject the subnet 155.1.10.0/24 towards R7, so that return traffic from
Host9 to Host10 is preferred that way.
If R3 or R6 are down, traffic should failover to the alternate peering between AS
100 and AS 200.
Solutions

R1:
interface Tunnel0
ip ospf 1 area 0
!
interface GigabitEthernet0/1
ip ospf 1 area 0
!
interface GigabitEthernet0/2
ip ospf 1 area 0
!
interface Loopback0
ip ospf 1 area 0
!
router bgp 100
neighbor 150.1.5.5 remote-as 100
neighbor 150.1.5.5 update-source Loopback0

R2:
interface Tunnel0
ip ospf 1 area 0
!
interface GigabitEthernet0/1
ip ospf 1 area 0
!
interface Loopback0
ip ospf 1 area 0
!
router bgp 100
neighbor 150.1.5.5 remote-as 100
neighbor 150.1.5.5 update-source Loopback0

R3:
interface Tunnel0
ip ospf 1 area 0
!
interface GigabitEthernet0/1
ip ospf 1 area 0
!
interface GigabitEthernet0/2
ip ospf 1 area 0
!
interface Loopback0
ip ospf 1 area 0
!
ip prefix-list INJECT-PREFIXES permit 155.1.10.0/24
!
ip prefix-list R5 permit 150.1.5.5/32
!
ip prefix-list HOST8-HOST10-SUMMARY permit 155.1.8.0/22
!
route-map EXIST-MAP permit 10
match ip route-source prefix-list R5
match ip address prefix-list HOST8-HOST10-SUMMARY
!
route-map INJECT-MAP permit 10
set ip address prefix-list INJECT-PREFIXES
!
router bgp 100
bgp inject-map INJECT-MAP exist-map EXIST-MAP
neighbor 150.1.5.5 remote-as 100
neighbor 150.1.5.5 update-source Loopback0
neighbor 150.1.5.5 next-hop-self
neighbor 155.1.37.7 remote-as 200

R4:
interface Tunnel0
ip ospf 1 area 0
!
interface GigabitEthernet0/1
ip ospf 1 area 0
!
interface GigabitEthernet0/2
ip ospf 1 area 0
!
interface Loopback0
ip ospf 1 area 0
!
router bgp 100
neighbor 150.1.5.5 remote-as 100
neighbor 150.1.5.5 update-source Loopback0

R5:
interface Tunnel0
ip ospf network point-to-multipoint
ip ospf hello-interval 10
ip ospf 1 area 0
!
interface GigabitEthernet0/1
ip ospf 1 area 0
!
interface Loopback0
ip ospf 1 area 0
!
router bgp 100
network 155.1.5.0 mask 255.255.255.0
neighbor IBGP peer-group
neighbor IBGP remote-as 100
neighbor IBGP update-source Loopback0
neighbor IBGP route-reflector-client
neighbor IBGP next-hop-self
neighbor 150.1.1.1 peer-group IBGP
neighbor 150.1.2.2 peer-group IBGP
neighbor 150.1.3.3 peer-group IBGP
neighbor 150.1.4.4 peer-group IBGP
neighbor 150.1.6.6 peer-group IBGP
neighbor 155.1.58.8 remote-as 8.10

R6:
interface GigabitEthernet0/0
ip ospf 1 area 0
!
interface Loopback0
ip ospf 1 area 0
!
ip prefix-list INJECT-PREFIXES permit 155.1.8.0/24
!
ip prefix-list R5 permit 150.1.5.5/32
!
ip prefix-list HOST8-HOST10-SUMMARY permit 155.1.8.0/22
!
route-map EXIST-MAP permit 10
match ip route-source prefix-list R5
match ip address prefix-list HOST8-HOST10-SUMMARY
!
route-map INJECT-MAP permit 10
set ip address prefix-list INJECT-PREFIXES
!
router bgp 100
bgp inject-map INJECT-MAP exist-map EXIST-MAP
neighbor 150.1.5.5 remote-as 100
neighbor 150.1.5.5 update-source Loopback0
neighbor 150.1.5.5 next-hop-self
neighbor 155.1.67.7 remote-as 200

R7:
router bgp 200
network 155.1.7.0 mask 255.255.255.0
neighbor 155.1.79.9 remote-as 200
neighbor 155.1.79.9 next-hop-self
neighbor 155.1.37.3 remote-as 100
neighbor 155.1.67.6 remote-as 100

R8:
router bgp 8.10
aggregate-address 155.1.8.0 255.255.252.0 summary-only
network 155.1.8.0 mask 255.255.255.0
neighbor 155.1.58.5 remote-as 100
neighbor 155.1.108.10 remote-as 8.10
neighbor 155.1.108.10 next-hop-self

R9:
router bgp 200
network 155.1.9.0 mask 255.255.255.0
neighbor 155.1.79.7 remote-as 200

R10:
router bgp 8.10
network 155.1.10.0 mask 255.255.255.0
neighbor 155.1.108.8 remote-as 8.10

You might also like