ip address 18.104.22.168 255.255.255.0
ip nat outside
ip address 10.1.1.1 255.255.255.0
ip nat inside
access-list 1 permit 10.1.1.0 0.0.0.255
Two PCs on the network have addresses 10.1.1.5 and 10.1.1.10.
Which command, when added to the router’s configuration, causes the PCs’ addresses to be translated to the router’s s0/0/0 address?
- ip nat inside source list 1 22.214.171.124 overload
- ip nat inside source list 1 interface s0/0/0 overload
- ip nat inside source list 1 interface s0/0/0
- ip nat inside source 1 interface s0/0/0 overload
The correct answer is 2.
The “ip nat inside source list 1 interface s0/0/0 overload” command specifies that source addresses permitted by access list 1 will be translated to the address of interface s0/0/0. The “overload” keyword indicates that PAT is used so that one outside address represents many inside addresses, using the port number to distinguish between the translations.
For more questions like these, try our CCNA Cert Check