cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
332
Views
0
Helpful
1
Replies

Conditional Default routes with BGP

alalli
Level 2
Level 2

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

pkhatri
Level 11
Level 11

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.,

View solution in original post

1 Reply 1

pkhatri
Level 11
Level 11

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.,

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card