Dynamic bandwidth allocation ?
Dear All,
I have some doubt.
1) Is dynamic bandwidth allocation using tc is possible?
2) If yes, the how to implement it.
3) Is it possible to implement it with cbq.init script
Thanks in advance
regards
shekhar
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 10 lines · Chandrashekhar Rane
Dear All,
I have some doubt.
1) Is dynamic bandwidth allocation using tc is possible?
2) If yes, the how to implement it.
3) Is it possible to implement it with cbq.init scriptThanks in advance
What do you mean with "dynamic bandwidth allocation"?? Can you give an example.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear Mohan,
Thanks for the reply.
No, not time based.
Consider a example, say i have a pipe of 10kbps. I am dividing this pipe in three classes with bandiwdth of 1kbps, 1.5kbps and 7.5kbps respectively.
I am trying to implement this using CBQ with fw filter.
1kbps pipe i am allocating to fixed ip say 192.168.2.12 and 1.5kbps pipe i am allocating to another ip say 192.168.2.22 and remaining 7.5kbps pipe i am allocating to 192.168.2.0/24 network.
If the person sitting on 192.168.2.12 or 192.168.2.22 is absent for the day, then the bandwidth allocated to them should be release for the other user.
How to achieve this objective.
Waiting for a kind response from your side.
regards
shekhar
Quoted 32 lines · S Mohan
Yes. I guess by Dynamic you mean time based. It is already available in cbq.init. If you want it controlled by threshold values of traffic, cbq.init does not have it. I think I saw something in www.apconnectors.net on this line in this same list.
Mohan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Chandrashekhar Rane
Sent: Thursday, November 07, 2002 6:40 PM
To: [email protected]
Subject: [LARTC] Dynamic bandwidth allocation ?Dear All,
I have some doubt.
1) Is dynamic bandwidth allocation using tc is possible?
2) If yes, the how to implement it.
3) Is it possible to implement it with cbq.init scriptThanks in advance
regards
shekhar
Quoted 4 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear Michael,
Thanks for the reply.
By dynamic allocation of bandwidth i mean to say, it should get allocated according to the situation to the individual classes.
Consider a example, say i have a pipe of 10kbps. I am dividing this pipe in three classes with bandwidth of 1kbps, 1.5kbps and 7.5kbps respectively.
I am trying to implement this using CBQ with fw filter.
1kbps pipe i am allocating to fixed ip say 192.168.2.12 and 1.5kbps pipe i am allocating to another ip say 192.168.2.22 and remaining 7.5kbps pipe i am allocating to 192.168.2.0/24 network.
If the person sitting on 192.168.2.12 or 192.168.2.22 is absent for the day, then the bandwidth allocated to them should be release for the other user.
How to achieve this objective.
Waiting for a kind response from your side.
regards
shekhar
Quoted 16 lines · Michael T. Babcock
Quoted 4 lines · Stef Coene
What do you mean with "dynamic bandwidth allocation"?? Can you give an example.
I have a feeling one could implement what he's requesting by using priorities with unnecessarily high bandwidth values ...
Signature · 3 lines
Michael T. Babcock C.T.O., FibreSpeed Ltd. http://www.fibrespeed.net/~mbabcock
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear Stef,
Thanks for the reply.
By dynamic allocation of bandwidth i mean to say, it should get allocated according to the situation to the individual classes.
Consider a example, say i have a pipe of 10kbps. I am dividing this pipe in three classes with bandwidth of 1kbps, 1.5kbps and 7.5kbps respectively.
I am trying to implement this using CBQ with fw filter.
1kbps pipe i am allocating to fixed ip say 192.168.2.12 and 1.5kbps pipe i am allocating to another ip say 192.168.2.22 and remaining 7.5kbps pipe i am allocating to 192.168.2.0/24 network.
If the person sitting on 192.168.2.12 or 192.168.2.22 is absent for the day, then the bandwidth allocated to them should be release for the other user.
How to achieve this objective.
Waiting for a kind response from your side.
regards
shekhar
Quoted 10 lines · Stef Coene
Quoted 9 lines · Chandrashekhar Rane
Dear All,
I have some doubt.
1) Is dynamic bandwidth allocation using tc is possible?
2) If yes, the how to implement it.
3) Is it possible to implement it with cbq.init script
Quoted 13 lines
Quoted 1 line
Thanks in advance
What do you mean with "dynamic bandwidth allocation"?? Can you give an example.
Stef
Signature · 4 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear Mohan,
Thanks for the reply.
If you send the URL for Stef Coene site, then it will be helpful for me.
One more thing. If i used dialup modem for internet connection, then i might not gate the same amount of bandwidth through out. How to overcome this situation.
regards
shekhar
Quoted 80 lines · S Mohan
You have to fix a ceiling for these classes to the max bandwidth and use sfq for the children leaves. Thus the spare bandwidth of the parent unused by nay child is allocated evenly to the other children. Stef Coene's site has examples of this
Mohan-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Chandrashekhar Rane
Sent: 08 November 2002 09:42
To: [email protected]
Subject: RE: [LARTC] Dynamic bandwidth allocation ?Dear Mohan,
Thanks for the reply.
No, not time based.
Consider a example, say i have a pipe of 10kbps. I am dividing this pipe in three classes with bandiwdth of 1kbps, 1.5kbps and 7.5kbps respectively.I am trying to implement this using CBQ with fw filter.
1kbps pipe i am allocating to fixed ip say 192.168.2.12 and 1.5kbps pipe i am allocating to another ip say 192.168.2.22 and remaining 7.5kbps pipe i am allocating to 192.168.2.0/24 network.
If the person sitting on 192.168.2.12 or 192.168.2.22 is absent for the day, then the bandwidth allocated to them should be release for the other user.
How to achieve this objective.
Waiting for a kind response from your side.
regards
shekharQuoted 32 lines · S Mohan
Yes. I guess by Dynamic you mean time based. It is already available in cbq.init. If you want it controlled by threshold values of traffic, cbq.init does not have it. I think I saw something in www.apconnectors.net on this line in this same list.
Mohan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Chandrashekhar Rane
Sent: Thursday, November 07, 2002 6:40 PM
To: [email protected]
Subject: [LARTC] Dynamic bandwidth allocation ?Dear All,
I have some doubt.
1) Is dynamic bandwidth allocation using tc is possible?
2) If yes, the how to implement it.
3) Is it possible to implement it with cbq.init scriptThanks in advance
regards
shekharQuoted 4 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
What do you mean "smart htb/cbq setup"? Please, can you detail with some examples?
Thanks,
R.
Quoted 5 lines · --- Stef Coene
Quoted 3 lines · SERBAN Rares
Hi Stef,
Try to read this paper.
Quoted 16 lines
I tried but 15p was too much :)
It can be done. But it requires some external scripting to implement it. But
I'm conviced about the benefits. Like Michael said, I think a smart htb/cbq
setup can do the same.Stef
Signature · 4 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 17 lines · Chandrashekhar Rane
Dear Stef,
Thanks for the reply.
By dynamic allocation of bandwidth i mean to say, it should get allocated according to the situation to the individual classes.
Consider a example, say i have a pipe of 10kbps. I am dividing this pipe in three classes with bandwidth of 1kbps, 1.5kbps and 7.5kbps respectively.
I am trying to implement this using CBQ with fw filter.
1kbps pipe i am allocating to fixed ip say 192.168.2.12 and 1.5kbps pipe i am allocating to another ip say 192.168.2.22 and remaining 7.5kbps pipe i am allocating to 192.168.2.0/24 network.
Quoted 7 lines
If the person sitting on 192.168.2.12 or 192.168.2.22 is absent for the day, then the bandwidth allocated to them should be release for the other user.
How to achieve this objective.
Waiting for a kind response from your side.
Very easy to do so.
bounded class of 10kbps
3 child not-bounded classes :
1kbps
1.5 kbps
7.5 kbps3 fiters :
filter 1 pust all 192.168.2.12 in 1 kbps class filter 2 pust all 192.168.2.22 in 1.5 kbps class filter 3 pust all 192.168.2.0/24 in 7.5 kbps class
And you are done.
If 1kbps class is not used, the bandwidth is distributed to the other class. If you want this bandwidth allocated to the 1.5 kbps you can do this :
bounded class of 10kbps
2 child not-bounded classes :
2.5 kbps
2 child not bounded classes :
1 kbps
1.5 kbps
7.5 kbpsStef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear Stef,
Thanks for the reply.
But i want to implement the same for the dialup modem. In which case i don't have the fixed pipe of 10kbps. Because some times dialup modem gives me a bandwidth of 8kbps to 1kbps. In this situation of varing bandwidth how i implement the same.
Waiting for your reply.
regards
shekhar
Quoted 44 lines · Stef Coene
Quoted 17 lines · Chandrashekhar Rane
Dear Stef,
Thanks for the reply.
By dynamic allocation of bandwidth i mean to say, it should get allocated according to the situation to the individual classes.
Consider a example, say i have a pipe of 10kbps. I am dividing this pipe in three classes with bandwidth of 1kbps, 1.5kbps and 7.5kbps respectively.
I am trying to implement this using CBQ with fw filter.
1kbps pipe i am allocating to fixed ip say 192.168.2.12 and 1.5kbps pipe i am allocating to another ip say 192.168.2.22 and remaining 7.5kbps pipe i am allocating to 192.168.2.0/24 network.
Quoted 7 lines
If the person sitting on 192.168.2.12 or 192.168.2.22 is absent for the day, then the bandwidth allocated to them should be release for the other user.
How to achieve this objective.
Waiting for a kind response from your side.
Very easy to do so.
bounded class of 10kbps
3 child not-bounded classes :1kbps 1.5 kbps 7.5 kbps3 fiters :
filter 1 pust all 192.168.2.12 in 1 kbps class filter 2 pust all 192.168.2.22 in 1.5 kbps class filter 3 pust all 192.168.2.0/24 in 7.5 kbps classAnd you are done.
If 1kbps class is not used, the bandwidth is distributed to the other class. If you want this bandwidth allocated to the 1.5 kbps you can do this :bounded class of 10kbps
2 child not-bounded classes :
Quoted 16 lines
2.5 kbps 2 child not bounded classes : 1 kbps 1.5 kbps 7.5 kbpsStef
Signature · 4 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear Serban,
Following is my setup.
I had a gateway machine with dialup modem and ethernet card. I am connected to local LAN using ethernet card.
Now i want to implement a CBQ + fw filter base bandwidth management system.
The problem i faced is
1) I had a modem which is connected with my ISP for browsing, downloading etc..,
2) The modem doesn't give me fixed bandwidth.
Now how i assume a fixed pipe, or how i play with the bandwidth available at particular moment so every user get a fair chance.
Suppose i want to create a three class. say class A, class B, class C. Class A is for high priority traffic.
class B is for low priority traffic.
class C is for Some specific ports.
Then how i implement this with dynamic bandwidth which i rev, using modem.
Thanks in advance.
shekhar
Quoted 40 lines · SERBAN Rares
Hi Shekhar,
Please read the paper in attachment. Two things you can do with the CBQ: to guarantee bandwidth and sharing the excess bandwidth. May be, you need a dynamic allocation for free bandwidth and you can use CBQ link-sharing propreties or, may be, you need a dynamic allocation of the guaranteed bandwidth. Yes, you can do with tc dynamic allocation of bandwidth!
No, it is not possible to implement with cbq.ini. My, advise is to understand the CBQ implementation.Best regards,
R.
--- Chandrashekhar Rane <[email protected]>Quoted 19 lines · wrote:
Dear All,
I have some doubt.
1) Is dynamic bandwidth allocation using tc is
possible?
2) If yes, the how to implement it.
3) Is it possible to implement it with cbq.init
scriptThanks in advance
regards
shekharQuoted 3 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
Quoted 8 lines
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/