All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Per-Packet Load Sharing
@ 2004-03-24 14:19 Tom Williams
  2004-03-24 17:26 ` Daniel Chemko
  2004-04-20 13:03 ` Francesco Del Degan
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Williams @ 2004-03-24 14:19 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

Hi All,
 
Have a quick question, I have been looking / trying for some time now to
figure out away to do Per-Packet Load sharing.  What I have is two
10Mbps Connection between two buildings, I want to configure the router
on each side to load share on a per-packet basis.  Currently I can do
this with some Cisco routers, and simply enable load share per packet on
the interfaces.  Is there a way to do this with Linux somehow?  I have
tried all kinds of patches, etc that I have found but with no success.  
 
I may also want to use this across other types of interfaces like
multiple ppp links (no multilink, just two ppp links) so I guess I need
it to be based on the routing, not on a bonded interface, like it does
with TEQL, etc.
 
Thanks in advance.
 

--

Tom Williams


 

[-- Attachment #2: Type: text/html, Size: 2050 bytes --]

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

* RE: [LARTC] Per-Packet Load Sharing
  2004-03-24 14:19 [LARTC] Per-Packet Load Sharing Tom Williams
@ 2004-03-24 17:26 ` Daniel Chemko
  2004-04-20 13:03 ` Francesco Del Degan
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Chemko @ 2004-03-24 17:26 UTC (permalink / raw)
  To: lartc

If they're both linux, would this work:

Host0: Bridge interface #1 with interface #2. This assumes they're on
the same subnet
Host1: Bridge interface #1 with interface #2. This assumes they're on
the same subnet

On each machine add the following:

iptables -t mangle -m nth --every 2 --packet 0 -m mark ${MY_FIRST_ROUTE}
iptables -t mangle -m nth --every 2 --packet 1 -m mark
${MY_SECOND_ROUTE}

Add ip rule's and ip route's to facilitate the forwarding of the packets
through the lines.
Since the route to whatever you are travelling to is the same on both
physical interfaces, you'll need to specify the dev ${my_if1} or
${my-if2} in order to properly route through the correct device.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Per-Packet Load Sharing
  2004-03-24 14:19 [LARTC] Per-Packet Load Sharing Tom Williams
  2004-03-24 17:26 ` Daniel Chemko
@ 2004-04-20 13:03 ` Francesco Del Degan
  1 sibling, 0 replies; 3+ messages in thread
From: Francesco Del Degan @ 2004-04-20 13:03 UTC (permalink / raw)
  To: lartc

Daniel Chemko wrote:

>If they're both linux, would this work:
>
>Host0: Bridge interface #1 with interface #2. This assumes they're on
>the same subnet
>Host1: Bridge interface #1 with interface #2. This assumes they're on
>the same subnet
>
>On each machine add the following:
>
>iptables -t mangle -m nth --every 2 --packet 0 -m mark ${MY_FIRST_ROUTE}
>iptables -t mangle -m nth --every 2 --packet 1 -m mark
>${MY_SECOND_ROUTE}
>  
>
Hi, do u know how to implement per-connection load-sharing over bridge 
into linux?

thanks...


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2004-04-20 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-24 14:19 [LARTC] Per-Packet Load Sharing Tom Williams
2004-03-24 17:26 ` Daniel Chemko
2004-04-20 13:03 ` Francesco Del Degan

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.