cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
0
Helpful
1
Replies

Conditional NAT if route exists in route table

swittner
Level 1
Level 1

Is there a way to do a NAT based upon whether the route exists in the route table - and if not then NAT to a different IP? This is sort of a "lite" version of a Content Switch - need to accomplish this in a Cisco 2801 router if possible.

The need is to have the remote site always connect to a single IP - however if the route has fallen out of the BGP tables (MPLS WAN) then try to NAT to a second site (backup).

1 Reply 1

jackyoung
Level 6
Level 6

You can configure two NAT w/ different outside address w/ "extended" parameter. Only if the route is available then the NAT will work.

Check below for info.

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca75b.html#1042290

And, if you have two NAT rule and apply to two individual interfaces, only the traffic pass through the particular interface then the associated NAT rule will take effect.

Hope this helps.