cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
321
Views
0
Helpful
2
Replies

PRefer Tunnel Route for BGP Route

kmmehlkmmehl
Level 1
Level 1

Hello!

I got a 7500 with BGP running. I want to route packets through a Tunnel that is installed on this machine INSTEAD of sending them to the BGP destination.

i tried host routes... this works

e.g.

ip route 1.2.3.4 255.255.255.255 Tunnel1

This is not sent to bgp anymore.

How can i do this generally?

thanks

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello,

check with sh ip bgp what is the mask.

let's suppose it is 1.2.3./25

you need

ip route 1.2.3.0 255.255.255.128 tunnel1

Hope to help

Giuseppe

hi!

i did it with a route-map. because i got so many /24 in the bgp.. they override my default routes.

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco