Greetings. Here's my situation: I have a PC running SuSe 9.3 that has
two NIC's. One of these is configured with a static IP such as:
device: eth0
IP: 10.9.81.204
Subnet Mask: 255.255.255.192
Default Gateway: 10.9.81.193
This is an "isolated" network. By this I mean that the routers on this
network have extensive access control lists so that only certain
machines on this network can see other machines. There is no access
from this network to the public internet, (the proxy server for the
internet is blocked on this network).
My other NIC is configured to get an IP via DHCP (although I could get
a static IP if that would help). It gets an IP like:
device: eth1
IP: 10.9.16.140
Subnet Mask:255.255.255.0
Gateway: 10.9.16.1
This network does have a connection to the public internet through a
proxy server at IP 10.22.2.100.
I can ping and ssh to machines on both networks. Machines on both
networks can see me, even my samba shares. But, I cannot get to the
public internet from my machine, it seems that my connection to the
proxy server is blocked. I suspect it is because my default gateway is
going through eth0 onto the private network. If I remove the default
gateway entry, then I can get to the public internet, but I loose the
connection I have to machines on the "isolated" network network.
Is there some sort of solution that will allow me to have my default
network traffic go to the eth1 adapter configured via DHCP, and still
allow traffic to go through eth0 for the isolated network. Note that
there are about 35 machines I need to connect to on the isolated
network. They have IP's in the 10.9.##. domains, where ## is 52-69. So,
maybe I could use a bunch of route statements to forward traffic to
these machines through the gateway of eth0? Or, maybe I just need to
use a route command to direct the proxy out eth1? I'm kind of at a loss
here, this sort of networking is not my strong suit.
Any help here is greatly appreciated! Thanks!