We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 644 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

488 Sign Ups in the last 30 days

satisfaction-guaranteed
100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Tags: , ,


Forum Replies

  1. Hi Boris,

    You need extendable if you map an inside address to multiple outside IP addresses, like this:

    ip nat inside source static 192.168.1.1 1.2.3.4 extendable
    ip nat inside source static 192.168.1.1 5.6.7.8 extendable
    

    Where 192.168.1.1 is the inside address and 1.2.3.5 / 5.6.7.8 are outside addresses. Cisco IOS will add the keyword automatically.

    You also need it for port forwarding where you use the same inside and outside addresses for different port numbers:

    ip nat inside source static tcp 192.168.1.1 80 1.2.3.4 80 extendable
    ip nat inside source static
    ... Continue reading in our forum

  2. Hi Boris,

    No need for a route-map, you can repeat this command as often as you need:

    ip nat inside source static tcp 192.168.12.1 80 192.168.23.2 80 extendable

    Just change the ports required and that’s it.

    Rene

  3. Hi,

    What if I want to do static nat for multiple web servers. Let us say, we have 3 web servers with private IP address that i want to connect from a public IP. How can we do that as the port number is used once only?

    Thank you for your support.

    Akram

  4. According to what is said in the first paragraph : “A host on the outside (for example on the Internet) will connect to the outside IP address of a router that is configured for NAT. This NAT router will forward traffic to host on the inside.”

    It seems more logical for me to type the command “ip nat outside source static tcp 192.168.23.2 80 192.168.12.1 80 extendable” ???

  5. Hi Molenaar, why in the image i see Fa1/0 and the saved configuration we have FastEthernet0/1, could it be a typo?

11 more replies! Ask a question or join the discussion by visiting our Community Forum