micro wap | 14 Oct 12:44
Picon
Favicon

[quagga-users 7632] Multipath kernel modules

Hi folks,

How to use the multipath kernel modules, random,
wrandom, rr, and drr? I have ECMP running in my OSPF
testbed, but when I am uploading the modules there is
no change in the behaviour of my multipath setup. 

I am using modprobe multipath_drr and I can see the
module with lsmod. Does anybody have different
multipath modules running?

Regards

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Piotr Chytla | 15 Oct 02:30
Picon

[quagga-users 7634] Re: Multipath kernel modules

On Sat, Oct 14, 2006 at 12:44:38PM +0200, micro wap wrote:
> Hi folks,
Hi

> How to use the multipath kernel modules, random,
> wrandom, rr, and drr? I have ECMP running in my OSPF
> testbed, but when I am uploading the modules there is
> no change in the behaviour of my multipath setup. 
> 
> I am using modprobe multipath_drr and I can see the
> module with lsmod. Does anybody have different
> multipath modules running?
> 
Month ago I have written patch for quagga 0.99.4/5/CVS , 
with my patch you can select multipath policy for route - rr/drr/etc

patch for quagga 0.99.4 :

http://lists.quagga.net/pipermail/quagga-dev/2006-September/004363.html

quagga 0.99.5 CVS (checkout from 2006.10.01)

http://thor.packetconsulting.pl/~pch/patches/zebra-multipath.diff
http://thor.packetconsulting.pl/~pch/patches/multipath.h

If you want to use quagga cvs snapshot , download it from quagga.net, 
apply zebra-mutlipath.diff , move multipath.h to zebra/ directory.

For building quagga with multipath policy support you need to refresh 
configure / Makefile and rest of the stuff - make sure you have
(Continue reading)

Erdenebayar Buriad | 24 Oct 04:52
Picon

[quagga-users 7670] Re: Multipath kernel modules

Hi Piotr

First I want to say, Thank you for new patch of Quagga.
I am using a Quagga with your new patch.

Before my question, I want to say that without new patch, some times I could 
see load balancing on my testbed.

My questions are :

> Bad news :
>
> You can use multipath policy only for packets from local sockets on 
> machine
> with multiple uplinks, not routed via this machine.
>
>     |----|     eth0     |----|
> A    |    |<-----------> |    |        B
> ---> | X  |     eth1     | Y  | ------->
>     |    |<-----------> |    |
>     |----|              |----|
>
> All packets coming from X ->Y / X->B, and Y -> X / Y -> A will use 
> multipath policy ,
> but not packets from A-> B (most important in this scenario).

1. When I did  a test of load balancing like your network case (X ->Y / 
X->B), load balancing was not very stabile.
It means some times (especially, first several duration of the test) two 
flows were using only one route.
(Continue reading)

Piotr Chytla | 25 Oct 00:39
Picon

[quagga-users 7679] Re: Multipath kernel modules

On Tue, Oct 24, 2006 at 11:52:08AM +0900, Erdenebayar Buriad wrote:
> Hi Piotr
Hi

> >    |----|     eth0     |----|
> >A   |    |<-----------> |    |        B
> >--->| X  |     eth1     | Y  | ------->
> >    |    |<-----------> |    |
> >    |----|              |----|
> 
[..]

> 1. When I did  a test of load balancing like your network case (X ->Y / 
> X->B), load balancing was not very stabile.
> It means some times (especially, first several duration of the test) two 
> flows were using only one route.
> How was your case of test ?
> 
> 2. What do you think that Can we use load balancing in following case ?
> All packets coming from X -> B, but different routes using eth0 and eth1.
> (X - eth0 ->B , X - eth1 ->B)
> I did the test with this case, but I can see a load balancing some times 
> (may be about 20% of all packet transfer process)
> 
Hmm, In my testbed I've :

X.eth0(10.200.10.2) ---> Y.eth1.10(10.200.10.1)
X.eth1(10.200.20.2) ---> Y.eth1.20(10.200.20.1)
X.eth2(10.1.0.254)

(Continue reading)

micro wap | 15 Oct 14:12
Picon
Favicon

[quagga-users 7635] Re: Multipath kernel modules

Hi Piotr,
thanks for the quick response:) 
Here are some further questions.
1) Are you able to switch the multipath routing
modules when quagga is working? Or do you need to
reconfigure quagga each time after you changed the
module?
2) What is the default multipath routing, when the
kernel only has the multipath module activated, no
furhter modules are running? Is it randomized? My two
flows are bouncing from one interface to the other
after some while (ca. every 5 minutes more/less,
togher and separated).

About your scenario I would be happy to see it woring
in my testbed anyway:) Y is my termial that is
attached to X as a base station. Are you currently
working on this scenario to provide the routing via Y?

Regards

--- Piotr Chytla <pch@...> schrieb:

> On Sat, Oct 14, 2006 at 12:44:38PM +0200, micro wap
> wrote:
> > Hi folks,
> Hi
>  
> > How to use the multipath kernel modules, random,
> > wrandom, rr, and drr? I have ECMP running in my
(Continue reading)

Piotr Chytla | 16 Oct 00:21
Picon

[quagga-users 7640] Re: Multipath kernel modules

On Sun, Oct 15, 2006 at 02:12:15PM +0200, micro wap wrote:
> Hi Piotr,
hi

> thanks for the quick response:) 
> Here are some further questions.
> 1) Are you able to switch the multipath routing
> modules when quagga is working? Or do you need to
> reconfigure quagga each time after you changed the
> module?

yes, becouse each multipath module is serving 
diffrent policy algorithm. 

> 2) What is the default multipath routing, when the
> kernel only has the multipath module activated, no
> furhter modules are running? Is it randomized? My two
> flows are bouncing from one interface to the other
> after some while (ca. every 5 minutes more/less,
> togher and separated).
> 
Without CONFIG_IP_ROUTE_MULTIPATH_CACHED , you have 
random distribiution(check net/ipv4/fib_semantics.c 
function fib_select_multipath()). 
But it is depend on route caching and other things.

See this : http://lkml.org/lkml/2004/9/13/61

> About your scenario I would be happy to see it woring
> in my testbed anyway:) Y is my termial that is
(Continue reading)

micro wap | 25 Oct 15:57
Picon
Favicon

[quagga-users 7684] Re: Multipath kernel modules

Hi Piotr,
hi list,

Indeed, the path seems working well. But in the case
of forwarding packets, ingress packets will be routed
as there is *no* multipath_cached. This is needed to
avoid any out of order during transmissions. Does it
means that the kernel multipath modules do not have
any functions in this case? Or does anybody know, how
to use these modules when ECMP is available and we
have multiple routes for packets which have to be
forwarded?

Regards

--- Piotr Chytla <pch@...> schrieb:

> On Sun, Oct 15, 2006 at 02:12:15PM +0200, micro wap
> wrote:
> > Hi Piotr,
> hi
> 
> > thanks for the quick response:) 
> > Here are some further questions.
> > 1) Are you able to switch the multipath routing
> > modules when quagga is working? Or do you need to
> > reconfigure quagga each time after you changed the
> > module?
> 
> yes, becouse each multipath module is serving 
(Continue reading)

micro wap | 16 Oct 05:20
Picon
Favicon

[quagga-users 7644] Re: Multipath kernel modules

Hi Piotr,

about your routing scenario and that Y is not willing
to reroute. Do you think that the following might be
considered?

For tqel you should turn off return path filtering,
otherwise it drop packets destined for ip address
other than their own.
http://www.linuxguruz.com/iptables/howto/2.4routing-10.html

Regards,

--- Piotr Chytla <pch@...> schrieb:

> On Sun, Oct 15, 2006 at 02:12:15PM +0200, micro wap
> wrote:
> > Hi Piotr,
> hi
> 
> > thanks for the quick response:) 
> > Here are some further questions.
> > 1) Are you able to switch the multipath routing
> > modules when quagga is working? Or do you need to
> > reconfigure quagga each time after you changed the
> > module?
> 
> yes, becouse each multipath module is serving 
> diffrent policy algorithm. 
> 
(Continue reading)

micro wap | 16 Oct 03:36
Picon
Favicon

[quagga-users 7643] Re: Multipath kernel modules

Dear Piotr,

regarding your scenario I have some further question,
beause I am doing nearly the same setup. 

eth0 and eth1 have their own ip address, say
192.168.100.1/24 and 192.168.101.1/24 at host Y. Is it
possible to have a third ip address at host Y, say
192.168.102.1/24, without having a third interface?
Can this ip addres be used from OSPF to route traffic
from/to 192.168.102.1/24 but it is able to use the two
interfaces for load balancing, e.g. rr, drr, random,
and wrandom? 

Up to now I do not have any forwarding at Y, so Y is
my targed host. I would like to use 192.168.102.1/24
as the routing address for incoming and outgoing
traffic.

Regards,

--- Piotr Chytla <pch@...> schrieb:

> On Sun, Oct 15, 2006 at 02:12:15PM +0200, micro wap
> wrote:
> > Hi Piotr,
> hi
> 
> > thanks for the quick response:) 
> > Here are some further questions.
(Continue reading)


Gmane