Hello !
I want to do address translation on a cisco 1600. (IOS (tm) 1600 Software (C1600-Y-M), Version 12.0(9))
ip packet from 192.168.254 and having 172.20.2 destination must be first source translated in 10.20.210.240 host, and then rerouted to another router.
All work fine but a single thing : the translation isn't working when the ip packets are comming back. (ie from 192.168.254.110, i do a ping to 172.20.2.75, the nat is ok, the rerouting is ok, the ping reply is ok and arrives at loopback interface, but not to the host i made the ping from)
this is the configuration i made :
---- begin ---- ! interface Loopback0 ip address 10.200.210.240 255.255.255.0 ip nat outside ip policy route-map routenat ! interface Ethernet0 ip address 192.168.254.4 255.255.255.0 ip nat inside ip policy route-map natsource ! ip nat inside source list 101 interface Loopback0 overload ip classless ip route 0.0.0.0 0.0.0.0 192.168.254.6 ! access-list 101 permit ip 192.168.254.0 0.0.0.255 172.20.2.0 0.0.0.255 access-list 110 permit ip 10.200.210.0 0.0.0.255 172.20.2.0 0.0.0.255 ! route-map natsource permit 10 match ip address 101 set ip next-hop 10.200.210.1 ! route-map routenat permit 10 match ip address 110 set ip next-hop 192.168.254.6 !
---- end ----
if someone could tells me what's wrong ..
thank you :)