Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

about route map

I am a beginner in cisco IOS command,, so please excuse the basic question. I am working with a Cisco 2620 w/ith IOS 12.2.

I would like to route all packets comming from to yyy.yyy.127.137.

Is the configuration below ok? or shoul I define a satic route like "ip route yyy.yyy.127.137"?

thank you to give some advice


access-list 1 permit


route-map equal-access permit 10

match ip address 1

set ip default next-hop yyy.yyy.127.137



Re: about route map

Looks good. Just make sure you apply this to the interface that will be coming in from.

Hope this helps,



Re: about route map

If you code the 'ip route' statement, it will send all traffic destined for a particular network to the next hop indicated, regardless of the source address.

If you want to route traffic based on source address, then you have to use policy routing which is basically what you are doing in the second case.

See the following URL for a good example -

New Member

Re: about route map

Thank You,

I have another question then,

Which IP the source computer should aim at?, my rooter IP or the final IP?

I would like the source computer not to know the final IP, it is why, I want to receive its packets and re-route them on the final destination.

Is it possible?

Thank You