Skip to contentSkip to conversation

ip route add default mpath (rr| drr|random|wrandom)...

LARTC Krzysiek 2 participants 4 messages Sep 26, 2005 – Oct 1, 2005

lore
Share & tools
lore

Krzysiek

author
#0 lore raw

Anyone using it? I've tried but after about 5 min I always get kernel panic. My setup is based on nano.txt. I works well but only if CONFIG_IP_ROUTE_MULTIPATH_CACHED=n. I just wanted to play with the new mpath feature of ip. But enabling CONFIG_IP_ROUTE_MULTIPATH_CACHED always resuts in kernel panic. I'm not using any kernel patches from http://www.ssi.bg/~ja/ - are they needed at all? - They do not apply cean. The kernel is 2.6.13. This configuration does not work:
CONFIG_IP_ROUTE_MULTIPATH=y
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

How should i use these modules? ip route add default mpath (rr| drr|random|wrandom)... does not load the appropriate module automatically. Loading them manualy changes nothing. And issuing this command on kernel where this feature is not enebled does not report any error.

Krzysiek

----------------------------------------------------------------------
Sa niesamowite, zobaczysz... ;-) >>> link http://link.interia.pl/f18b9

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

Hello,

Quoted 2 lines · Krzysiek

Anyone using it? I've tried but after about 5 min I always get kernel panic. My setup is based on nano.txt. I works well but only if CONFIG_IP_ROUTE_MULTIPATH_CACHED=n. I just wanted to play with the new mpath feature of ip. But enabling CONFIG_IP_ROUTE_MULTIPATH_CACHED always resuts in kernel panic. I'm not using any kernel patches from http://www.ssi.bg/~ja/ - are they needed at all? - They do not apply cean. The kernel is 2.6.13. This configuration does not work:

2.6.14-rc2 comes with fixes for CONFIG_IP_ROUTE_MULTIPATH_CACHED,
but i declare that my routing patches are not compatible with this feature, until someone proves that both features work together.

Quoted 6 lines

CONFIG_IP_ROUTE_MULTIPATH=y
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

Regards

--
Julian Anastasov <[email protected]>
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

author
#2 lore raw
In reply to Krzysiek

Hello. Thank you for your answer

Quoted 4 lines

2.6.14-rc2 comes with fixes for CONFIG_IP_ROUTE_MULTIPATH_CACHED,
but i declare that my routing patches are not >compatible with this feature, until someone proves that both features > work together.

Ok. I just wanted to know what are your patches supposed to do. I as far as i know they help when i have multiply links attached to one interface - for example 3 dsl modems attached to one switch and this switch to 1 ethernet port in the serwer. Can these patches do something more?
So ip ... mpath ... is broken at present?

Quoted 1 line

Regards

Regards too

Krzysiek

----------------------------------------------------------------------
Tak niesamowity CZAT... >>> http://link.interia.pl/f18ba

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

author
#3 lore raw
In reply to Krzysiek
Quoted 11 lines
Quoted 5 lines

2.6.14-rc2 comes with fixes for CONFIG_IP_ROUTE_MULTIPATH_CACHED,
but i declare that my routing patches are not >compatible with this feature, until someone proves that both features > work together.

Ok. I just wanted to know what are your patches supposed to do. I as far as i know they help when i have multiply links attached to one interface - for example 3 dsl modems attached to one switch and this switch to 1 ethernet port in the serwer.
Can these patches do something more?

In the previous mail i wrote that i'm not using patches from http://www.ssi.bg/~ja/ but actually i
am. I was doing various experiments and finally
ended with the patched kernel. But forgotten it ;) And this configuartion worked fine: kernel with patches from
http://www.ssi.bg/~ja/ and with CONFIG_IP_ROUTE_MULTIPATH_CACHED=n.
Kernel without these patches also works but not so good. Do not work or work bad:
ftp, https, online communicators.
I've not tested it too much but if it is true than i know now what these patches do. The route is not changed too fast so given connection to the remote serwer is always with the same route (isp, dsl, interface - so with the same source address). This is especially needed if login is required.

Krzysiek

----------------------------------------------------------------------
Tak niesamowity CZAT... >>> http://link.interia.pl/f18ba

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc