Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Suppose I have 2 internal networks: and

I would like to NAT a specific IP address from one network to the other, in which the new address would be obtained via DHCP.

For example: --NAT--> 1.1.2.x (determined via DHCP)

Is this possible via iptables?

EDIT: Forgot to mention NAT is done by a router interfacing both networks.

share|improve this question
Is there a specific reason why you need NAT rather than plain routing? – Hennes Dec 1 '12 at 23:59
No specific reason. Only experimentation and learning. – drum Dec 2 '12 at 0:17

Your Answer


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

Browse other questions tagged or ask your own question.