QuestionQ1138

IP Services

Question Image

Refer to the exhibit. An engineer is configuring the router to provide static NAT for the web server.

Drag & Drop
ip address 172.16.1.1 255.255.255.0
ip address 45.83.2.214 255.255.255.240
ip nat inside
ip nat inside source 1 interface s0 overload
ip nat inside source static tcp 172.16.1.2 80 45.83.2.214 80 extendable
ip nat outside
position A
position B
position C
position D
position E
position F
Explanation

Static NAT for a server requires the LAN-facing interface to be configured as the inside NAT interface and the WAN-facing interface as the outside NAT interface. The inside interface uses the private subnet address 172.16.1.1/24, and the outside interface uses the public address 45.83.2.214/28. Publishing the web server specifically on HTTP uses a static TCP port mapping from inside local 172.16.1.2 port 80 to inside global 45.83.2.214 port 80 with ip nat inside source static tcp ... extendable. The overload command is normally used for PAT, not for a pure static server publication, but it is the remaining command in the provided pool and is the expected fill for the last slot in this layout.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!