Loopback Cert Guide
Lab 4.1NAT

Private inside, public outside.

Three hosts on a private LAN, one router to an ISP that drops anything from 10.x. Configure static NAT, a pool and overload, send pings and web traffic, and watch the source address change as the packet crosses R1.

  • 4.1Configure and verify inside source NAT using static and pools
01Live network

Watch the address change at R1.

Packets carry the address they have on that cable: private inside, public outside. R1's ports show IN and OUT. Click R1 for its NAT config, a host to send traffic from it, or use the buttons in Inspect, which also show the live translation table.

Live network · NAT · simulated
  • ip nat inside
  • ip nat outside
  • No NAT role
  • Shut down

Simulated: the routers, hosts and console output are Loopback's simulation of an IOS router. Addresses: 10.1.1.0/24 is private space (RFC 1918); 203.0.113.0/29 and 198.51.100.0/24 are documentation ranges (RFC 5737) standing in for public addresses.

02Tasks

Solve the task and the network checks your work.

Each task loads its own starting point onto the network. Solve it from the console or with clicks; the checks tick live, and you see one model answer when you're done.

    03What happens if

    Predict the result, then watch it happen.

    Eight NAT traps: no translation at all, a full pool, two PCs on one address, the outside knocking first, swapped roles, an ACL deny that doesn't drop. Pick what happens, then load it on the network.

      04Drills

      A new question every round, so nothing is memorized.

      Name the four addresses, pick the right kind of NAT, type the command and size a pool, graded on the spot. Build a streak.

      05Recall sheet

      The whole topic on one sheet.

      The numbers, orders and commands the network runs on. Cover a column and say it before you look.

      Four addresses

      Local (as seen inside)Global (as seen outside)
      Inside hostInside local: its real private address, 10.1.1.10Inside global: what it's translated to, 203.0.113.2
      Outside hostOutside localOutside global: 198.51.100.10

      Inside source NAT leaves the outside host alone, so its local and global addresses are the same.

      Three kinds

      Static
      One local, one global, permanent. The outside can start connections.
      Pool
      One-to-one from a pool, created when an inside host sends. Full pool: misses and drops.
      Overload (PAT)
      Many hosts share one address, told apart by port.

      What must be true

      1. ip nat inside on the LAN side, ip nat outside toward the ISP.
      2. The packet goes from an inside interface to an outside one.
      3. For pool or PAT: a standard ACL permits the source. A deny means no translation, not a drop.
      4. The pool exists, and has a free address unless it's overloaded.

      Reading the table

      • Columns: Pro, Inside global, Inside local, Outside local, Outside global.
      • --- lines are the address bindings: static, or dynamic one-to-one.
      • Lines with a protocol and ports are per-flow (extended) entries. PAT only has these.
      • clear ip nat translation * removes dynamic entries, never static ones.

      Commands

      Static

      interface gi0/0
       ip nat inside
      interface gi0/1
       ip nat outside
      ip nat inside source static 10.1.1.100 203.0.113.5

      Pool and PAT

      access-list 1 permit 10.1.1.0 0.0.0.255
      ip nat pool PUB 203.0.113.2 203.0.113.3 netmask 255.255.255.248
      ip nat inside source list 1 pool PUB
      ip nat inside source list 1 pool PUB overload
      ip nat inside source list 1 interface gi0/1 overload

      Verify

      show ip nat translations
      show ip nat statistics
      show access-lists
      clear ip nat translation *

      All of these work in R1's console, along with ?, Tab, do and ping.

      Jump to a page

      1. Gi0/1HomeconnectedHow the exam works and a sample of every station
      2. Gi0/2Practice Testsconnected18 tests by domain, every answer explained
      3. Gi0/3Flashcardsconnected401 cards on every objective, plus your own
      4. Gi0/4CLI LabconnectedCommand drills and config tasks, checked like IOS
      5. Gi0/5Concept LabsconnectedYou're in Lab 4.1 NAT. All labs.
      6. Gi0/6Study PlanconnectedAll 53 objectives, graded from your progress