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/
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/
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/
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 linkusing> > > 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/
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 linkusing> > > 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/
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/
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/
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/