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 / IP NAT Enable

IP NAT Enable

Command

IP NAT Enable

Use

This command is used to enable NAT on an interface. This command figures out whether the interface is inside or outside based on the source IP addresses of packets.
IP NAT enable can not translate local router traffic.

Syntax

Router(config-if)#ip bandwidth-percent eigrp <AS> <percent>

Example

In this example we will configure NAT and configure the interfaces to use IP NAT Enable
First we configure NAT and the interfaces.

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 overload
R2(config)#int fa0/0

*Mar 1 15:33:14.080: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up

R2(config)#int fa0/0
R2(config-if)#ip nat enable
R2(config-if)#int fa1/0
R2(config-if)#ip nat enable

Here we verify with a ping that routing has been disabled on all routers.

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:
!!!!!

Checking show ip nat translation we see NAT has translated the packet.

R2(config-if)#do show ip nat trans
Pro Inside global Inside local Outside local Outside global
icmp 10.2.2.2:11 10.1.1.1:11 10.2.2.3:11 10.2.2.3:11

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