Thursday, March 31, 2011

Cisco Router BGP Configuration Example

You will need to use BGP to connect to most MPLS carriers or if you have two Internet providers and want to multi-home.

(Note: private ASN range is 64512 to 65534)

In this example eBGP is configured to the provider (192.168.3.2), eigrp is redistributed into BGP, and iBGP is configured between to 2 customer routers (10.4.32.241 and .242).

router bgp 65511
no synchronization
bgp router-id 10.4.32.241 (loopback0)
bgp log-neighbor-changes
network 0.0.0.0 (propagate default route)
network 192.168.3.0 mask 255.255.255.252 (advertise customer to provider network)
redistribute eigrp 100 (redistribute eigrp into BGP)
neighbor 10.4.32.242 remote-as 65511
neighbor 10.4.32.242 update-source Loopback0
neighbor 10.4.32.242 next-hop-self
neighbor 192.168.3.2 remote-as 65401
no auto-summary

No comments:

Post a Comment