Professional Documents
Culture Documents
ISP/IXP Workshops
12.6.126.0/24
12.6.126.0/24 207.126.96.43
207.126.96.43 1021
1021 006461
64617018
70186337
633711268
11268i i
AS Path
ISP/IXP Workshops © 2001, Cisco Systems, Inc. www.cisco.com 4
Path Vector Protocol
AS11268
AS6337
AS7018
AS500
AS6461
AS600
provider A
IXP-East
IXP- Backbone
West Provider D
provider B
provider C
AS 100
A
A C
DMZ
AS 100 Network AS 101
B D
AS 102
Peering
A C
AS 100 AS 101
B D
E
BGP speakers are
called peers
AS 102
best paths
BGP out
out
process
AS 100 AS 101
C
Router C in AS101
interface ethernet 1/0/0
ip address 222.222.10.1 255.255.255.240
router bgp 101
network 220.220.16.0 mask 255.255.240.0
neighbor 222.222.10.2 remote-as 100
neighbor 222.222.10.2 prefix-list RouterA in
neighbor 222.222.10.2 prefix-list RouterA out
ISP/IXP Workshops © 2001, Cisco Systems, Inc. www.cisco.com 16
Internal BGP (iBGP)
AS 100
D
A
B
E
• Topology independent
• Each iBGP speaker must peer with
every other iBGP speaker in the AS
AS 100
Router B
interface loopback 0
ip address 215.10.7.2 255.255.255.255
router bgp 100
network 220.220.5.0
neighbor 215.10.7.1 remote-as 100
neighbor 215.10.7.1 update-source loopback0
neighbor 215.10.7.3 remote-as 100
neighbor 215.10.7.3 update-source loopback0
ISP/IXP Workshops © 2001, Cisco Systems, Inc. www.cisco.com 21
Inserting prefixes into BGP
• Configuration Example
router bgp 109
network 198.10.4.0 mask 255.255.254.0
ip route 198.10.4.0 255.255.254.0 serial0
• Configuration Example:
router bgp 109
redistribute static
ip route 198.10.0.0 255.255.0.0 null0 250
• Configuration Example
router bgp 109
network 198.10.0.0 mask 255.255.0.0
ip route 198.10.0.0 255.255.0.0 null0 250
• Configuration Example
router bgp 109
network 198.10.4.0 mask 255.255.252.0
aggregate-address 198.10.0.0 255.255.0.0 [ summary-only ]