Re: Multiple uplinks - load balancing

Julian Anastasov
2004-02-07T00:07:16Z

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>