CCNA Network Services and Security • Set 35
CCNA Network Services and Security Practice Test 35 — 15 questions with explanations. Free, no signup.
You are connected to R1 via the console. R1's GigabitEthernet0/0 (10.0.0.1/30) connects to ISP router, and GigabitEthernet0/1 (192.168.1.1/24) connects to the internal LAN. The internal network uses 192.168.1.0/24 and needs to access the internet. Configure NAT overload on R1 so that internal hosts are translated to the IP address of GigabitEthernet0/0 when accessing the internet.
hostname R1 ! interface GigabitEthernet0/0 ip address 10.0.0.1 255.255.255.252 no shutdown ! interface GigabitEthernet0/1 ip address 192.168.1.1 255.255.255.0 no shutdown ! access-list 1 permit 192.168.1.0 0.0.0.255 !