From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muhammad Reza Date: Wed, 12 May 2004 07:25:08 +0000 Subject: [LARTC] Multipath Connection problem on RH-8.0 Message-Id: <40A1D154.5080508@mra.co.id> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------020300030003000706010409" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --------------020300030003000706010409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------020300030003000706010409 Content-Type: text/plain; name="script" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="script" 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 --------------020300030003000706010409-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/