But our problem is that our mail server and gateway are on the same machine.
We have one leased line and other broadband wireless connection directly
terminating in the server.
All other machines' gateway is the server's internal IP address(eth0). From
this, we
would like to route packets to one of the ISPs (eth1 or eth2) depending on
the
protocol being used.

You are right that we cannot have 2 default gateway routes. We would like to
setup
one route for one of the type of packets nad keep the other as default.
eg, if I can setup all SMTP traffic to route through eth1, that might solve
my problem
because all other traffic can go through eth2 which is our default route.
But how do I do this?

We have only one machine acting as gateway for both ISPs.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mithun
Bhattacharya
Sent: Monday, June 25, 2001 10:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [LIH] Multiple ISPs configuration.


I am assuming you are doing a smart relay for your emails. In that case
set the the gateway for the SMTP server thruh one IP and the default
gateway as the other. You obviously cant have two default gateways.

Another possibility is since you have two routers out there both on the
the same internal LAN just set the default gateway for the mailserver to
one router and the default gateway for the other machines to the other
router.




Mithun

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to