[LARTC] Multiple uplinks - load balancing

Julian Anastasov ja@ssi.bg
Sat, 7 Feb 2004 02:07:16 +0200 (EET)


	Hello,

On Fri, 6 Feb 2004, Rokas wrote:

> have their own SMTP servers. I have to use only one SMTP server to
> send e-mail, so I set up SMTP server of ISP1 in my e-mail client
> program. But because of load balancing, SMTP traffic sometimes go
> through the second line ISP2, and then the SMTP server of ISP1 refuses
> to accept my message.
>
> So I would like to "tie" SMTP traffic to ISP1 line. What rules should

What about

/sbin/ip rule add prio 80 to $SMTP_IP table 201

Regards

--
Julian Anastasov <ja@ssi.bg>