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

BGP Configuration for Multiple ASs

The document describes a task to configure BGP routing between multiple autonomous systems to advertise and leak routes. Key points: - Configure BGP with AS100 between routers R1-R6, AS200 between R7-R9, and AS8.10 between R8-R10 - Configure iBGP and eBGP sessions between the routers - Advertise and leak specific routes between the ASes, including route preferences and summaries, to control traffic flow

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)
19 views4 pages

BGP Configuration for Multiple ASs

The document describes a task to configure BGP routing between multiple autonomous systems to advertise and leak routes. Key points: - Configure BGP with AS100 between routers R1-R6, AS200 between R7-R9, and AS8.10 between R8-R10 - Configure iBGP and eBGP sessions between the routers - Advertise and leak specific routes between the ASes, including route preferences and summaries, to control traffic flow

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

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.
Configure AS 8.10 to advertise a summary route for the Host8 and Host10 segments to
AS 100.
Configure AS 200 to advertise a single summary of the Host7 & Host9 segments and
the Loopback0 addresses of R7 & R9 to AS 100; this summary should be as specific as
possible, but still include all four of these prefixes.
Configure route leaking from AS 200 to AS 100 to accomplish the following:
Traffic to the Loopback0 addresses of R7 & R9 should prefer to forward through R6.
Traffic to the Host7 and Host9 segments should prefer to forward through R3.
If either R3 or R6 is down, reachability should be maintained.
Routers outside of AS 100 should not see these specific routes, only the summary.
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 [Link] remote-as 100
neighbor [Link] 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 [Link] remote-as 100
neighbor [Link] 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
!
router bgp 100
neighbor [Link] remote-as 100
neighbor [Link] update-source Loopback0
neighbor [Link] next-hop-self
neighbor [Link] send-community both
neighbor [Link] 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 [Link] remote-as 100
neighbor [Link] 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 [Link] mask [Link]
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 IBGP send-community both
neighbor [Link] peer-group IBGP
neighbor [Link] peer-group IBGP
neighbor [Link] peer-group IBGP
neighbor [Link] peer-group IBGP
neighbor [Link] peer-group IBGP
neighbor [Link] remote-as 8.10
R6:
interface GigabitEthernet0/0
ip ospf 1 area 0
!
interface Loopback0
ip ospf 1 area 0
!
router bgp 100
neighbor [Link] remote-as 100
neighbor [Link] update-source Loopback0
neighbor [Link] next-hop-self
neighbor [Link] send-community both
neighbor [Link] remote-as 200

R7:
ip prefix-list R7-R9-LOOPBACKS permit [Link]/32
ip prefix-list R7-R9-LOOPBACKS permit [Link]/32
!
ip prefix-list HOST7-HOST9-NETWORKS permit [Link]/24
ip prefix-list HOST7-HOST9-NETWORKS permit [Link]/24
!
route-map UNSUPPRESS-R7-R9-LOOPBACKS permit 10
match ip address prefix-list R7-R9-LOOPBACKS
set community no-export
!
route-map UNSUPPRESS-HOST7-HOST9-NETWORKS permit 10
match ip address prefix-list HOST7-HOST9-NETWORKS
set community no-export
!
router bgp 200
aggregate-address [Link] [Link] summary-only
network [Link] mask [Link]
network [Link] mask [Link]
neighbor [Link] remote-as 200
neighbor [Link] next-hop-self
neighbor [Link] remote-as 100
neighbor [Link] send-community both
neighbor [Link] unsuppress-map UNSUPPRESS-HOST7-HOST9-NETWORKS
neighbor [Link] remote-as 100
neighbor [Link] send-community both
neighbor [Link] unsuppress-map UNSUPPRESS-R7-R9-LOOPBACKS

R8:
router bgp 8.10
distance bgp 20 200 255
aggregate-address [Link] [Link] summary-only
network [Link] mask [Link]
neighbor [Link] remote-as 8.10
neighbor [Link] next-hop-self
neighbor [Link] remote-as 100

R9:
router bgp 200
network [Link] mask [Link]
network [Link] mask [Link]
neighbor [Link] remote-as 200

R10:
router bgp 8.10
network [Link] mask [Link]
neighbor [Link] remote-as 8.10

You might also like