All of lore.kernel.org
 help / color / mirror / Atom feed
From: Muhammad Reza <reza@mra.co.id>
To: lartc@vger.kernel.org
Subject: [LARTC] Multipath Connection problem on RH-8.0
Date: Wed, 12 May 2004 07:25:08 +0000	[thread overview]
Message-ID: <40A1D154.5080508@mra.co.id> (raw)

[-- Attachment #1: Type: text/plain, Size: 922 bytes --]

Dear List.

I try to build multipath connection w/ load balance to internet with two 
different gateway;
My system is RH-8.0 with  iproute-2.4.7-7.90.1.rpm and Kernel-2.4.26 
(patching with Julian A. patch),and follow guide from  
http://www.linuxvirtualserver.org/~julian/nano.txt,
The problem is;
when i try to connect to Internet form gateway machine it;s success , 
but  only one interface is active, no load balancing at all ,
This is my default table
#ip r ls table DEF
default  proto static
        nexthop via 172.16.0.1  dev eth0 weight 256 dead onlink pervasive
        nexthop via 192.168.0.1  dev eth1 weight 1
I search the list about this error, and found that i shall use the 
upgrade version of iproute2, and i compile that too.
but with same config, and new iproute2 i can't connect to internet now.
please be advice, what wrong with my config (attach), and what version 
of linux should work ?

regrads



[-- Attachment #2: script --]
[-- Type: text/plain, Size: 921 bytes --]

ip link set lo up
ip addr add 127.0.0.1/8 brd + dev lo
ip link set eth2 up
ip addr add 10.10.10.1/24 brd + dev eth2
ip rule add prio 50 table main
ip route del default table main
ip link set dev eth0
ip addr flush dev eth0
ip addr add 172.16.0.232/24 brd 172.16.0.255 dev eth0
ip link set dev eth1 up
ip addr flush dev eth1
ip addr add 192.168.0.2/30 brd 192.168.0.3 dev eth1

ip rule add prio 100 from 172.16.0.0/24 table MRA
ip route add default via 172.16.0.1 dev eth0 src 172.16.0.232 proto static table MRA
ip route append prohibit default table MRA metric 1 proto static
ip rule add prio 200 from 192.168.0.2/30 table ADSL
ip route add default via 192.168.0.1 dev eth1 src 192.168.0.2 proto static table ADSL
ip route append prohibit default table ADSL metric 1 proto static
ip rule add prio 222 table DEF
ip route add default table DEF proto static nexthop via 172.16.0.1 dev eth0 nexthop via 192.168.0.1 dev eth1

             reply	other threads:[~2004-05-12  7:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-12  7:25 Muhammad Reza [this message]
2004-05-12 20:31 ` [LARTC] Multipath Connection problem on RH-8.0 Julian Anastasov
2004-05-13  4:38 ` Muhammad Reza
2004-05-13  7:23 ` Julian Anastasov

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=40A1D154.5080508@mra.co.id \
    --to=reza@mra.co.id \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.