From: Mark Perry <rita.co.ltd@googlemail.com>
To: netfilter@vger.kernel.org
Subject: Re: load balance [OT?]
Date: Wed, 04 Jun 2008 00:40:58 +0700 [thread overview]
Message-ID: <4845822A.2060801@googlemail.com> (raw)
In-Reply-To: <1212513911.2539.16766.camel@kr0sty.1.com.ar>
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
next prev parent reply other threads:[~2008-06-03 17:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-02 19:26 load balance [OT?] Martin
2008-06-03 5:56 ` Mark Perry
2008-06-03 13:17 ` Martin
2008-06-03 16:35 ` Martin
[not found] ` <4845768C.5020506@googlemail.com>
2008-06-03 17:06 ` Martin
[not found] ` <48457ACE.7020707@googlemail.com>
2008-06-03 17:25 ` Martin
2008-06-03 17:40 ` Mark Perry [this message]
2008-06-03 17:55 ` Martin
[not found] ` <48458766.2030602@googlemail.com>
2008-06-03 18:13 ` Martin
2008-06-03 20:58 ` Martin
2008-06-03 22:27 ` ArcosCom Linux User
2008-06-04 13:06 ` Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4845822A.2060801@googlemail.com \
--to=rita.co.ltd@googlemail.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox