Multipath Connection problem on RH-8.0

Linux Advanced Routing and Traffic Control

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

 



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


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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux