* [LARTC] Round Robin
@ 2005-03-12 16:14 M. A. Imam
2005-03-14 13:37 ` Robert Kurjata
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: M. A. Imam @ 2005-03-12 16:14 UTC (permalink / raw)
To: lartc
Hi,
I dont really know if this is the right place to post this question..If its
not pl let me know...
Here is what i am looking for. I have two machines with two ethernet cards.One
of these machine has an ftp server(vsftpd). When i request a file from the
first machine i want that machine be able to start an ftp, and when each of
the packet of the file go to one of the ethernet cards, i want it to go in a
RoundRobin fashion. i.e the first packet for example from eth0 and the second
packet from eth1, and third packet from eth0 again and forth from eth1 and so
on...
what should i do to achieve this kind of scheduling in linux. Any help will be
highly appreciated.
Thanks
Muhammad A. Imam
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Round Robin
2005-03-12 16:14 [LARTC] Round Robin M. A. Imam
@ 2005-03-14 13:37 ` Robert Kurjata
2005-03-14 15:38 ` M. A. Imam
2005-03-19 11:55 ` Andy Furniss
2 siblings, 0 replies; 4+ messages in thread
From: Robert Kurjata @ 2005-03-14 13:37 UTC (permalink / raw)
To: lartc
Witaj M.,
W Twoim liœcie datowanym 12 marca 2005 (17:14:00) mo¿na przeczytaæ:
The scenario you're describing looks similar to bonding devices (via
bonding module) which is used for HA or load balancing situations.
Usually to connect to the managed switch for better (more bandwidth)
performance.
The other end must do the same.
From working setup:
modprobe bonding modeºlance-rr
ip link set dev eth0 down
ip link set dev eth1 down
ip link set dev bond0 up
ifenslave bond0 eth0 eth1
and you have to make bond0 an outgoing interface instead of eth0 eth1
And you will have approx. twice the bandwidth of a single device.
> Hi,
> I dont really know if this is the right place to post this question..If its
> not pl let me know...
> Here is what i am looking for. I have two machines with two ethernet cards.One
> of these machine has an ftp server(vsftpd). When i request a file from the
> first machine i want that machine be able to start an ftp, and when each of
> the packet of the file go to one of the ethernet cards, i want it to go in a
> RoundRobin fashion. i.e the first packet for example from eth0 and the second
> packet from eth1, and third packet from eth0 again and forth from eth1 and so
> on...
> what should i do to achieve this kind of scheduling in linux. Any help will be
> highly appreciated.
> Thanks
> Muhammad A. Imam
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
--
Pozdrowienia,
Robert Kurjata
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [LARTC] Round Robin
2005-03-12 16:14 [LARTC] Round Robin M. A. Imam
2005-03-14 13:37 ` Robert Kurjata
@ 2005-03-14 15:38 ` M. A. Imam
2005-03-19 11:55 ` Andy Furniss
2 siblings, 0 replies; 4+ messages in thread
From: M. A. Imam @ 2005-03-14 15:38 UTC (permalink / raw)
To: lartc
Hi Rob,
Thanks alot man for this solution... But,
Here is the other part... Can i leave the ip link set dev eth0 up(eth0 and
eth1 still up) with bond0 also up. Thats because i have some other traffic
already using eth0 and eth1 separately and i want them to keep using them as
they are... so in other words i need the round robin double speed only for
this ftp application.
Appreciate your help alot.
Muhammad
>=== Original Message From Robert Kurjata <rkurjata@ire.pw.edu.pl> ==>Witaj M.,
>
>W Twoim liœcie datowanym 12 marca 2005 (17:14:00) mo¿na przeczytaæ:
>
>The scenario you're describing looks similar to bonding devices (via
>bonding module) which is used for HA or load balancing situations.
>Usually to connect to the managed switch for better (more bandwidth)
>performance.
>
>The other end must do the same.
>
From working setup:
>modprobe bonding modeºlance-rr
>ip link set dev eth0 down
>ip link set dev eth1 down
>ip link set dev bond0 up
>ifenslave bond0 eth0 eth1
>
>and you have to make bond0 an outgoing interface instead of eth0 eth1
>
>And you will have approx. twice the bandwidth of a single device.
>
>> Hi,
>
>> I dont really know if this is the right place to post this question..If its
>> not pl let me know...
>
>> Here is what i am looking for. I have two machines with two ethernet
cards.One
>> of these machine has an ftp server(vsftpd). When i request a file from the
>> first machine i want that machine be able to start an ftp, and when each of
>> the packet of the file go to one of the ethernet cards, i want it to go in
a
>> RoundRobin fashion. i.e the first packet for example from eth0 and the
second
>> packet from eth1, and third packet from eth0 again and forth from eth1 and
so
>> on...
>
>> what should i do to achieve this kind of scheduling in linux. Any help will
be
>> highly appreciated.
>
>> Thanks
>
>> Muhammad A. Imam
>
>> _______________________________________________
>> LARTC mailing list
>> LARTC@mailman.ds9a.nl
>> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
>
>--
>Pozdrowienia,
> Robert Kurjata
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Round Robin
2005-03-12 16:14 [LARTC] Round Robin M. A. Imam
2005-03-14 13:37 ` Robert Kurjata
2005-03-14 15:38 ` M. A. Imam
@ 2005-03-19 11:55 ` Andy Furniss
2 siblings, 0 replies; 4+ messages in thread
From: Andy Furniss @ 2005-03-19 11:55 UTC (permalink / raw)
To: lartc
M. A. Imam wrote:
> Hi Rob,
>
> Thanks alot man for this solution... But,
>
> Here is the other part... Can i leave the ip link set dev eth0 up(eth0 and
> eth1 still up) with bond0 also up. Thats because i have some other traffic
> already using eth0 and eth1 separately and i want them to keep using them as
> they are... so in other words i need the round robin double speed only for
> this ftp application.
You may be able to do it with the help of netfilter's patch-o-matic Nth
and ROUTE.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-19 11:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-12 16:14 [LARTC] Round Robin M. A. Imam
2005-03-14 13:37 ` Robert Kurjata
2005-03-14 15:38 ` M. A. Imam
2005-03-19 11:55 ` Andy Furniss
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.