Re: load balance [OT?]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin wrote:
On Wed, 2008-06-04 at 00:09 +0700, Mark Perry wrote:
Martin wrote:
On Tue, 2008-06-03 at 23:51 +0700, Mark Perry wrote:
Martin wrote:

#Rules for ISPs
ip rule add $ISP1_IP table 1
ip rule add $ISP2_IP table 2

Are these rules working?
shouldn't they be:

ip rule add from $ISP1_IP table 1
ip rule add from $ISP2_IP table 2


mark

Actually the do work. Why they shouldn't?



I tried then on a system at hand (OK 2.6.16 with iproute2 2.6.15) and I got a parse error without the "from".

I'm no expert (an enthusiast maybe) - just another pair of eyes ;-)

mark


Mmmm...don't know...could it be a different iproute package?

I've installed a Debian "apt-get" one.

#dpkg -l | grep iproute

ii   iproute			20061002-3


May be I can try downloading source and compiling

Thanks for the extra eyes :)

Well the important thing is do (after a reboot and rerun of your shell script):

ip route show
ip route show table 1
ip route show table 2
and
ip rule show

Produce the expected results?

mark
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux