2 complete networks on one centos box
Posted on 2010-11-08
This is my third question to try to solve my issues, hope this one is clear and accurate.
I have 2 complete networks on my centos 5 box.
eth0 (192.168.1.0/24) -> ROUTER (192.168.1.1) -> INTERNET (PUBLIC IP)
eth1 (10.0.0.1/24) -> ROUTER (10.0.0.1) -> INTERNET (PUBLIC IP)
What I want is anything coming in on eth0 goes out on eth0 and the same for eth1.
I dont care if its static routes, iptables or whatever... I just want whatever coming in on eth0 goes out on eth0 and whatever comes in on eth1 goes out on eth1.
I have ssh/sftp users coming in on eth0 (192.168.1.2) and they need to go out that same link (higher speed connection)
I have internal people using eth1 (10.0.0.2) as their proxy server, and they need to go out on eth0 (so when people are downloading/uploading on eth1 internet is not slow for LAN users.
ANY HELP IS APPRECIATED!