Hi luggers,
Is it possible to use two gateways, one from a fixed ip provider (hathway) on my eth1 and the other from dial-up (vsnl) on my ppp0 (modem)
Using hathway, i can browse better, but download of mails is painfully slow. Using vsnl dial-up, i am able download mails, but browsing is very slow. Moreover if i use vsnl for browsing, it slows my mail download.
Right now i have to manually change the gateway (using linuxconf), and then connect to vsnl. After downloading the mails, i disconnect and switch to hathway.
I tried man route to change the routing rules manually, but it does not work. route add gw 202.88.136.1 Nm 0.0.0.0 dev eth1
Suggestions please
Noel.
Gnu/Linux registered user #226476
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
for mail server add a static route
as root do the following route add -host your.mail.server.com gw ppp.gateway.ip.addr eg : route add -host 202.54.1.82 gw 203.196.11.136 and a default route for browsing route add default gw hathway.gateway.ip.addr regards lilo
----- Original Message ----- From: noel seq noelseq@hotmail.com To: linuxers@mm.ilug-bom.org.in Sent: Thursday, September 13, 2001 12:41 PM Subject: [ILUG-BOM] Using Two gateways
Hi luggers,
Is it possible to use two gateways, one from a fixed ip provider (hathway) on my eth1 and the other from dial-up (vsnl) on my ppp0 (modem)
Using hathway, i can browse better, but download of mails is painfully
slow.
Using vsnl dial-up, i am able download mails, but browsing is very slow. Moreover if i use vsnl for browsing, it slows my mail download.
Right now i have to manually change the gateway (using linuxconf), and
then
connect to vsnl. After downloading the mails, i disconnect and switch to hathway.
I tried man route to change the routing rules manually, but it does not work. route add gw 202.88.136.1 Nm 0.0.0.0 dev eth1
Suggestions please
Noel.
Gnu/Linux registered user #226476
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
On Thu, 13 Sep 2001, noel seq wrote:
Is it possible to use two gateways, one from a fixed ip provider (hathway) on my eth1 and the other from dial-up (vsnl) on my ppp0 (modem)
Use special domain routing.
For your mail server, add vsnl as a gateway, for everything else, set hathway as a gateway.
Something like this:
route add -host ip_of_your_mail_server gw vsnl_gateway dev ppp0
You may have to have one line for each ip of your mail server (since vsnl's mail servers have multiple ips (load balancing)).
Put this in your dial-up scrips to replace the global routing command in there.
In your hathway ifcfg script (eth1), leave it as it is.
Philip
I have a dial up connection and whenever I run fetchmail (after connection) it gives me the following error.
fetchmail: timeout after 300 seconds waiting for server pop.softhome.net. fetchmail: Query status=7 (ERROR) client/server synchronization error while fetching from pop.softhome.net
Anu idea what cud be the reason?? I have sendmail runnoing properly and mail thru MUA works fine but however i wanted to configure fetchmail so that mails of all users can come and go together.
Goldwyn :o)
On Tue, 11 Sep 2001, Goldwyn Rodrigues wrote:
I have a dial up connection and whenever I run fetchmail (after connection) it gives me the following error.
fetchmail: timeout after 300 seconds waiting for server pop.softhome.net. fetchmail: Query status=7 (ERROR) client/server synchronization error while fetching from pop.softhome.net
problem with softhome. Try telnetting to port 110 and see how long it takes to respond. I've had the same problems with softhome, which is why I never use that account. Really slow server, times out very often.
Philip