howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / Show IP NAT Translation

Show IP NAT Translation

Command

Show IP NAT Translation

Use

This command shows information about NAT translations that are active on the router.

Syntax

Router#show ip nat translation

Example

simple

In the below example we configure R2 to translate addresses from 10.1.1.0/24 to 10.2.2.0/24.

R2(config)#access-list 25 permit 10.1.1.0 0.0.0.255
R2(config)#ip nat inside source list 25 interface fa1/0
R2(config)#int fa0/0
R2(config-if)#ip nat inside
R2(config-if)#int fa1/0
R2(config-if)#ip nat out

Now we will do several pings to generate NAT traffic.

Success rate is 0 percent (0/5)
R1(config-if)#do ping 10.2.2.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/33/84 ms
R1(config-if)#do ping 10.2.2.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/42/88 ms
R1(config-if)#do ping 10.2.2.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/34/64 ms
R1(config-if)#

Afterwards, we can see the NAT translations using the show ip nat translation command.

R2(config-if)#do show ip nat translation
Pro Inside global Inside local Outside local Outside global
icmp 10.2.2.2:3 10.1.1.1:3 10.2.2.3:3 10.2.2.3:3
icmp 10.2.2.2:4 10.1.1.1:4 10.2.2.3:4 10.2.2.3:4
icmp 10.2.2.2:5 10.1.1.1:5 10.2.2.3:5 10.2.2.3:5

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in