cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
276
Views
0
Helpful
8
Replies
Highlighted
Beginner

Help with BGP

Dear All,

 

I am trying to configure BGP on the attached design( first time i am in to BGP). i have already secured ASN & dedicated IP address for this purpose.

 

I would like to do the following setup,

 

1) There is two transit 100 Mb links from the same ISP which i need to do Multi homing as Active/standby on the router .

 
2) Link connected to RTR-1 must be always the main traffic path both for Inbound/outbound. during link failure all the inbound/outbound shud flow through RTR-2 using 2nd link.

 

3) All the 1000 nos IPs should be advertised to all two circuits.

 

We have been assigned with 1000 nos IP from along with ASN number.


Could you help me on this design part & suitable BGP configuration

 

Any help will be highly Appreciated 

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Participant

Route-map to give preference

Route-map to give preference to outbound traffic, applied to Main Router:

route-map MAIN 

set local-preference 200

then, apply it to the ISP neighbor:

neighbor x.x.x.x route-map MAIN in

Route-map to give less preference to inbound traffic, applied to Backup Router:

route-map BACKUP

set metric 200

then, apply it to the ISP neighbor:

neighbor x.x.x.x route-map BACKUP out

iBGP configuration:

Backup Router:

neighbor MAIN remote-as ASN_CPEs

neighbor MAIN next-hop-self

Main Router:

neighbor BACKUP remote-as ASN_CPEs

neighbor BACKUP next-hop-self

 

 

View solution in original post

8 REPLIES 8
Highlighted
Participant

Hi,configure iBGP between RTR

Hi,

configure iBGP between RTR-1 and RTR-2 and then manipulate BGP attributes in order to make RTR-1 the main traffic path:

- Outbound traffic: apply a route-map in the inbound direction towards ISP PE, setting local preference 200.

- Inbound traffic: apply a route-map in the outbound direction towards ISP PE, setting MED to 200.

Hope this helps,

Jose.

 

Highlighted
Beginner

Hi,Thanks for the reply. Just

Hi,

Thanks for the reply.

 

Our case we have configured BGP only to these routers and rest all devices under these are operating static routes only & RTR1 & 2 are not sharing the BGP routes between them.

Just to clarify is it required to run iBGP between RTR-1 & 2?  as  Perimeter vlan default route is pointing to the HSRP ip from the firewall & RTR-1 is configured with high priority. tracking the first link other end will achieve the failover right?

.

 

 

Could you share any sample configs?

 

Thanks

 

 

 

Highlighted
Participant

Hi,It is better to configure

Hi,

It is better to configure internal BGP between the devices and, if it´s possible, a back-to-back cable between RTR-1 & 2. Otherwise, you rely on HSRP tracking which may o may not work properly. Also, the design is more robust as it will handle double failures like WAN main link- LAN backup link. 

Regarding the configs, I am sure you can find examples in Cisco website.

Best Regards,

Jose.

Highlighted
Beginner

Hi,Thanks, I have seen many

Hi,

Thanks,

 

I have seen many but if it is really appreciable if your could give me a working (already tested and working ) configurations :)

 

Thanks for your time 

Highlighted
Beginner

Dear all, Could some one help

Dear all,

 

Could some one help me with the config sample pl :)

 

Thanks in advance

Highlighted
Participant

Route-map to give preference

Route-map to give preference to outbound traffic, applied to Main Router:

route-map MAIN 

set local-preference 200

then, apply it to the ISP neighbor:

neighbor x.x.x.x route-map MAIN in

Route-map to give less preference to inbound traffic, applied to Backup Router:

route-map BACKUP

set metric 200

then, apply it to the ISP neighbor:

neighbor x.x.x.x route-map BACKUP out

iBGP configuration:

Backup Router:

neighbor MAIN remote-as ASN_CPEs

neighbor MAIN next-hop-self

Main Router:

neighbor BACKUP remote-as ASN_CPEs

neighbor BACKUP next-hop-self

 

 

View solution in original post

Highlighted
Beginner

Thanks.Will try this out &

Thanks.

 

Meanwhile we will not be configuring ibgp between routers will go with IP sla tracking . will it work with the config above? if not could you give the suitable config.. Thanks 

 

 

 

 

Highlighted
Beginner

Hi Jose jara, Meanwhile we

Hi Jose jara,

 

Meanwhile we will not be configuring ibgp between routers will go with IP sla tracking . will it work with the config above? if not could you give the suitable config.. Thanks