Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Special NAT configuration with route-map?

Thread Tools

Special NAT configuration with route-map?

Andre Neter
Posts: n/a

currently I have the following NAT setup with a Cisco 2801:

A (nat inside) <-> C2801 <-> B (nat outside)

So the C2801 has two ethernet interfaces, one of them configured
as "ip nat inside", the other as "ip nat outside".
Some nat settings are already configured on the C2801 (IOS 12.4(7))
which are mostly

ip nat inside source route-map ...
ip nat inside source static

Everything works fine so far.

Now I have to add a very special nat with the following properties
depending on the outside source address:

Traffic arriving from side B with a special source address
and a special destination address should get a new destination address
on the C2801 in the following manner

Source/outside is from net
Destination/outside is
Source/inside should be the same address as S outside
Destination/outside should be

I think this could be done with

ip nat outside source static ...

but I can't figure the right syntax.

And even more: can I have the same behaviour with more than one
address with Destination/outside from with a fixed
rewriting 192.168.140.x -> 192.168.128.x?

Again I can not figure out the correct syntax, but possibly there would
be something with route-map?

Any hints are appreciated!


Reply With Quote
Delidumrul Delidumrul is offline
Junior Member
Join Date: Feb 2010
Posts: 1
as a hint
access-list 10 permit ip source_ip wildcardmask
route-map special_con permit 99
match ip adress 10
set ip next-hop ip_where_u_wanna_route

in this case , whatever matches the access list 10 will be routed to ip_where_u_wanna_route

if u want to redist;
asuming u are using ospf ;
redistrubute ospf your_ospf route map special_con

this is how route maps are used

Last edited by Delidumrul; 02-03-2010 at 01:21 AM..
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco IOS Special NAT Rule for Exchange Server rdob Cisco 0 11-07-2009 02:10 PM
Special Report: How special are you? Death from Above MCSE 2 03-19-2007 07:22 PM
NAT Configuration question: verifying availability before NAT Sri Cisco 0 07-19-2005 02:13 PM
Special editions and Deluxe special edition dvd question. Rclrk43 DVD Video 8 12-29-2004 07:32 PM
NAT or Not to NAT; how to do an Internet connection for a 100-PC company ? Al Dykes Cisco 8 10-29-2003 12:34 AM