Bgp policy

Answered Question
Feb 6th, 2007

Any one can help to resolve my confusion in bgp ..we have purchase AS number from APNIC . what kind of policy both outgoing and incoming that I have to in my BGP . I do have 2 ISP CONNECTIVITY. Is there any seperate configuration is needed?

thank u in advance

I have this problem too.
0 votes
Correct Answer by royalblues about 9 years 7 months ago

Sample configuration attached

router bgp

network

neighbor remote-as

neighbor ebgp-multihop 4

neighbor remove-private-AS

neighbor route-map ISP1-acceptroutes in

neighbor route-map ISP1-local-routes out

neighbor remote-as 17495

neighbor description "Reliance BGP Peer"

neighbor ebgp-multihop 2

neighbor remove-private-AS

neighbor route-map ISP2-acceptroutes in

neighbor route-map ISP2-local-routes out

ip route

access-list 1 permit

access-list 3 permit 0.0.0.0

route-map ISP1-acceptroutes permit 10

match ip address 3

set local-preference 300

!

route-map ISP2-acceptroutes permit 20

match ip address 3

set local-preference 100

!

route-map ISP1-local-routes permit 10

match ip address 1

!

route-map ISP2-local-routes permit 10

match ip address 1

HTh, rate if it does

Narayan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
John Patrick Lopez Tue, 02/06/2007 - 01:50

Where are you going to terminate both ISP? Is it a seperate router or the same?

For simplicity, just ask your ISP to advertise default routes to your router. Of course you need to create an eBGP peer to your ISP. Then create an iBGP from your internet router to one of your internal router. Advertise the default route to your iBGP peer router by using default-information-originate under BGP configuration.

Redistribute BGP into IGP into your internal router.

Correct Answer
royalblues Tue, 02/06/2007 - 08:13

Sample configuration attached

router bgp

network

neighbor remote-as

neighbor ebgp-multihop 4

neighbor remove-private-AS

neighbor route-map ISP1-acceptroutes in

neighbor route-map ISP1-local-routes out

neighbor remote-as 17495

neighbor description "Reliance BGP Peer"

neighbor ebgp-multihop 2

neighbor remove-private-AS

neighbor route-map ISP2-acceptroutes in

neighbor route-map ISP2-local-routes out

ip route

access-list 1 permit

access-list 3 permit 0.0.0.0

route-map ISP1-acceptroutes permit 10

match ip address 3

set local-preference 300

!

route-map ISP2-acceptroutes permit 20

match ip address 3

set local-preference 100

!

route-map ISP1-local-routes permit 10

match ip address 1

!

route-map ISP2-local-routes permit 10

match ip address 1

HTh, rate if it does

Narayan

Actions

This Discussion