Re: Random routes, possible?

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

 



On Mon, Jul 31, 2000 at 11:30:33AM -0400, Jonathan Earle wrote:
> 
> Hi,
> 
> If I have two nodes, A and B, with two possible routes between them via
> routers R1 and R2 (see diagram below), is there a way to have the traffic
> split between the two routes?  I'm playing with the latest dev. kernels so
> can take advantage of new toys if they are present.  I've seen router
> redundancy protocol implementations mentioned on other lists, but what I
> want is not so much failover, but rather, multiple simultaneous traffic
> flows.

The multipath routing in Linux 2.2 does that fine.

You need to have multipath routing enabled in the kernel configuration.

ip route add net/prefix nexthop dev eth1 weight 1 nexthop dev eth2 weight 1

Note, it is true route balancing, no load balancing by packet.

For details see the iproute2 documentation.


-Andi
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux