[c-nsp] ip local policy (PBR routing question)
Oliver Boehmer (oboehmer)
oboehmer at cisco.com
Thu Aug 11 01:46:34 EDT 2011
Scott,
> PBR sounded like a fit here and local PBR specifically seemed to be the tool
> to use so I can route the voice from with in the IAD appropriately. So I
> created the following.
>
> route-map voice-control permit 10
> match ip addr VOIP-Control-ACL
> set ip default next-hop 209.x.x.33 (the far end of the attached /30 bound to
> the T1)
>
> route-map voice-control permit 20
> match ip address VOIP-RTSP-acl
> set ip default next-hop 209.x.x.33 (again the far end of the T1)
>
> route-map voice-control permit 30
> set default interface fast 0/1 ;sets the default to match the default
> statement in the routing table
>
> Then in global
>
> ip local policy route-map voice-control
>
> Here’s my question. I have some other static routes which I want to behave
> normally. These are for the GRE tunnels to come up and some internal blocks
> routed over the tunnel. (rfc1918 space) Won’t the last line of the route
> map take priority and disrupt the normal behavior or am I wrong here? Can I
> remove that line and the behavior will remain normal for routes not listed
> in the ACL / match set [...]
yes, you should be able to just remove the permit 30 route-map instance. All packets not matched by PBR route-maps are routed via the normal routing table.
oli
More information about the cisco-nsp
mailing list