zied
01-15-2008, 07:05 AM
Hi,
The command ip nat outside didn't work on routersim 5.0 despite that it was listed when i used "?" after "ip nat".
In fact, i like to use NAT like NAT-PT but instead of translating from IPv4-IPv6 i like to translate from IPv4-IPv4.
For exemple with this config:
router1----172.16.50.0 255.255.255.252.........router2
/1.1.1.0 /24 /2.2.2.0 /24
/ /
/ /
/ /
host 1 1.1.1.2 host 2 2.2.2.2
without nat normally to ping host 2 host 1 execute the command ping 2.2.2.2.
But i don't like to this in this manner: since 2.2.2.2 is private i like host 1 to ping another address for exemple ping 40.40.40.1 and router 1 will translate it and host 2 will be pinged.
Normally, i must use the command IP nat outside but us i said it didn't work:(
Any suggestion,advice please?
Thank you
The command ip nat outside didn't work on routersim 5.0 despite that it was listed when i used "?" after "ip nat".
In fact, i like to use NAT like NAT-PT but instead of translating from IPv4-IPv6 i like to translate from IPv4-IPv4.
For exemple with this config:
router1----172.16.50.0 255.255.255.252.........router2
/1.1.1.0 /24 /2.2.2.0 /24
/ /
/ /
/ /
host 1 1.1.1.2 host 2 2.2.2.2
without nat normally to ping host 2 host 1 execute the command ping 2.2.2.2.
But i don't like to this in this manner: since 2.2.2.2 is private i like host 1 to ping another address for exemple ping 40.40.40.1 and router 1 will translate it and host 2 will be pinged.
Normally, i must use the command IP nat outside but us i said it didn't work:(
Any suggestion,advice please?
Thank you