An administrator needs to configure Port Address Translation (PAT) on a Cisco IOS router so that all internal hosts on the subnet can access the Internet using the IPv4 address assigned to the WAN interface GigabitEthernet0/1. Interface GigabitEthernet0/0 connects to the internal LAN. Which configuration set correctly accomplishes this requirement?
- interface GigabitEthernet0/0
ip nat inside
!
interface GigabitEthernet0/1
ip nat outside
!
access-list 15 permit 172.16.50.0 0.0.0.255
ip nat inside source list 15 interface GigabitEthernet0/1 overloadCevap - Binterface GigabitEthernet0/0
ip nat inside
!
interface GigabitEthernet0/1
ip nat outside
!
access-list 15 permit 172.16.50.0 0.0.0.255
ip nat inside source list 15 interface GigabitEthernet0/1 - Cinterface GigabitEthernet0/0
ip nat inside
!
interface GigabitEthernet0/1
ip nat outside
!
access-list 15 permit 172.32.50.0 0.0.0.255
ip nat inside source list 15 interface GigabitEthernet0/1 overload - Dinterface GigabitEthernet0/0
ip nat outside
!
interface GigabitEthernet0/1
ip nat inside
!
access-list 15 permit 172.16.50.0 0.0.0.255
ip nat inside source list 15 interface GigabitEthernet0/1 overload
Cevap
The command sequence configuring GigabitEthernet0/0 as ip nat inside, GigabitEthernet0/1 as ip nat outside, ACL 15 matching 172.16.50.0 0.0.0.255, and 'ip nat inside source list 15 interface GigabitEthernet0/1 overload' correctly enables PAT.
The correct command set properly sets GigabitEthernet0/0 as the inside interface and GigabitEthernet0/1 as the outside interface, specifies standard ACL 15 to match the 172.16.50.0/24 subnet, and uses the 'overload' keyword with the egress interface to enable Port Address Translation (PAT).
Adım Adım Çözüm
Anahtar Kavram
Port Address Translation (PAT) Configuration using Interface Overload
Tahmini Süre:1m 15s