Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Conditional Default routes with BGP

Hi All,

Is it possible with BGP to have different default-routes based on either communities or route-tagging?

For example:

network 1: 192.168.1.0 and

network2: 192.168.2.0

Is it possible for traffic originating from 192.168.2.0 to have a different default-route than 192.168.1.0?

thanks very much

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: Conditional Default routes with BGP

Hi,

If you want to route traffic based on source addresses, you really need to use policy-based routing. BGP does not support this by itself. Remember that BGP only populates the routing table. The actual routing is done based on the contents of the routing table, which typically performs destination-based routing, unless PBR is in effect.

HTH,

Paresh.,

1 REPLY
Purple

Re: Conditional Default routes with BGP

Hi,

If you want to route traffic based on source addresses, you really need to use policy-based routing. BGP does not support this by itself. Remember that BGP only populates the routing table. The actual routing is done based on the contents of the routing table, which typically performs destination-based routing, unless PBR is in effect.

HTH,

Paresh.,

158
Views
0
Helpful
1
Replies