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 2 Linux servers. Both of them are connected to the Internet via eth0, both of them have white static IP addresses (100.0.0.1 and 200.0.0.1). The first server's connection is 100 Mb/s, the second is 10 Mb/s. Also the servers are connected in network via eth1 (100 Mb/s), the first server's IP is 10.0.0.1, the second server's IP is 10.0.0.2.

I want to route all Internet packets from the second server via the first server, but not to use NAT and keep 200.0.0.1 IP of the second server visible from the Internet.

Is it possible to do it?

share|improve this question
    
What are the netmasks/network size of the real-world IP addresses (because you said no NAT), and what do you mean by "white static IP addresses" ? What you are attempting is probably feasible using source based routing, ie setting up 2 routing tables on the second server, assuming you have 2 IP addresses (1 in each network) for it. –  davidgo Aug 30 '13 at 7:19
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.