6.6.7 Packet Tracer - Configure — Pat.pka

Have questions or corrections? Drop them in the comments.

Objective: Get a small office network online using a single public IP address with PAT.

R1# show ip nat translations You should see something like: 6.6.7 packet tracer - configure pat.pka

R1(config)# interface g0/0 R1(config-if)# ip nat inside R1(config)# interface s0/1/0 R1(config-if)# ip nat outside Which traffic should be translated? All traffic from the LAN.

R1(config)# interface g0/0 R1(config-if)# ip address 192.168.1.1 255.255.255.0 R1(config-if)# no shutdown R1(config)# interface s0/1/0 R1(config-if)# ip address 209.165.200.226 255.255.255.252 R1(config-if)# no shutdown This is critical — PAT won’t work if you don’t tell the router which side is “inside” and which is “outside.” Have questions or corrections

R1(config)# access-list 1 permit 192.168.1.0 0.0.0.255 Here’s the money line — notice the overload keyword. That enables PAT.

If you’ve just finished the CCNA switching and routing basics, you’ve probably hit . It looks simple at first, but PAT (Port Address Translation) is what makes your home router work — mapping many private IPs to one public IP using different ports. R1# show ip nat translations You should see

Then check translations: