Uhhh...does equal cost multipath actually work in Linux 2.2.9?  I've seen
this question asked twice in this list in the last two months, but
never answered.  I'm also looking for user-space tools for setting up
routing based on ipchains -m(ask)s.

With the (Red Hat) standard routing utilities, I have two ethernet cards
with two default routes:

0.0.0.0         12.34.56.78     0.0.0.0         UG    0      0        0 eth1
0.0.0.0         23.45.67.89     0.0.0.0         UG    0      0        0 eth1

I've read Documentation/networking/policy-routing.txt, fetched the
iproute program, and have set up two default routes like this:

default via 12.34.45.67 dev eth1 equalize       # I've done with and
default via 23.45.67.89 dev eth2 equalize       # without "equalize"

In either case, all the ethernet traffic goes out one of the two network
cards.  The only difference I can see between the two alternatives is
_which_ one all the outgoing traffic goes through.

I'm not quite sure how the 2.2.x routing tables and rules fit into this,
if they fit in at all.

>From what I can understand of the kernel code that is conditional
on CONFIG_ROUTE_MULTIPATH, there should be no special user-space
requirements; if the two entries are in the same routing table then the
route lookup should be simply compiled differently and load balancing is
the logical result.  From what I can understand of the iproute utilities,
there is no kernel code at all that implements some of their options.
Before I sink any more time into this, I think I'd like to know whether
the problem is that I can't find and activate some code, or that I have
to write some code.  Hence my question.

What I want all this for is to work around some brain damage on the
part of my newer (and cheaper) ISP, who blocks port 80 on outgoing TCP
connections; they insist that I must use a proxy, while I insist that
their proxy is slow and rarely caches anything I'm interested in anyway.
What I'd like to do is use ipchains to mark outgoing packets for TCP
port 80, route them through another ISP, and equally distribute all the
other packets between the two ISP's.  (Then again, if I can't easily
do the load-balancing, I'll probably just discontinue the broken ISP's
service...they suck in ways other than blocking port 80.)

-- 
Zygo Blaxell, Linux Engineer, Corel Corporation.  [EMAIL PROTECTED] (work) or
[EMAIL PROTECTED] (play).  Opinions above are my own, not Corel's.
Size of 'diff -Nurw [...] winehq corel' as of Sat Jun 12 07:14:00 EDT 1999
Lines/files:  In 21558 / 190, Out 21634 / 202, Both 7399 / 147
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to