IP NAT command

Answered Question
May 7th, 2010
User Badges:
  • Blue, 1500 points or more

hi experts,


i would like to know if all ports (i.e. 80, 25, 443, etc) are enabled by default when i use this command:


ip nat inside source static <localaddr> <globaladdr> extendable


could someone enlighten me or expound on the keyword "extendable" below:


"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.
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Correct Answer

To answer you question:-


Yes - ALL ports are enabled.


The extendable keyword allows you to configure  several ambiguous static translations, where an ambiguous translations  are translations with the same local or global address. This option just allows you to "Extend" the translation beyond simple IP!


HTH>

Jon Marshall Sat, 05/08/2010 - 02:46
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

johnlloyd_13 wrote:


hi experts,


i would like to know if all ports (i.e. 80, 25, 443, etc) are enabled by default when i use this command:


ip nat inside source static extendable


could someone enlighten me or expound on the keyword "extendable" below:


"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.


John


As Andrew says it does indeed enable all ports but for a specific circumstance. If you simply want to enable all ports for a specific local to global address then you don't need the extendable keyword ie.


ip nat inside source static


would do the job.


Jon

johnlloyd_13 Thu, 05/13/2010 - 05:35
User Badges:
  • Blue, 1500 points or more

thanks for your inputs! appreciate it!

Actions

This Discussion