Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a question about NAT(Network Address Translation). is it possible to translate an already translated IP address? would you please guide me why it is possible or impossible?

share|improve this question
It is possible to have multiple layers of NAT, yes. But what do you want us to guide you with? This isn't a very useful question. – Flimzy Jun 23 '11 at 6:41
So, you mean it possible to translate an IP address that has been translated before, don't you? – Roshio Jun 23 '11 at 6:46
I'm not really sure what that question means. – Flimzy Jun 23 '11 at 6:46
up vote 2 down vote accepted

You seem to be referring to Double-NAT (extract below).
Here is more local reading from ServerFault: Why is it a bad idea to use multiple NAT layers or is it?

When you have a situation where you have two subnets 
that are the same addressing that wish to communicate, it's a useful hack 
because it allows you to de-couple them into separate address space.

    ASCII Art 3: Attempt 2

            Network 1
            Network 2        |
                    NAT BOX 1       |
                    NAT BOX 2   |
            Newtwork 3              |
   (Untrusted Network)

That netfilter Double-NAT HOWTO goes on to discuss iptables the configuration,
Rusty's Really Quick Guide To Packet Filtering Copied.

share|improve this answer

Yes, it is possible to have multiple NAT layers. As long as each router points to the one "above" it as the gateway, there shouldn't be much problem for clients inside the layers to reach servers outside the layers.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .