Consider the following configuration:
R2(config)# ip nat pool nat-pool1 209.165.200.225 209.165.200.240 netmask 255.255.255.0 R2(config)# ip nat inside source list 1 pool nat-pool1 R2(config)# interface serial0/0/0 R2(config-if)# ip address 10.1.1.2 255.255.255.252 R2(config-if)# ip nat inside R2(config-if)# exit R2(config)# interface serial0/1/0 R2(config-if)# ip address 209.165.200.1 255.255.255.224 R2(config-if)# ip nat outside R2(config-if)# exit R2(config)# access-list 1 permit 192.168.0.0 0.0.0.31
Which addresses will be translated by NAT?
- 10.1.1.2 to 10.1.1.255
- 192.168.0.0 to 192.168.0.255
- 192.168.0.0 to 192.168.0.31
- 209.165.200.240 to 209.165.200.255
- Only host 10.1.1.2
- Only host 209.165.200.255
Explanation: The access-list determines what IP addresses can be translated. With a wildcard of 0.0.0.31, the first 27 bits have to match. Write 192.168.0.0 in binary and draw a line after the first 27 bits. If you place all 0s after the line, you get the first number translated (192.168.0.0). Then place all 1s to the right of the line and determine that IP address to determine the last number translated (192.168.0.31).
Exam with this question: CCNA 2 v5 Chapter 11: Check Your Understanding Questions Answers
Please login or Register to submit your answer