By the end of this lesson, you will:
You have a private network (192.168.1.0/24
) that needs Internet access through a public IP (203.0.113.1
).
ip nat inside source static 192.168.1.10 203.0.113.1
ip nat pool PUBLIC_POOL 203.0.113.10 203.0.113.20 netmask 255.255.255.0 access-list 1 permit 192.168.1.0 0.0.0.255 ip nat inside source list 1 pool PUBLIC_POOL
ip nat inside source list 1 interface GigabitEthernet0/0 overload
Scenario: You have a private network (192.168.2.0/24
) and one public IP (203.0.113.2
) for Internet access.
access-list 1 permit 192.168.2.0 0.0.0.255
ip nat inside source list 1 interface GigabitEthernet0/0 overload
Problem: Devices in the private network cannot access the Internet.
show ip nat translations
show running-config
In the next chapter, we’ll explore Virtual Private Networks (VPNs) and how they secure communication across public networks.
Your NAT skills are developing—let’s keep building! 🚀