Hi Everybody in the list I have a situation like this ------ (IP1) linux |----eth0.40------ | router | | | box | (IP2) |------|Client Router ( Destiantion Net DNET) |----eth0.41------ | | /27 subnet ------ I just want to balance the load of bandwidth per packet based between the two vlan interfaces to Client Destination network What i have done is : ////////// bash#/sbin/ip route add equalize $DNET scope global nexthop via $IP1 dev eth0.40 weight 1 nexthop via $IP2 dev eth0.41 weight 1 ///////// bash#ip route show $DNET $DNET equalize nexthop via $IP1 dev eth0.40 weight 1 nexthop via $IP2 dev eth0.41 weight 1 But the traffic towards the $DNET does not seem equalized at all It goes out allways to the same interface Is this a problem of route caching or the equalize patch needs to be applied to 2.6.17 kernel , or then I am missing something ??? Thanks a lot Hysen Hoxha Albtelco Albania
On Friday 19 January 2007 08:13, hhoxha wrote:> Hi > Everybody in the list > > I have a situation like this > > ------ (IP1) > linux |----eth0.40------ | > router | | | > box | (IP2) |------|Client Router ( Destiantion Net DNET) > > |----eth0.41------ | | /27 subnet > > ------ > > > I just want to balance the load of bandwidth per packet based between the > two vlan interfaces to Client Destination network > What i have done is : > > ////////// > bash#/sbin/ip route add equalize $DNET scope global nexthop via > $IP1 dev eth0.40 weight 1 nexthop via $IP2 dev eth0.41 > weight 1 > ///////// > bash#ip route show $DNET > > $DNET equalize > nexthop via $IP1 dev eth0.40 weight 1 > nexthop via $IP2 dev eth0.41 weight 1 > > But the traffic towards the $DNET does not seem equalized at all > It goes out allways to the same interface > > Is this a problem of route caching or the equalize patch needs to be > applied to 2.6.17 kernel , or then I am missing something ???Equalize is a patch for 2.4, it never get''s mainline, and there is no 2.6 version AFAIK.The iproute option is there, but without the patch does nothing. -- Luciano
On Fri, 19 Jan 2007 12:37:54 -0300, Luciano Ruete wrote> Equalize is a patch for 2.4, it never get''s mainline, and there is > no 2.6 version AFAIK.The iproute option is there, but without the > patch does nothing.Interesting. I used vanilla 2.4 and didn''t need equalize patch. Are you sure equalize patch is needed for 2.4?> -- > LucianoBests, Tomasz Chilinski.