cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7038
Views
0
Helpful
16
Replies

BGP with two links to one ISP

smailmilak
Level 4
Level 4

Hello guys,

we have two STM16 links to one ISP. The plan is to move from the Alcatel to the new Cisco router.

There are two static routes to the BGP neighbor with one BGP session. I am not sure how we should proceed on

the Cisco router. I have never seen a BGP setup with two static routes on any Cisco BGP implementation.

Should we use two static routes to one BGP neighbor or two BGP sessions to two BGP neighbors (different IP addresses)?

Is it better in this case to have a peering with the directly connected IP address or a loopback on the ISP side?

16 Replies 16

In this case the AS path prepend will not work, because we have iBGP peering (you and ISP use the same AS number). You could use MED (if your ISP looks at it of course) or conditional route advertising with BGP.

HTH.

Arber.

Hi Arber ,

I think I confused you guys , same as means both links are terminated on same AS no on ISP side .But ISP

as and customer AS numbers are diffrent .

I tryied below link config where i used static routes beween ISP and customer with highet AD value to

achive redundancy .please let me know if this will work here in practical env also as I checked this on GNS

.

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml#co

nf2

my cust BGP config which has to be shifted on one ISP -

------------

router bgp 99

bgp log-neighbor-changes

neighbor 119.26.12.7 remote-as 95

neighbor 119.26.12.3 description *** eBGP peering with SIFY ***

neighbor 119.26.12.3 version 4

neighbor 119.26.12.3 timers 10 30

neighbor 125.2.6.85 remote-as 94

neighbor 125.2.6.85 description ***BGP Peering with Bharti***

neighbor 125.2.6.85 version 4

neighbor 125.2.6.85 timers 10 30

!

address-family ipv4

  neighbor 119.26.162.3 activate

  neighbor 119.26.162.3 soft-reconfiguration inbound

  neighbor 119.26.162.3 prefix-list incoming in

  neighbor 119.26.162.3 route-map Sifynet out

  neighbor 125.22.36.8 activate

  neighbor 125.22.36.8 weight 65000

  neighbor 125.22.36.8 soft-reconfiguration inbound

  neighbor 125.22.36.8 prefix-list incoming in

  neighbor 125.22.36.8 route-map Bharti out

  no auto-summary

  no synchronization

  network 202.2.116.0 mask 255.255.254.0

  network 202.2.116.0

  network 202.2.117.0

exit-address-family

# pls dont trust on Ips here , i changed it .

Thanks

----------------------