A network administrator is configuring Port Address Translation (PAT) on a Cisco IOS router. Internal private IP hosts defined in Access Control List 1 (ACL 1) must share the single public IPv4 address assigned to the GigabitEthernet0/0 interface when communicating with the internet. Which Cisco IOS global configuration command correctly enables PAT for this scenario?
- ip nat inside source list 1 interface GigabitEthernet0/0 overloadAnswer
- Bip nat inside source list 1 interface GigabitEthernet0/0
- Cip nat inside source list 1 pool PUBLIC_POOL netmask 255.255.255.0
- Dip nat outside source list 1 interface GigabitEthernet0/0 overload
Answer
The command 'ip nat inside source list 1 interface GigabitEthernet0/0 overload' correctly configures PAT using an egress interface's IPv4 address.
The command 'ip nat inside source list 1 interface GigabitEthernet0/0 overload' specifies that traffic matching ACL 1 coming from the inside interface should have its source address translated to the IP address configured on GigabitEthernet0/0. The inclusion of the 'overload' keyword enables Port Address Translation (PAT), allowing multiple internal devices to simultaneously share the single public IP address via layer 4 port tracking.
Step-by-Step Solution
Key Concept
Configuring Inside Source Port Address Translation (PAT) with an interface address