Top Banner
1 © 2003, Cisco Systems, Inc. All rights reserved. Cisco ISP Workshops BGP and the Internet Transit and Internet Exchange Points
57

BGP and the Internet - Internet Society (ISOC) Workshop

Feb 04, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: BGP and the Internet - Internet Society (ISOC) Workshop

1© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

BGP and the InternetTransit and Internet Exchange Points

Page 2: BGP and the Internet - Internet Society (ISOC) Workshop

222© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Definitions

• Transit – carrying traffic across a network, usually for a fee

traffic and prefixes originating from one AS are carried across an intermediate AS to reach their destination AS

• Exchange Points – common interconnect location where several ASes exchange routing information and traffic

Page 3: BGP and the Internet - Internet Society (ISOC) Workshop

333© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit Issues

• Only announce default to your BGP customers unless they need more prefixes

• Only accept the prefixes which your customer is entitled to originate

• If your customer hasn’t told you he is providing transit, don’t accept anything else

Page 4: BGP and the Internet - Internet Society (ISOC) Workshop

444© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit Issues

Many mistakes are made on the Internet Many mistakes are made on the Internet today due to incomplete understanding of today due to incomplete understanding of

how to configure BGP for transithow to configure BGP for transit

Page 5: BGP and the Internet - Internet Society (ISOC) Workshop

5© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit ProviderSimple Example

Page 6: BGP and the Internet - Internet Society (ISOC) Workshop

666© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• AS130 and AS100 are stub/customer ASes of AS120

they may have their own peerings with other ASes

minimal routing table desired

minimum complexity required

Page 7: BGP and the Internet - Internet Society (ISOC) Workshop

777© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

AS 120 AS 130

• AS120 is transit provider between AS130 and AS100

BB AA

DD

CC

AS 100

Page 8: BGP and the Internet - Internet Society (ISOC) Workshop

888© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router A Configurationrouter bgp 130

network 221.10.0.0 mask 255.255.224.0

neighbor 222.222.10.2 remote-as 120

neighbor 222.222.10.2 prefix-list upstream out

neighbor 222.222.10.2 prefix-list default in

!

ip prefix-list default permit 0.0.0.0/0

ip prefix-list upstream permit 221.10.0.0/19

!

ip route 221.10.0.0 255.255.224.0 null0

Page 9: BGP and the Internet - Internet Society (ISOC) Workshop

999© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router B Configurationrouter bgp 120

neighbor 222.222.10.1 remote-as 130

neighbor 222.222.10.1 default-originate

neighbor 222.222.10.1 prefix-list Customer130 in

neighbor 222.222.10.1 prefix-list default out

!

ip prefix-list Customer130 permit 221.10.0.0/19

ip prefix-list default permit 0.0.0.0/0

• Router B announces default to Router A, only accepts customer /19

Page 10: BGP and the Internet - Internet Society (ISOC) Workshop

101010© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router C Configurationrouter bgp 120

neighbor 222.222.20.1 remote-as 100

neighbor 222.222.20.1 default-originate

neighbor 222.222.20.1 prefix-list Customer100 in

neighbor 222.222.20.1 prefix-list default out

!

ip prefix-list Customer100 permit 219.0.0.0/19

ip prefix-list default permit 0.0.0.0/0

• Router C announces default to Router D, only accepts customer /19

Page 11: BGP and the Internet - Internet Society (ISOC) Workshop

111111© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router D Configurationrouter bgp 100

network 219.0.0.0 mask 255.255.224.0

neighbor 222.222.20.2 remote-as 120

neighbor 222.222.20.2 prefix-list upstream out

neighbor 222.222.20.2 prefix-list default in

!

ip prefix-list default permit 0.0.0.0/0

ip prefix-list upstream permit 219.0.0.0/19

!

ip route 219.0.0.0 255.255.224.0 null0

Page 12: BGP and the Internet - Internet Society (ISOC) Workshop

121212© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• This is simple case:if AS130 or AS100 get another address block, it requires AS120 and their own filters to be changed

some ISP transit provider are better skilled at doing this than others!

May not scale if they are frequently adding new prefixes

Page 13: BGP and the Internet - Internet Society (ISOC) Workshop

13© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit ProviderMore complex Example 1

Page 14: BGP and the Internet - Internet Society (ISOC) Workshop

141414© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• AS130 and AS100 are stub/customer ASes of AS120

AS120 provides transit between AS130 and AS100 only

AS120 does not provide Internet connectivity to AS130

Page 15: BGP and the Internet - Internet Society (ISOC) Workshop

151515© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

AS 120 AS 130

• AS120 is transit provider between AS130 and AS100

BB AA

DD

CC

AS 100

Page 16: BGP and the Internet - Internet Society (ISOC) Workshop

161616© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router A Configurationrouter bgp 130

network 221.10.0.0 mask 255.255.224.0

neighbor 222.222.10.2 remote-as 120

neighbor 222.222.10.2 prefix-list upstream out

neighbor 222.222.10.2 prefix-list rfc1918-dsua in

!

ip prefix-list upstream permit 221.10.0.0/19

!

ip route 221.10.0.0 255.255.224.0 null0

Page 17: BGP and the Internet - Internet Society (ISOC) Workshop

171717© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router B Configurationrouter bgp 120

neighbor 222.222.10.1 remote-as 130

neighbor 222.222.10.1 prefix-list Customer130 in

neighbor 222.222.10.1 prefix-list rfc1918-sua out

neighbor 222.222.10.1 filter-list 15 out

!

ip as-path access-list 15 permit ^$

ip as-path access-list 15 permit ^100$

ip prefix-list Customer130 permit 221.10.0.0/19

• Router B announces AS120 and AS100 prefixes to Router A, only accepts customer /19

Page 18: BGP and the Internet - Internet Society (ISOC) Workshop

181818© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router C Configurationrouter bgp 120

neighbor 222.222.20.1 remote-as 100

neighbor 222.222.20.1 default-originate

neighbor 222.222.20.1 prefix-list Customer100 in

neighbor 222.222.20.1 prefix-list default out

!

ip prefix-list Customer100 permit 219.0.0.0/19

ip prefix-list default permit 0.0.0.0/0

• Router C announces default to Router D, only accepts customer /19

Page 19: BGP and the Internet - Internet Society (ISOC) Workshop

191919© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router D Configurationrouter bgp 100

network 219.0.0.0 mask 255.255.224.0

neighbor 222.222.20.2 remote-as 120

neighbor 222.222.20.2 prefix-list upstream out

neighbor 222.222.20.2 prefix-list default in

!

ip prefix-list default permit 0.0.0.0/0

ip prefix-list upstream permit 219.0.0.0/19

!

ip route 219.0.0.0 255.255.224.0 null0

Page 20: BGP and the Internet - Internet Society (ISOC) Workshop

202020© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• AS130 only hears AS120 and AS100 prefixes

inbound AS path filter on Router A is optional, but good practice (never trust a peer)

inbound Martian prefix-list filters are mandatory on all Internet peerings

Page 21: BGP and the Internet - Internet Society (ISOC) Workshop

21© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit ProviderMore complex Example 2

Page 22: BGP and the Internet - Internet Society (ISOC) Workshop

222222© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• AS130 and AS100 are stub/customer ASes of AS120

AS130 has many customers with their own ASes

AS105 doesn’t get announced to AS120

AS120 provides transit between AS130 and AS100

Page 23: BGP and the Internet - Internet Society (ISOC) Workshop

232323© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

AS 120 AS 130

• AS130 has several customer ASes connecting to its backbone

BB AA

DD

CC

AS 100

AS 101AS 102

AS 103

AS 104

AS 105

Page 24: BGP and the Internet - Internet Society (ISOC) Workshop

242424© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router A Configurationrouter bgp 130

network 221.10.0.0 mask 255.255.224.0

neighbor 222.222.10.2 remote-as 120

neighbor 222.222.10.2 prefix-list upstream-out out

neighbor 222.222.10.2 filter-list 5 out

neighbor 222.222.10.2 prefix-list upstream-in in

!

ip route 221.10.0.0 255.255.224.0 null0 250

!

..next slide

Page 25: BGP and the Internet - Internet Society (ISOC) Workshop

252525© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

!

! As-path filters..

ip as-path access-list 5 permit ^$

ip as-path access-list 5 permit ^(101_)+$

ip as-path access-list 5 permit ^102$

ip as-path access-list 5 permit ^103$

ip as-path access-list 5 permit ^104$

ip as-path access-list 5 deny ^105_

!

..next slide

Page 26: BGP and the Internet - Internet Society (ISOC) Workshop

262626© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

! Outbound Martian prefixes to be blocked to eBGP peers

ip prefix-list upstream-out deny 0.0.0.0/8 le 32ip prefix-list upstream-out deny 10.0.0.0/8 le 32ip prefix-list upstream-out deny 127.0.0.0/8 le 32

ip prefix-list upstream-out deny 169.254.0.0/16 le 32ip prefix-list upstream-out deny 172.16.0.0/12 le 32ip prefix-list upstream-out deny 192.0.2.0/24 le 32

ip prefix-list upstream-out deny 192.168.0.0/16 le 32ip prefix-list upstream-out deny 224.0.0.0/3 le 32ip prefix-list upstream-out deny 0.0.0.0/0 ge 25

! Extra prefixesip prefix-list upstream-out deny 221.10.0.0/19 ge 20ip prefix-list upstream-out permit 0.0.0.0/0 le 32

..next slide

Page 27: BGP and the Internet - Internet Society (ISOC) Workshop

272727© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

! Inbound Martian prefixes to be blocked from eBGP peersip prefix-list upstream-in deny 0.0.0.0/8 le 32ip prefix-list upstream-in deny 10.0.0.0/8 le 32

ip prefix-list upstream-in deny 127.0.0.0/8 le 32ip prefix-list upstream-in deny 169.254.0.0/16 le 32ip prefix-list upstream-in deny 172.16.0.0/12 le 32

ip prefix-list upstream-in deny 192.0.2.0/24 le 32ip prefix-list upstream-in deny 192.168.0.0/16 le 32ip prefix-list upstream-in deny 224.0.0.0/3 le 32

ip prefix-list upstream-in deny 0.0.0.0/0 ge 25! Extra prefixesip prefix-list upstream-in deny 221.10.0.0/19 le 32

ip prefix-list upstream-in permit 0.0.0.0/0 le 32!

Page 28: BGP and the Internet - Internet Society (ISOC) Workshop

282828© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router B Configurationrouter bgp 120

neighbor 222.222.10.1 remote-as 130

neighbor 222.222.10.1 prefix-list rfc1918-sua in

neighbor 222.222.10.1 prefix-list rfc1918-sua out

neighbor 222.222.10.1 filter-list 10 in

neighbor 222.222.10.1 filter-list 15 out

!

ip as-path access-list 15 permit ^$

ip as-path access-list 15 permit ^100$

Router B announces AS120 and AS100 prefixes to Router A, and accepts all AS130 customer ASes

Page 29: BGP and the Internet - Internet Society (ISOC) Workshop

292929© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router C Configurationrouter bgp 120

neighbor 222.222.20.1 remote-as 100

neighbor 222.222.20.1 default-originate

neighbor 222.222.20.1 prefix-list Customer100 in

neighbor 222.222.20.1 prefix-list default out

!

ip prefix-list Customer100 permit 219.0.0.0/19

ip prefix-list default permit 0.0.0.0/0

• Router C announces default to Router D, only accepts customer /19

Page 30: BGP and the Internet - Internet Society (ISOC) Workshop

303030© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router D Configurationrouter bgp 100

network 219.0.0.0 mask 255.255.224.0

neighbor 222.222.20.2 remote-as 120

neighbor 222.222.20.2 prefix-list upstream out

neighbor 222.222.20.2 prefix-list default in

!

ip prefix-list default permit 0.0.0.0/0

ip prefix-list upstream permit 219.0.0.0/19

!

ip route 219.0.0.0 255.255.224.0 null0

Page 31: BGP and the Internet - Internet Society (ISOC) Workshop

313131© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• AS130 only hears AS120 and AS100 prefixes

inbound AS path filter on Router A is optional, but good practice (never trust a peer)

Special Use Address prefix-list filters are required on all Internet peerings

Page 32: BGP and the Internet - Internet Society (ISOC) Workshop

32© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit ProviderMore complex Example 3

Page 33: BGP and the Internet - Internet Society (ISOC) Workshop

333333© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• AS130 and AS100 are stub/customer ASes of AS120

AS130 has many customers with their own ASes

AS105 doesn’t get announced to AS120

AS120 provides transit between AS130 and AS100

• Same example as previously but using communities

Page 34: BGP and the Internet - Internet Society (ISOC) Workshop

343434© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

AS 120AS 130

• AS130 has several customer ASes connecting to its backbone

BB AA

DD

CC

AS 100

AS 101AS 102

AS 103

AS 104

AS 105

EE

Page 35: BGP and the Internet - Internet Society (ISOC) Workshop

353535© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router A configuration is greatly simplified

all prefixes to be announced to upstream are marked with community 130:5100

route-map on outbound peering implements community policy

Martian prefix-lists still required

Page 36: BGP and the Internet - Internet Society (ISOC) Workshop

363636© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router A Configurationrouter bgp 130

network 221.10.0.0 mask 255.255.224.0 route-map setcomm

neighbor 222.222.10.2 remote-as 120

neighbor 222.222.10.2 prefix-list upstream-out out

neighbor 222.222.10.2 route-map to-AS120 out

neighbor 222.222.10.2 prefix-list upstream-in in

!

ip route 221.10.0.0 255.255.224.0 null0 250

!

..next slide

Page 37: BGP and the Internet - Internet Society (ISOC) Workshop

373737© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

!

ip community-list 5 permit 130:5100

!

! Set community on local prefixes

route-map setcomm permit 10

set community 130:5100

!

route-map to-AS120 permit 10

match community 5

!

• upstream-in and upstream-out prefix-lists are the same as in the previous example

Page 38: BGP and the Internet - Internet Society (ISOC) Workshop

383838© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• Router E Configurationrouter bgp 130neighbor x.x.x.x remote-as 101neighbor x.x.x.x default-originateneighbor x.x.x.x prefix-list customer101 inneighbor x.x.x.x route-map bgp-cust-in inneighbor x.x.x.x prefix-list default outneighbor x.x.x.x remote-as 102neighbor x.x.x.x default-originateneighbor x.x.x.x prefix-list customer102 inneighbor x.x.x.x route-map bgp-cust-in inneighbor x.x.x.x prefix-list default out

..next slide

Page 39: BGP and the Internet - Internet Society (ISOC) Workshop

393939© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

neighbor s.s.s.s remote-as 105

neighbor s.s.s.s default-originateneighbor s.s.s.s prefix-list customer105 inneighbor s.s.s.s route-map no-transit inneighbor s.s.s.s prefix-list default out

!

! Set community on eBGP customers announced to AS120

route-map bgp-cust-in permit 10

set community 130:5100

route-map no-transit permit 10

set community 130:5199

Notice that AS105 peering has no route-map to set the community policy

Page 40: BGP and the Internet - Internet Society (ISOC) Workshop

404040© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

ISP Transit

• AS130 only announces the community 130:5100 to AS120

• Notice how Router E tags the prefixes to be announced to AS120 with community 130:5100

• More efficient to manage than using filter lists

Page 41: BGP and the Internet - Internet Society (ISOC) Workshop

41© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange PointsSimple Example

Page 42: BGP and the Internet - Internet Society (ISOC) Workshop

424242© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point Example

• Exchange point with 6 ASes present

Layer 2 – ethernet switch

• Each ISP peers with the other

NO transit across the IXP allowed

Page 43: BGP and the Internet - Internet Society (ISOC) Workshop

434343© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

AS110

AS100

AS130

AS150

AS120

AS140

each of these represents a border router in a different autonomous system

AA

BB

C C

FF

EE

DD

Page 44: BGP and the Internet - Internet Society (ISOC) Workshop

444444© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange PointRouter A configuration

interface fastethernet 0/0

description Exchange Point LAN

ip address 220.5.10.2 mask 255.255.255.224

ip verify unicast reverse-path

no ip directed-broadcast

no ip proxy-arp

no ip redirects

!

router bgp 100

network 221.10.0.0 mask 255.255.224.0

neighbor ixp-peers peer-group

neighbor ixp-peers soft-reconfiguration in

neighbor ixp-peers prefix-list myprefixes out

..next slide

Page 45: BGP and the Internet - Internet Society (ISOC) Workshop

454545© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

neighbor 220.5.10.2 remote-as 110

neighbor 222.5.10.2 peer-group ixp-peersneighbor 222.5.10.2 prefix-list peer110 in

neighbor 220.5.10.3 remote-as 120

neighbor 222.5.10.3 peer-group ixp-peersneighbor 222.5.10.3 prefix-list peer120 in

neighbor 220.5.10.4 remote-as 130

neighbor 222.5.10.4 peer-group ixp-peersneighbor 222.5.10.4 prefix-list peer130 in

neighbor 220.5.10.5 remote-as 140

neighbor 222.5.10.5 peer-group ixp-peersneighbor 222.5.10.5 prefix-list peer140 in

neighbor 220.5.10.6 remote-as 150

neighbor 222.5.10.6 peer-group ixp-peersneighbor 222.5.10.6 prefix-list peer150 in

Page 46: BGP and the Internet - Internet Society (ISOC) Workshop

464646© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

!

ip route 221.10.0.0 255.255.224.0 null0

!

ip prefix-list myprefixes permit 221.10.0.0/19

ip prefix-list peer110 permit 222.0.0.0/19

ip prefix-list peer120 permit 222.30.0.0/19

ip prefix-list peer130 permit 222.12.0.0/19

ip prefix-list peer140 permit 222.18.128.0/19

ip prefix-list peer150 permit 222.1.32.0/19

!

Page 47: BGP and the Internet - Internet Society (ISOC) Workshop

474747© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

• Configuration of the other routers in the AS is similar in concept

• Notice inbound and outbound prefix filters

outbound announces myprefixes only

inbound accepts peer prefixes only

Page 48: BGP and the Internet - Internet Society (ISOC) Workshop

484848© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

• Ethernet port configurationuse ip verify unicast reverse-path

helps prevent “stealing of bandwidth”

• IXP border router must NOT carry prefixes with origin outside local AS and IXP participant ASes

helps prevent “stealing of bandwidth”

Page 49: BGP and the Internet - Internet Society (ISOC) Workshop

494949© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

• Issues:AS100 needs to know all the prefixes its peers are announcing

New prefixes requires the prefix-lists to be updated

• Alternative solutionsUse the Internet Routing Registry to build prefix list

Use AS Path filters (could be risky)

Page 50: BGP and the Internet - Internet Society (ISOC) Workshop

50© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange PointsMore Complex Example

Page 51: BGP and the Internet - Internet Society (ISOC) Workshop

515151© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point Example

• Exchange point with 6 ASes present

Layer 2 – ethernet switch

• Each ISP peers with the other

NO transit across the IXP allowed

ISPs at exchange points provide transit to their customers

Page 52: BGP and the Internet - Internet Society (ISOC) Workshop

525252© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

AS110

AS100

AS130

AS150

AS120

AS140

each of these represents a border router in a different autonomous system

AA

BB

C C

FF

EE

DD

AS200

AS201

Page 53: BGP and the Internet - Internet Society (ISOC) Workshop

535353© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange PointRouter A configuration

interface fastethernet 0/0

description Exchange Point LANip address 220.5.10.2 mask 255.255.255.224

ip verify unicast reverse-path

no ip directed-broadcastno ip proxy-arp

no ip redirects

!router bgp 100

network 221.10.0.0 mask 255.255.224.0

neighbor ixp-peers peer-groupneighbor ixp-peers soft-reconfiguration in

neighbor ixp-peers prefix-list rfc1918-sua out

neighbor ixp-peers filter-list 10 out..next slide

Page 54: BGP and the Internet - Internet Society (ISOC) Workshop

545454© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

neighbor 220.5.10.2 remote-as 110

neighbor 222.5.10.2 peer-group ixp-peersneighbor 222.5.10.2 prefix-list peer110 in

neighbor 220.5.10.3 remote-as 120

neighbor 222.5.10.3 peer-group ixp-peersneighbor 222.5.10.3 prefix-list peer120 in

neighbor 220.5.10.4 remote-as 130

neighbor 222.5.10.4 peer-group ixp-peersneighbor 222.5.10.4 prefix-list peer130 in

neighbor 220.5.10.5 remote-as 140

neighbor 222.5.10.5 peer-group ixp-peersneighbor 222.5.10.5 prefix-list peer140 in

neighbor 220.5.10.6 remote-as 150

neighbor 222.5.10.6 peer-group ixp-peersneighbor 222.5.10.6 prefix-list peer150 in

Page 55: BGP and the Internet - Internet Society (ISOC) Workshop

555555© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

!

ip route 221.10.0.0 255.255.224.0 null0

!

ip as-path access-list 10 permit ^$

ip as-path access-list 10 permit ^200$

ip as-path access-list 10 permit ^201$

!

ip prefix-list myprefixes permit 221.10.0.0/19

ip prefix-list peer110 permit 222.0.0.0/19

ip prefix-list peer120 permit 222.30.0.0/19

ip prefix-list peer130 permit 222.12.0.0/19

ip prefix-list peer140 permit 222.18.128.0/19

ip prefix-list peer150 permit 222.1.32.0/19

!

Page 56: BGP and the Internet - Internet Society (ISOC) Workshop

565656© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

Exchange Point

• Notice the change in router A’s configuration

filter-list instead of prefix-list permits local and customer ASes out to exchange

prefix-list blocks Special Use Address prefixes – rest get out, could be risky

• Other issues as previously

Page 57: BGP and the Internet - Internet Society (ISOC) Workshop

57© 2003, Cisco Systems, Inc. All rights reserved.Cisco ISP Workshops

BGP and the InternetTransit and Internet Exchange Points