All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [LARTC] bandwidth shaping over multiple WAN links
@ 2003-07-26  9:47 hare ram
  2003-07-26  9:51 ` madhuri
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hare ram @ 2003-07-26  9:47 UTC (permalink / raw)
  To: lartc

Hi Madhuri

yes its possible,

you can make all link one big pipe and share the load  equally

to do this you need to add some patches to you kernel

you did not mention what distro are you using

iam using redhat 9.0, with multiple links working fine


best of luck

hare

----- Original Message ----- 
From: "madhuri" <madhuri@cc.iitb.ac.in>
To: <lartc@mailman.ds9a.nl>
Sent: Saturday, July 26, 2003 3:09 PM
Subject: [LARTC] bandwidth shaping over multiple WAN links


> 
> Hi,
> 
> We have three WAN links each of capacity 2 Mbps.
> 
> There is a one linux box per link which is used for NAT and firewall. So
> I have three linux boxes and three WAN links to talk to the internet.
> 
> We want to do bandwidth shaping over these three links. I know
> individually we can do bandwidth shaping for a particular WAN link using
> linux tc tool. I can repeat the same bandwidth shaping commands for
> other two links also. However it would be better if I can treat three
> links as one big WAN pipe and do the bandwidth shaping for all of them
> at one place. Is it possible?
> 
> I am just thinking aloud and not sure if that is possible or not.
> 
> 
> Thanks,
> Madhuri
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

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

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

* [LARTC] bandwidth shaping over multiple WAN links
  2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
@ 2003-07-26  9:51 ` madhuri
  2003-07-26 10:54 ` Madhuri Patwardhan
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: madhuri @ 2003-07-26  9:51 UTC (permalink / raw)
  To: lartc


Hi,

We have three WAN links each of capacity 2 Mbps.

There is a one linux box per link which is used for NAT and firewall. So
I have three linux boxes and three WAN links to talk to the internet.

We want to do bandwidth shaping over these three links. I know
individually we can do bandwidth shaping for a particular WAN link using
linux tc tool. I can repeat the same bandwidth shaping commands for
other two links also. However it would be better if I can treat three
links as one big WAN pipe and do the bandwidth shaping for all of them
at one place. Is it possible?

I am just thinking aloud and not sure if that is possible or not.


Thanks,
Madhuri

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

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

* Re: [LARTC] bandwidth shaping over multiple WAN links
  2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
  2003-07-26  9:51 ` madhuri
@ 2003-07-26 10:54 ` Madhuri Patwardhan
  2003-07-26 11:36 ` hare ram
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Madhuri Patwardhan @ 2003-07-26 10:54 UTC (permalink / raw)
  To: lartc



We are using redhat 8.0, however we can switch to redhat 9.0 if required.

So you have one linux box with multiple ethernet cards each connected to a
seperate WAN link and you are doing traffic shaping over these links?

I have read about load balancing with 'teq' or something like that with
linux. Are you refering to that?

Madhuri


On Sat, 26 Jul 2003, hare ram wrote:

> Hi Madhuri
>
> yes its possible,
>
> you can make all link one big pipe and share the load  equally
>
> to do this you need to add some patches to you kernel
>
> you did not mention what distro are you using
>
> iam using redhat 9.0, with multiple links working fine
>
>
> best of luck
>
> hare
>
> ----- Original Message -----
> From: "madhuri" <madhuri@cc.iitb.ac.in>
> To: <lartc@mailman.ds9a.nl>
> Sent: Saturday, July 26, 2003 3:09 PM
> Subject: [LARTC] bandwidth shaping over multiple WAN links
>
>
> >
> > Hi,
> >
> > We have three WAN links each of capacity 2 Mbps.
> >
> > There is a one linux box per link which is used for NAT and firewall. So
> > I have three linux boxes and three WAN links to talk to the internet.
> >
> > We want to do bandwidth shaping over these three links. I know
> > individually we can do bandwidth shaping for a particular WAN link using
> > linux tc tool. I can repeat the same bandwidth shaping commands for
> > other two links also. However it would be better if I can treat three
> > links as one big WAN pipe and do the bandwidth shaping for all of them
> > at one place. Is it possible?
> >
> > I am just thinking aloud and not sure if that is possible or not.
> >
> >
> > Thanks,
> > Madhuri
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

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

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

* Re: [LARTC] bandwidth shaping over multiple WAN links
  2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
  2003-07-26  9:51 ` madhuri
  2003-07-26 10:54 ` Madhuri Patwardhan
@ 2003-07-26 11:36 ` hare ram
  2003-07-27  6:16 ` S Mohan
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hare ram @ 2003-07-26 11:36 UTC (permalink / raw)
  To: lartc

Hi

Yes, you can achive the same with  RH 8.0 also.
yes iam using multiple ethernet  for internet side ( backbone side)
and one ethernet for LAN side
and loadbalancing all the links..

iam refereing

http://www.ssi.bg/~ja/nano.txt

with the help of  julian, i have achived this for load balancing

for shaping the b/w best places are

www.lartc.org
www.docum.org ( stef)

will help you lot

best of luck

hare
----- Original Message -----
From: "Madhuri Patwardhan" <madhuri@cc.iitb.ac.in>
To: "hare ram" <hareram@sol.net.in>
Cc: <lartc@mailman.ds9a.nl>
Sent: Saturday, July 26, 2003 4:12 PM
Subject: Re: [LARTC] bandwidth shaping over multiple WAN links


>
>
> We are using redhat 8.0, however we can switch to redhat 9.0 if required.
>
> So you have one linux box with multiple ethernet cards each connected to a
> seperate WAN link and you are doing traffic shaping over these links?
>
> I have read about load balancing with 'teq' or something like that with
> linux. Are you refering to that?
>
> Madhuri
>
>
> On Sat, 26 Jul 2003, hare ram wrote:
>
> > Hi Madhuri
> >
> > yes its possible,
> >
> > you can make all link one big pipe and share the load  equally
> >
> > to do this you need to add some patches to you kernel
> >
> > you did not mention what distro are you using
> >
> > iam using redhat 9.0, with multiple links working fine
> >
> >
> > best of luck
> >
> > hare
> >
> > ----- Original Message -----
> > From: "madhuri" <madhuri@cc.iitb.ac.in>
> > To: <lartc@mailman.ds9a.nl>
> > Sent: Saturday, July 26, 2003 3:09 PM
> > Subject: [LARTC] bandwidth shaping over multiple WAN links
> >
> >
> > >
> > > Hi,
> > >
> > > We have three WAN links each of capacity 2 Mbps.
> > >
> > > There is a one linux box per link which is used for NAT and firewall.
So
> > > I have three linux boxes and three WAN links to talk to the internet.
> > >
> > > We want to do bandwidth shaping over these three links. I know
> > > individually we can do bandwidth shaping for a particular WAN link
using
> > > linux tc tool. I can repeat the same bandwidth shaping commands for
> > > other two links also. However it would be better if I can treat three
> > > links as one big WAN pipe and do the bandwidth shaping for all of them
> > > at one place. Is it possible?
> > >
> > > I am just thinking aloud and not sure if that is possible or not.
> > >
> > >
> > > Thanks,
> > > Madhuri
> > >
> > > _______________________________________________
> > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

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

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

* RE: [LARTC] bandwidth shaping over multiple WAN links
  2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
                   ` (2 preceding siblings ...)
  2003-07-26 11:36 ` hare ram
@ 2003-07-27  6:16 ` S Mohan
  2003-07-28 17:43 ` Stef Coene
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: S Mohan @ 2003-07-27  6:16 UTC (permalink / raw)
  To: lartc

I've read this based on this post. It deals with static IP scenario for both
links. If we have two DSL links on dynamic IP and pppd inserts default
route. If we run pppd/ppoe on two links and want to load balance between
these links, how do we get pppd to add these links as alternate default
routes with weights? Or do we have to do this explicitly with ppp-up?

Mohan

-----Original Message-----
From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On
Behalf Of hare ram
Sent: Saturday, July 26, 2003 4:54 PM
To: Madhuri Patwardhan
Cc: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] bandwidth shaping over multiple WAN links


Hi

Yes, you can achive the same with  RH 8.0 also.
yes iam using multiple ethernet  for internet side ( backbone side)
and one ethernet for LAN side
and loadbalancing all the links..

iam refereing

http://www.ssi.bg/~ja/nano.txt

with the help of  julian, i have achived this for load balancing

for shaping the b/w best places are

www.lartc.org
www.docum.org ( stef)

will help you lot

best of luck

hare
----- Original Message -----
From: "Madhuri Patwardhan" <madhuri@cc.iitb.ac.in>
To: "hare ram" <hareram@sol.net.in>
Cc: <lartc@mailman.ds9a.nl>
Sent: Saturday, July 26, 2003 4:12 PM
Subject: Re: [LARTC] bandwidth shaping over multiple WAN links


>
>
> We are using redhat 8.0, however we can switch to redhat 9.0 if required.
>
> So you have one linux box with multiple ethernet cards each connected to a
> seperate WAN link and you are doing traffic shaping over these links?
>
> I have read about load balancing with 'teq' or something like that with
> linux. Are you refering to that?
>
> Madhuri
>
>
> On Sat, 26 Jul 2003, hare ram wrote:
>
> > Hi Madhuri
> >
> > yes its possible,
> >
> > you can make all link one big pipe and share the load  equally
> >
> > to do this you need to add some patches to you kernel
> >
> > you did not mention what distro are you using
> >
> > iam using redhat 9.0, with multiple links working fine
> >
> >
> > best of luck
> >
> > hare
> >
> > ----- Original Message -----
> > From: "madhuri" <madhuri@cc.iitb.ac.in>
> > To: <lartc@mailman.ds9a.nl>
> > Sent: Saturday, July 26, 2003 3:09 PM
> > Subject: [LARTC] bandwidth shaping over multiple WAN links
> >
> >
> > >
> > > Hi,
> > >
> > > We have three WAN links each of capacity 2 Mbps.
> > >
> > > There is a one linux box per link which is used for NAT and firewall.
So
> > > I have three linux boxes and three WAN links to talk to the internet.
> > >
> > > We want to do bandwidth shaping over these three links. I know
> > > individually we can do bandwidth shaping for a particular WAN link
using
> > > linux tc tool. I can repeat the same bandwidth shaping commands for
> > > other two links also. However it would be better if I can treat three
> > > links as one big WAN pipe and do the bandwidth shaping for all of them
> > > at one place. Is it possible?
> > >
> > > I am just thinking aloud and not sure if that is possible or not.
> > >
> > >
> > > Thanks,
> > > Madhuri
> > >
> > > _______________________________________________
> > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

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

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

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

* Re: [LARTC] bandwidth shaping over multiple WAN links
  2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
                   ` (3 preceding siblings ...)
  2003-07-27  6:16 ` S Mohan
@ 2003-07-28 17:43 ` Stef Coene
  2003-07-29  4:53 ` Madhuri Patwardhan
  2003-07-29  5:39 ` Martin A. Brown
  6 siblings, 0 replies; 8+ messages in thread
From: Stef Coene @ 2003-07-28 17:43 UTC (permalink / raw)
  To: lartc

On Saturday 26 July 2003 11:39, madhuri wrote:
> Hi,
>
> We have three WAN links each of capacity 2 Mbps.
>
> There is a one linux box per link which is used for NAT and firewall. So
> I have three linux boxes and three WAN links to talk to the internet.
>
> We want to do bandwidth shaping over these three links. I know
> individually we can do bandwidth shaping for a particular WAN link using
> linux tc tool. I can repeat the same bandwidth shaping commands for
> other two links also. However it would be better if I can treat three
> links as one big WAN pipe and do the bandwidth shaping for all of them
> at one place. Is it possible?
>
> I am just thinking aloud and not sure if that is possible or not.
It also depends if you want to shape download or upload.  If you want to shape 
upload, you have to realize that you can only use 1 link.  For download, you 
can use 3 links but only if you NAT and you have a lot of connections so you 
can load balance the different connections (like http traffic).  An ftp 
download, will only use 1 link.
This all to say that's not so easy to determine what will be the maximum 
bandiwdth a class can get.  And that's one of the parameters you need to 
create a good tc setup.  But you can create a tc setup that can shape the 3 
links in both directions.  Even if this shaping is not perfect, it still 
beter then not shaping at all.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

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

* Re: [LARTC] bandwidth shaping over multiple WAN links
  2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
                   ` (4 preceding siblings ...)
  2003-07-28 17:43 ` Stef Coene
@ 2003-07-29  4:53 ` Madhuri Patwardhan
  2003-07-29  5:39 ` Martin A. Brown
  6 siblings, 0 replies; 8+ messages in thread
From: Madhuri Patwardhan @ 2003-07-29  4:53 UTC (permalink / raw)
  To: lartc


Hi,

Thanks for the response.

> For download, you
> can use 3 links but only if you NAT and you have a lot of connections so you
> can load balance the different connections (like http traffic).

Can you provide some pointers on how to do this, especially load balancing?


Thanks,

Madhuri


>  An ftp
> download, will only use 1 link.
> This all to say that's not so easy to determine what will be the maximum
> bandiwdth a class can get.  And that's one of the parameters you need to
> create a good tc setup.  But you can create a tc setup that can shape the 3
> links in both directions.  Even if this shaping is not perfect, it still
> beter then not shaping at all.
>

> Stef
>
> --
>
> stef.coene@docum.org
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.oftc.net
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

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

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

* Re: [LARTC] bandwidth shaping over multiple WAN links
  2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
                   ` (5 preceding siblings ...)
  2003-07-29  4:53 ` Madhuri Patwardhan
@ 2003-07-29  5:39 ` Martin A. Brown
  6 siblings, 0 replies; 8+ messages in thread
From: Martin A. Brown @ 2003-07-29  5:39 UTC (permalink / raw)
  To: lartc


Madhuri,

 : > For download, you
 : > can use 3 links but only if you NAT and you have a lot of
 : > connections so you can load balance the different connections (like
 : > http traffic).
 :
 : Can you provide some pointers on how to do this, especially load balancing?

Try the nano HOWTO, posted on Julian Anastasov's site:

  http://www.ssi.bg/~ja/nano.txt

I would recommend searching the archive for previous discussions of this
question.  It comes up about in longer discussions twice a year or so.

  http://www.google.com/search?q=site%3Amailman.ds9a.nl+nano+howto

Good luck,

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

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

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

end of thread, other threads:[~2003-07-29  5:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-26  9:47 [LARTC] bandwidth shaping over multiple WAN links hare ram
2003-07-26  9:51 ` madhuri
2003-07-26 10:54 ` Madhuri Patwardhan
2003-07-26 11:36 ` hare ram
2003-07-27  6:16 ` S Mohan
2003-07-28 17:43 ` Stef Coene
2003-07-29  4:53 ` Madhuri Patwardhan
2003-07-29  5:39 ` Martin A. Brown

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.