LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RedHat: how 2 configure 2 gateways? (https://www.linuxquestions.org/questions/linux-networking-3/redhat-how-2-configure-2-gateways-21107/)

alamme 05-16-2002 07:09 AM

RedHat: how 2 configure 2 gateways?
 
Hi there,

i've a network here ... a server with 3 NIC's (eth0 to an ISDN-router, eth1 to the internal network and eth2 to a cable-modem router) ...
I have to route all the HTTP-traffic from the internal network to the proxy of the network of the cable modem (eth2) and all the other traffic to the network behind the ISDN-router (eth0) ...
So I've decided to configure 2 gateways on my server, but then the whole server can't communicate with any other device on any NIC ...

Does anybody have a solution ???
Thx

mallikarjun 05-16-2002 07:29 AM

I also use 2 gateway, the first one is normal gateway, The second gateway is a route

route add -net <externat network ip> netmask <x.x.x.x> gw <gateway ip>

alamme 05-16-2002 08:24 AM

Thx !!!!!! I've been searching it all day ... you're a holy man for me ... :-)


All times are GMT -5. The time now is 01:40 AM.