Question Locked

Policy Based Routing

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a server I'm trying to get to use a different route to the internet. I want all other systems to use the current route.

Is policy based routing the best solution?

ex.

Access-list 100 permit ip host X.X.X.99 any

route-map DEFAULTROUTE permit 10
match ip address 100
set ip default next-hop Y.Y.Y.2

interface vlan 900
description "Old Connection to internet"
ip address Z.Z.Z.1 255.255.255.0

interface vlan600
description "Connection to other router with default route"
ip address Y.Y.Y.1 255.255.255.0

interface vlan500
description "Where the server currently sits"
ip address X.X.X.1 255.255.255.0
ip policy route-map DEFAULTROUTE

ip address 0.0.0.0 0.0.0.0 Z.Z.Z.2 (default route on current router)

2 replies

by garris_b2000

For anyone that wants to know... I tested this successfully.... Now all I have to do is add the various host to the ACL. Once the external IP is migrated, I can remove the route map and simply change the default route to the new space...

This discussion is closed to new replies.