Re: Two network adapters on seperate networks problem



mikepro@xxxxxxxxx wrote:
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

You don't want to do this, since 10.9.81.193 is not the gateway to the outside world.

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.

Is this a gateway (forwards traffic) or just a proxy server for http/ftp?



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.

You should post the output of "route -n" so we can see what is going on.

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?

At a guess, you need to make 10.9.16.1 the default gateway (this may happen automagically) and 10.9.81.193 the gateway for 10.9.52.0 through 10.9.69.255 using some static routing entries. Off the top of my head you should be able to do this with 4 table entries.

> Or, maybe I just need to
> use a route command to direct the proxy out eth1?

In your shoes I'd try to direct as much traffic as possible out eth1.
.



Relevant Pages

  • Re: HOWTO Ping LAN???
    ... and tunnel to other internal machines ... Port forward connections from the Internet "thru" ... |>network is by tunneling. ... |>from the outside to my default gateway and have the gateway ...
    (freebsd-questions)
  • cups broadcasting through a gateway
    ... I am trying to get cups to share printer information to 3 networks over ... I believe the problem I am having is related two FC 5.0 gateway machines ... but does not pass it to their local network. ...
    (Fedora)
  • Re: IC lost after changing to a 100Meg Network ~ Switcher problem?
    ... The 192.168.1.1 NIC should have no default gateway; ... and the other machines should all have 192.168.1.1 as a default gateway. ... > A second card in the machine connects to my other networked ... > network card was a10Meg connected to a 10 Meg switcher running the ...
    (microsoft.public.windowsxp.network_web)
  • Re: ndiswrapper & SuSe 9.1 in Latitude D600
    ... >> another machine in my network if I give the ip address. ... > 2.Made sure to input the router as gateway. ... disable the wireless interface and just use the eth0 (eth0 is always ... Someone mentioned that if a dhcpcd process is already running the ...
    (alt.os.linux.suse)
  • Re: routing VS nat: can FC3 just be a router between eth0 <-> ppp0 with no MASQ/NAT???
    ... So the FC3 machine, with a connection to eth0 and ppp0, ... but does each of your machines inside your ... know where to find my network. ...
    (Fedora)