RE: policy routing

From: Desyatnik, Yan (Yan.Desyatnik@xxxxxxx)
Date: Wed Jan 17 2001 - 16:37:46 GMT-3


   

Steve,
        You cannot policy route based on destination only based on source.
To manipulate traffic based on destination use static, metrics, tunnels.

Yan.

                -----Original Message-----
                From: Steve Clubb [mailto:sclubb@cattech.com]
                Sent: Wednesday, January 17, 2001 2:04 PM
                To: 'ccielab@groupstudy.com'
                Subject: policy routing

                Hey people -
                
                I have a situation where I want to forward traffic going to
a certain subnet
                out an interface or to a next-hop IP. All other traffic to
take the default
                route configured on the router. I can't use a static route.
I tried this
                but it's not working. Any ideas?
                
                ip local policy route-map policy
                ip classless
                ip route 0.0.0.0 0.0.0.0 64.168.75.12
                !
                access-list 1 permit 137.20.0.0 0.0.255.255
                access-list 2 permit any
                !
                !
                !
                route-map policy permit 10
                 match ip address 1
                 set ip default next-hop 137.20.29.2
                !
                route-map policy permit 20
                 match ip address 2
                
                Thanks,
                
                Steve
                
                

                

                

                
                



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:27:33 GMT-3