CCNA • Practice Test 2 — 25 Questions
Free CCNA practice test 2 — 25 questions with explanations. No signup required.
You are connected to R1 in a small office network. Configure PAT (NAT overload) so that hosts on the 192.168.1.0/24 LAN can access the Internet via the public IP 203.0.113.1 (the IP assigned to interface G0/0). Also configure a static NAT for the internal web server at 192.168.1.10 to the public IP 203.0.113.6. The current configuration has errors: the inside/outside interface assignments are swapped, the ACL for PAT does not match the inside subnet, and the PAT rule points to the wrong ACL. Fix all issues so that both PAT and static NAT work correctly.
R1# show running-config | section ip nat ip nat inside source list 1 interface GigabitEthernet0/1 overload ip nat inside source static tcp 192.168.1.10 80 203.0.113.6 80 ! ip nat inside source list 2 interface GigabitEthernet0/0 overload ! interface GigabitEthernet0/0 ip address 203.0.113.1 255.255.255.248 ip nat inside ! interface GigabitEthernet0/1 ip address 192.168.1.1 255.255.255.0 ip nat outside ! access-list 1 permit 192.168.2.0 0.0.0.255 access-list 2 permit 192.168.1.0 0.0.0.255
R1# show running-config | section ip nat ip nat inside source list 1 interface GigabitEthernet0/1 overload ip nat inside source static tcp 192.168.1.10 80 203.0.113.6 80 ! ip nat inside source list 2 interface GigabitEthernet0/0 overload ! interface GigabitEthernet0/0 ip address 203.0.113.1 255.255.255.248 ip nat inside ! interface GigabitEthernet0/1 ip address 192.168.1.1 255.255.255.0 ip nat outside ! access-list 1 permit 192.168.2.0 0.0.0.255 access-list 2 permit 192.168.1.0 0.0.0.255