03-31-2009 01:53 AM - edited 03-04-2019 04:10 AM
Hi experts!
I need to do static NAT in two directions! I have a router cisco 881 with IOS ver 12.4T(24). I need to do this:
ip nat inside source static tcp 192.168.3.1 5001 interface fastEthernet 4 5001
and
ip nat inside source static tcp 192.168.3.1 5001 interface vlan 2 5001
int vlan 1
ip nat inside
int vlan 2
ip nat outside
int fa 4
ip nat outside
Is there some way to work both rules together ?
If this is not possible pls give some suggestions how to do this ? I need to have access on port 5001 from internet (fa 4 ) and from vlan 2 at the same time ?
Thanks in adv!
Solved! Go to Solution.
03-31-2009 02:12 AM
Peter,
Router will not allow you to do that.
Let's use an extendable command to make the router clears a bit of confusing things. (grin)
ip nat inside source static tcp 192.168.3.1 5001
ip nat inside source static tcp 192.168.3.1 5001
Please let us know how things work out.
Toshi
03-31-2009 02:12 AM
Peter,
Router will not allow you to do that.
Let's use an extendable command to make the router clears a bit of confusing things. (grin)
ip nat inside source static tcp 192.168.3.1 5001
ip nat inside source static tcp 192.168.3.1 5001
Please let us know how things work out.
Toshi
03-31-2009 03:08 AM
Hey thank you Toshi, that works great! What actually this command extendable does? Thank you again!
03-31-2009 05:29 AM
Peter,
I'm glad to know you're happy with that.
#######
Extendable" static translations:
The extendable keyword allows the user to configure several ambiguous static translations, where an ambiguous translations are translations with the same local or global address.
#######
Actually the extendable keyword translates the packet with full extended parameters to get rid of ambiguity. It includes things like IP/Port of source and destination.
HTH,
Toshi
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: