All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] multipath algorithm
@ 2006-03-06 21:55 Andreas Hasenack
  2006-03-15 15:22 ` Eduardo Fernández
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Andreas Hasenack @ 2006-03-06 21:55 UTC (permalink / raw)
  To: lartc

I've been reading about multipath routes and found something that no howto I 
saw mentioned so far: multipath algorithms.

The kernel has the followings:
# zgrep MULTIPATH_ /proc/config.gz
CONFIG_IP_ROUTE_MULTIPATH_CACHED=y
CONFIG_IP_ROUTE_MULTIPATH_RR=m
CONFIG_IP_ROUTE_MULTIPATH_RANDOM=m
CONFIG_IP_ROUTE_MULTIPATH_WRANDOM=m
CONFIG_IP_ROUTE_MULTIPATH_DRR=m
CONFIG_DM_MULTIPATH_EMC

iproute2 also has support for these (at least, it passed them forward to the 
kernel):
static char *mp_alg_names[IP_MP_ALG_MAX+1] = {
        [IP_MP_ALG_NONE] = "none",
        [IP_MP_ALG_RR] = "rr",
        [IP_MP_ALG_DRR] = "drr",
        [IP_MP_ALG_RANDOM] = "random",
        [IP_MP_ALG_WRANDOM] = "wrandom"
};

The "ip route add" option is "mpath". I quickly tried with an adsl modem on 
ppp0 and dialup one on ppp1 and using drr seems to have worked, tcpdump 
showed locally originated traffic going out both interfaces.

Anybody else tried these and care to comment?
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-03-21  8:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06 21:55 [LARTC] multipath algorithm Andreas Hasenack
2006-03-15 15:22 ` Eduardo Fernández
2006-03-15 16:33 ` Andreas Hasenack
2006-03-15 17:32 ` William L. Thomson Jr.
2006-03-15 20:28 ` Jody Shumaker
2006-03-15 21:43 ` William L. Thomson Jr.
2006-03-15 22:06 ` William L. Thomson Jr.
2006-03-15 22:31 ` Jody Shumaker
2006-03-21  8:22 ` Aleksander

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.