Hi all,

    I have a network behind a cable modem with a RH6.2 box doing
firewalling, masq'ing, and portforwarding.  I'm moving my web server outside
of the firewall, where it will be multihomed.  Below is my poor attempt at
ascii art:
                                777.777.777.1
                                          |
____________**CABLEMODEM**_____
|                                                                    |
777.777.777.2                            777.777.777.193
**Webserver**                            **Firewall**
192.168.0.10 ---------------------192.168.0.1

What I would like to have happen is for the webserver to respond to requests
that are portforwarded, as well as ones that are made directly to the .2
interface - until the DNS changes take effect.  What this requires is for
the webserver to "know" which interface the request came in on, and use the
appropriate gateway.  For example, if the request comes in on eth1
(192.168.0.10) it needs to use 192.168.0.1 for it's gateway, if the request
comes in on 777.777.777.2, it needs to use 777.777.777.1 as it's gateway.
    I've already discovered that networking dies when using two default
gateways:-).  Am I describing the functions of the iproute2 package?  Are
there any straightforward ways to accomplishing this?

TIA,

Justin



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to