route map question

Unanswered Question
May 1st, 2008
User Badges:

Hi, my question is can I have multiple actions in policy based routing statement. For example, I would like for the PBR first to NAT a subnet then send it to next hop. Here is my config.

route-map WS permit 10

match ip address 10

set ip next-hop x.x.x.x

access-list 10 permit ip -- this would take the subnet traffic and send it to x.x.x.x

then if I have NAT statement

ip nat inside source route-map WS interface s 0 overload

Would this work? Or do I have to create 2 seperate PBRs that do each would do one task. I just would like to keep the config short and not complicated that is the reason I am asking. Also does the secquence of the statements make a difference? I think that routing is performed first before NATing if I am not mistaken. Thanks for your help.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
shivlu jain Thu, 05/01/2008 - 23:17
User Badges:
  • Silver, 250 points or more

as per sequence of statements first nat will be performed then routing takes place.




This Discussion