- Home
- Networking
- CCNA Routing and Switching 200-125
91.
In the following exhibit, how would you configure Port Address Translation on a
DHCP-enabled interface?
- A.RouterA(config)#access-list 1 permit 192.168.1.0 0.0.0.255
RouterA(config)#ip nat pool EntPool serial 0/0
RouterA(config)#ip nat inside source list 1 pool EntPool overload - B.RouterA(config)#access-list 1 permit 192.168.1.0 0.0.0.255
RouterA(config)#ip nat pool EntPool dhcp
RouterA(config)#ip nat inside source list 1 pool EntPool overload - C.RouterA(config)#access-list 1 permit 192.168.1.0 0.0.0.255
RouterA(config)#ip nat inside source list 1 serial 0/0 - D.RouterA(config)#access-list 1 permit 192.168.1.0 0.0.0.255
RouterA(config)#ip nat inside source list 1 interface serial 0/0 overload
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
The first command sets up the allowed network to be NATed with access-list 1 permit 192.168.1.0 0.0.0.255 . The next command, ip nat inside source list 1 interface serial 0/0 overload , is where everything is tied together. The access list is applied and the interface of serial 0/0 is configured to overload. |
92.
In the following exhibit, which command will configure Port Address Translation?
- A.RouterA(config)#access-list 1 permit 192.168.1.0 0.0.0.255
RouterA(config)#ip nat pool EntPool 179.43.44.1 179.43.44.1
RouterA(config)#ip nat inside source list 1 pool EntPool - B.RouterA(config)#ip nat pool EntPool 179.43.44.1 179.43.44.1 netmask 255.255.255.0
RouterA(config)#ip nat source pool EntPool - C.RouterA(config)#access-list 1 permit 192.168.1.0 0.0.0.255
RouterA(config)#ip nat pool EntPool 179.43.44.1 179.43.44.1 netmask 255.255.255.0
RouterA(config)#ip nat inside source list 1 pool EntPool overload - D.RouterA(config)#access-list 1 permit 192.168.1.0 0.0.0.255
RouterA(config)#ip nat pool EntPool 179.43.44.1 179.43.44.1 netmask 255.255.255.0
RouterA(config)#ip nat inside source list 1 pool EntPool
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The first command required is access-list 1 permit 192.168.1.0 0.0.0.255 , which defines the allowed networks. The next command creates the NAT pool with ip nat pool EntPool 179.43.44.1 179.43.44.1 netmask 255.255.255.0 . The last command, ip nat inside source list 1 pool EntPool overload , ties the access list together with the pool and defines PAT with the overload command. |
93.
Which command will allow you to see real time Network Address Translations?
- A.Router#show ip translations
- B.Router#debug ip nat
- C.Router#debug ip translations
- D.Router#show ip nat
- Answer & Explanation
- Report
Answer : [B]
Explanation :
Explanation :
The command debug ip nat will allow you to see real-time NAT translations. When you issue this command, you should know that each NAT translation will log to the screen or logging server and will spike CPU usage. |
94.
What happens to host communications when the NAT table is manually cleared?
- A.No disturbance in communications will be observed.
- B.Established UDP sessions will need to reestablish and will disturb communications.
- C.Established TCP sessions will need to reestablish and will disturb communications.
- D.Established TCP sessions will need to reestablish and will not disturb communications.
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
When the NAT table clears, established TCP sessions will need to reestablish via the three-way handshake. This creates a problem for some secure protocols such as SSH, which will drop the established connection and not reestablish a new connection. UDP does not have a state to its connection, so little or no disturbance will be seen. |
95.
Which command will wipe out all current NAT translations in the NAT table?
- A.Router#no ip nat translation
- B.Router#clear ip nat translation
- C.Router#clear ip nat translation *
- D.Router#clear ip nat
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The command clear ip nat translation * will clear all IP NAT translations out of the NAT table. The asterisk is used as a wildcard for all addresses. You can alternatively specify a specific inside or outside NAT address. |