02-08-2006 08:44 AM - edited 03-03-2019 11:41 AM
Hi,
Is it possible to do NATing in router depending upon the destination address in Packets. ( that is with help of access lists ). In short if destination address in packet is "A" then is should be NATed with ip pool "A". and then forwarded to corresponding to outbound interface.
In short Destination is "A" then ip pool is "POOL__A",
if Destination is "B" then ip pool
is "POOL__B".
Similar link or examle on cisco.com highly appreciable.
Thanx.
02-08-2006 09:02 AM
This should help:
Regards,
Leo
02-08-2006 11:31 AM
Here's an example:
ip nat pool POOL__A 10.0.0.0 10.0.0.255 netmask 255.255.255.0
ip nat pool POOL__B 10.1.0.0 10.1.0.255 netmask 255.255.255.0
ip nat inside source route-map ToA pool POOL__A
ip nat inside source route-map ToB pool POOL__B
!
access-list 102 permit ip any
!
route-map ToA permit 10
match ip address 101
!
route-map ToB permit 10
match ip address 102
!
Hope that helps - pls rate the post if it does.
Paresh
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: