Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
            192.168.150.0 (Corp)
                             |
            Network 2        |
            192.168.180.0 (Intermediate)
                                    |
                    NAT BOX 1       |
                    eth0 192.168.180.180
                    eth1 10.15.15.1
                                |
                    NAT BOX 2   |
                    eth0 10.15.15.2
                    eth1 192.168.150.252
                                    |
            Newtwork 3              |
            192.168.150.0 (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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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