Policy Based Routing - TechRepublic
Question
March 17, 2014 at 08:34 PM
garris_b2000

Policy Based Routing

by garris_b2000 . Updated 12 years, 2 months ago

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)

This discussion is locked

All Comments