I have the following example:

From my understanding of static NAT the client makes a request on the inside global address of a resource, in this case the webserver. ( The request then gets translated into the inside local address at R2. ( is translated to

However in this example the NAT inside is assigned IP address and the outside is assigned

How is NAT supposed to work in this scenario?

Static NAT example

1 Answer 1


Destination NAT translates an outside address to an inside address. Often that's one of the router's addresses.

(I'm ignoring TCP's intricacies here and am just using "request" as a high-level concept.)

  1. The client sends a request to TCP
  2. The request is received by R2's S0/1/0.
  3. R2 translates the request's destination to TCP due to its static NAT configuration.
  4. The router forwards the request out of its S0/0/0 interface, according to its routing table entry for
  5. Subsequent routers forward the request to the web server.
  6. The process reverses for the server's reply.
  • But in this example the interface S0/1/0 has IP address This wouldn't work right?
    – Rubus
    Commented Jan 7, 2023 at 12:06
  • 1
    Why not? As long as the destination is routed into that interface, the interface's own IP address is irrelevant.
    – Zac67
    Commented Jan 7, 2023 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.