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

Route map more than one hop away

tedauction
Level 1
Level 1

Hello, I have a route-map as below. The purpose is to direct certain traffic out towards a secondary internet exit point router e.g. 10.99.1.1.

The problem is that the next-hop of this route map (192.168.2.5) is not far away enough to get traffic to the secondary exit point i.e. the traffic needs to go via 192.168.2.5 - 192.168.2.6  - then to the internet exit router 10.99.1.1. The problem is that 192.168.2.5 has a default gateway simply pointing back tin the direction I am coming from and I have no access to 192.168.2.5 as it is an ISP WAN router. Is there a solution ?

 

route-map Facebook-gateway
match ip address 888
set default next-hop 192.168.2.5

ip access-list extended 888
permit ip 10.100.3.39 0.0.0.0 any

int vlan53
ip policy route-map Facebook-gateway

 

2 Replies 2

Francesco Molino
VIP Alumni
VIP Alumni
Hi

If i understand you want to configure your pbr with a bit connected subnet next hop? Have you tried: set ip next-hop recursive

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

As long as the router with IP 192.168.1.1 has a route to 10.100.3.39, the PBR you have should work.

So, you point the PBR to 192.168.2.5 and this IP is connected to .2.6 which will route 10.100.3.39 to the rest of the network.

HTH

Review Cisco Networking for a $25 gift card