static NAT and route-maps

Discussion in 'Cisco' started by yoorio, Jul 26, 2006.

  1. yoorio

    yoorio

    Joined:
    Jul 25, 2006
    Messages:
    4
    I can't understand the following NAT example from cisco:
    http://www.cisco.com/univercd/cc/td...os122/122newft/122t/122t4/ftnatrt.htm#1024689

    why do route-maps "isp1" and "isp2" have the "set ip next-hop" option ?

    ------ cut ------
    ip nat inside source static 11.1.1.2 192.68.1.21 route-map isp2
    ip nat inside source static 11.1.1.2 172.68.1.21 route-map isp1
    ip nat inside source static 11.1.1.1 192.68.1.11 route-map isp2
    ip nat inside source static 11.1.1.1 172.68.1.11 route-map isp1
    access-list 101 permit ip 11.1.1.0 0.0.0.255 172.0.0.0 0.255.255.255.
    access-list 102 permit ip 11.1.1.0 0.0.0.255 192.0.0.0 0.255.255.255
    !
    route-map isp2 permit 10
    match ip address 102
    set ip next-hop 192.68.1.1
    !
    route-map isp1 permit 10
    match ip address 101
    set ip next-hop 172.68.1.1
    ------ cut ------

    this looks very strange...
    according "order of operation" - NAT inside to outside...
    http://www.cisco.com/warp/public/556/5.html
    routing comes before NAT......
    so.... it's impossible to change next hop after routing act is done, right?

    --
    tnx, Yooriy
    yoorio, Jul 26, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nieuws Xs4all
    Replies:
    0
    Views:
    613
    Nieuws Xs4all
    May 26, 2005
  2. Nieuws Xs4all
    Replies:
    2
    Views:
    1,615
    Jan-Willem
    May 26, 2005
  3. Bruce Cao
    Replies:
    3
    Views:
    4,485
    Barry Margolin
    Dec 6, 2005
  4. Ralph Fox

    MSN maps vs. Google maps

    Ralph Fox, Jul 30, 2007, in forum: NZ Computing
    Replies:
    0
    Views:
    570
    Ralph Fox
    Jul 30, 2007
  5. ilan.berco@gmail.com
    Replies:
    9
    Views:
    5,025
    Scott Perry
    Aug 7, 2008
Loading...

Share This Page