PRefer Tunnel Route for BGP Route

Unanswered Question
Aug 21st, 2008
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Fri, 08/22/2008 - 00:25
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

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

kmmehlkmmehl Fri, 08/22/2008 - 00:36
User Badges:

hi!



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


Actions

This Discussion