[leaf-user] tc
Hello again averyone, It is nice for me being here because this mailing list are different than other. It's so helpful. Btw, i have a problem again, it's about tc on my bering. I have read the documentation about badwidth management and other technical documentation about tc with a good example there, but when i try to implemented it on my bering, these are what happen: 1. With cbq: # tc qdisc add dev eth0 handle 1: root cbq bandwidth 100Mbit avpkt 1000 mpu 64 RTNETLINK answers: Invalid argument 2. With tbf: # tc qdisc add dev eth0 root tbf rate 64Kbit buffer 5Kb/8 limit 10Kb RTNETLINK answers: Invalid argument My bering always give those kind of messages. I'm tryng to make my client behind my bering, which attach to device eth0 on my bering, to get 64 Kbps rate. I do the default instalation of bering-1.0.rc-3, which is already include tc on it. Is there any idea what should i do now? Thx for the help. hari-huhui - Kemudahan Hosting PlasaCom --- Hosting menjadi lebih mudah dan murah dengan keringanan 50% biaya registrasi mail hosting dan webhosting selama bulan Juni 2002. Klik http://idc.plasa.com untuk pendaftaran --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
[leaf-user] TC?
I'm trying to implement some pretty basic TC stuff. I've got the lrp loaded but I don't really know how to use TC very well. There's so many options, types of queues, etc, etc that frankly I'm a little lost right now. All I need to do is limit a few IPs to a certain speed. Can anyone point me to a site that will show some basics of using TC? Thanks. -- Joe Nelson Air Wired http://www.airwired.net --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] tc
Hari, I don't think bering 1.0-rc3 loads the tc package at boot. Did you add it to the end of your syslinux.cfg file? mount -t msdos /dev/fd0u1680 /mnt less /mnt/syslinux.cfg | grep tc Steve - Original Message - From: "hari-nuryadi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 5:15 PM Subject: [leaf-user] tc > Hello again averyone, > It is nice for me being here because this mailing list are > different than other. It's so helpful. > Btw, i have a problem again, it's about tc on my bering. I > have read the documentation about badwidth management and > other technical documentation about tc with a good example > there, but when i try to implemented it on my bering, these > are what happen: > > 1. With cbq: > # tc qdisc add dev eth0 handle 1: root cbq bandwidth > 100Mbit avpkt 1000 mpu 64 > RTNETLINK answers: Invalid argument > 2. With tbf: > # tc qdisc add dev eth0 root tbf rate 64Kbit buffer 5Kb/8 > limit 10Kb > RTNETLINK answers: Invalid argument > > My bering always give those kind of messages. I'm tryng to > make my client behind my bering, which attach to device > eth0 on my bering, to get 64 Kbps rate. I do the default > instalation of bering-1.0.rc-3, which is already include tc > on it. > Is there any idea what should i do now? > Thx for the help. > hari-huhui > > > - Kemudahan Hosting PlasaCom --- > Hosting menjadi lebih mudah dan murah dengan keringanan 50% biaya registrasi > mail hosting dan webhosting selama bulan Juni 2002. > Klik http://idc.plasa.com untuk pendaftaran > -- -- > > > > > --- > This sf.net email is sponsored by:ThinkGeek > No, I will not fix your computer. > http://thinkgeek.com/sf > > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] tc
Hmm I'm not so sure which part of Bering which include tc in default, but mine used bering-1.0.rc-3 and have tc on it. Maybe i have already add tc.lrp on it, i have checked it on syslinux.cfg and on my harddisk...yes..there is tc on it. I have try googling and i found a mailing list that analyze i have to recompile my kernel to support RTNETLINK, if it's the answer, so the next question is how to recompile kernel on Bering to support RTNETLINK. I've found another documentation to on Bandwidth Management on leaf, but it is based on old Leaf version like dacstein, materhorn, oxygen, etc, did anyone have write documentation on bandwidth management on Bering? I really appreciate if someone could show me the location of the documentation. Thanks for the help. hari-huhui On Tue, 2 Jul 2002 20:14:08 -0700 "Steve Sobka" <[EMAIL PROTECTED]> wrote: > Hari, > > I don't think bering 1.0-rc3 loads the tc package at > boot. Did you add it > to the end of your syslinux.cfg file? > > mount -t msdos /dev/fd0u1680 /mnt > less /mnt/syslinux.cfg | grep tc > > Steve > > - Original Message - > From: "hari-nuryadi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, July 02, 2002 5:15 PM > Subject: [leaf-user] tc > > > > Hello again averyone, > > It is nice for me being here because this mailing list > are > > different than other. It's so helpful. > > Btw, i have a problem again, it's about tc on my > bering. I > > have read the documentation about badwidth management > and > > other technical documentation about tc with a good > example > > there, but when i try to implemented it on my bering, > these > > are what happen: > > > > 1. With cbq: > > # tc qdisc add dev eth0 handle 1: root cbq bandwidth > > 100Mbit avpkt 1000 mpu 64 > > RTNETLINK answers: Invalid argument > > 2. With tbf: > > # tc qdisc add dev eth0 root tbf rate 64Kbit buffer > 5Kb/8 > > limit 10Kb > > RTNETLINK answers: Invalid argument > > > > My bering always give those kind of messages. I'm tryng > to > > make my client behind my bering, which attach to device > > eth0 on my bering, to get 64 Kbps rate. I do the > default > > instalation of bering-1.0.rc-3, which is already > include tc > > on it. > > Is there any idea what should i do now? > > Thx for the help. > > hari-huhui > > > > > > - Kemudahan Hosting > PlasaCom --- > > Hosting menjadi lebih mudah dan murah dengan keringanan > 50% biaya > registrasi > > mail hosting dan webhosting selama bulan Juni 2002. > > Klik http://idc.plasa.com untuk pendaftaran > > > -- > -- > > > > > > > > > > --- > > This sf.net email is sponsored by:ThinkGeek > > No, I will not fix your computer. > > http://thinkgeek.com/sf > > > > > leaf-user mailing list: [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/leaf-user > > SR FAQ: > http://leaf-project.org/pub/doc/docmanager/docid_1891.html > > > > > > > --- > This sf.net email is sponsored by:ThinkGeek > No, I will not fix your computer. > http://thinkgeek.com/sf > > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: > http://leaf-project.org/pub/doc/docmanager/docid_1891.html - Kemudahan Hosting PlasaCom --- Hosting menjadi lebih mudah dan murah dengan keringanan 50% biaya registrasi mail hosting dan webhosting selama bulan Juni 2002. Klik http://idc.plasa.com untuk pendaftaran --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] tc
Aanhalen hari-nuryadi <[EMAIL PROTECTED]>: I don't think you have to recompile anything. I am acutually quite sure since I have been using tc with bering rc2. You are probably just missing some modules. Check http://leaf.sourceforge.net/devel/jnilo/bering/latest/modules/net/sched/ You need cls_fw; sch_cbq or tbf although htb is easier; and maybe some other stuff depending on what you want to do. Load these modules in /etc/modules after they are copied to /lib/modules try again. If you need more help just ask Kim Oppalfens > Hmm > I'm not so sure which part of Bering which include tc in > default, but mine used bering-1.0.rc-3 and have tc on it. > Maybe i have already add tc.lrp on it, i have checked it on > syslinux.cfg and on my harddisk...yes..there is tc on it. > > I have try googling and i found a mailing list that analyze > i have to recompile my kernel to support RTNETLINK, if it's > the answer, so the next question is how to recompile kernel > on Bering to support RTNETLINK. I've found another > documentation to on Bandwidth Management on leaf, but it is > based on old Leaf version like dacstein, materhorn, oxygen, > etc, did anyone have write documentation on bandwidth > management on Bering? > > I really appreciate if someone could show me the location > of the documentation. > > Thanks for the help. > > hari-huhui > > On Tue, 2 Jul 2002 20:14:08 -0700 > "Steve Sobka" <[EMAIL PROTECTED]> wrote: > > Hari, > > > > I don't think bering 1.0-rc3 loads the tc package at > > boot. Did you add it > > to the end of your syslinux.cfg file? > > > > mount -t msdos /dev/fd0u1680 /mnt > > less /mnt/syslinux.cfg | grep tc > > > > Steve > > > > - Original Message - > > From: "hari-nuryadi" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, July 02, 2002 5:15 PM > > Subject: [leaf-user] tc > > > > > > > Hello again averyone, > > > It is nice for me being here because this mailing list > > are > > > different than other. It's so helpful. > > > Btw, i have a problem again, it's about tc on my > > bering. I > > > have read the documentation about badwidth management > > and > > > other technical documentation about tc with a good > > example > > > there, but when i try to implemented it on my bering, > > these > > > are what happen: > > > > > > 1. With cbq: > > > # tc qdisc add dev eth0 handle 1: root cbq bandwidth > > > 100Mbit avpkt 1000 mpu 64 > > > RTNETLINK answers: Invalid argument > > > 2. With tbf: > > > # tc qdisc add dev eth0 root tbf rate 64Kbit buffer > > 5Kb/8 > > > limit 10Kb > > > RTNETLINK answers: Invalid argument > > > > > > My bering always give those kind of messages. I'm tryng > > to > > > make my client behind my bering, which attach to device > > > eth0 on my bering, to get 64 Kbps rate. I do the > > default > > > instalation of bering-1.0.rc-3, which is already > > include tc > > > on it. > > > Is there any idea what should i do now? > > > Thx for the help. > > > hari-huhui > > > > > > > > > - Kemudahan Hosting > > PlasaCom --- > > > Hosting menjadi lebih mudah dan murah dengan keringanan > > 50% biaya > > registrasi > > > mail hosting dan webhosting selama bulan Juni 2002. > > > Klik http://idc.plasa.com untuk pendaftaran > > > > > > -- > > -- > > > > > > > > > > > > > > > --- > > > This sf.net email is sponsored by:ThinkGeek > > > No, I will not fix your computer. > > > http://thinkgeek.com/sf > > > > > > > > > leaf-user mailing list: [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/leaf-user > > > SR FAQ: > > > http://leaf-project.org/pub/doc/docmanager/docid_1891.html > > > > > > > > > > > > > --- > > This sf.net email is sponsored by:ThinkGeek > > No, I will not fix your computer. > > http://thinkgeek.com/sf > > > > > leaf-u
Re: [leaf-user] tc
Thx for your kindness, yeah u r right i haven't load the module yet :) Thx for Jnilo too, i really appreciate your answer. Btw, can u show me the example how to share 64 kbps bandwidth with 2 client (64 kbps 1:2) with tc command using cbq? What i have do succesfully is limit 64 kbps bw on one client based on tbf policy. Thx again for the help. hari-huhui On Wed, 03 Jul 2002 18:33:47 +0200 (CEST) [EMAIL PROTECTED] wrote: > Aanhalen hari-nuryadi <[EMAIL PROTECTED]>: > > I don't think you have to recompile anything. > I am acutually quite sure since I have been using tc > with bering rc2. > You are probably just missing some modules. > > Check > http://leaf.sourceforge.net/devel/jnilo/bering/latest/modules/net/sched/ > > You need cls_fw; sch_cbq or tbf although htb is easier; > and maybe some other > stuff depending on what you want > to do. > > Load these modules in /etc/modules after they are copied > to /lib/modules > try again. > > If you need more help just ask > > Kim Oppalfens > > > Hmm > > I'm not so sure which part of Bering which include tc > in > > default, but mine used bering-1.0.rc-3 and have tc on > it. > > Maybe i have already add tc.lrp on it, i have checked > it on > > syslinux.cfg and on my harddisk...yes..there is tc on > it. > > > > I have try googling and i found a mailing list that > analyze > > i have to recompile my kernel to support RTNETLINK, if > it's > > the answer, so the next question is how to recompile > kernel > > on Bering to support RTNETLINK. I've found another > > documentation to on Bandwidth Management on leaf, but > it is > > based on old Leaf version like dacstein, materhorn, > oxygen, > > etc, did anyone have write documentation on bandwidth > > management on Bering? > > > > I really appreciate if someone could show me the > location > > of the documentation. > > > > Thanks for the help. > > > > hari-huhui > > > > On Tue, 2 Jul 2002 20:14:08 -0700 > > "Steve Sobka" <[EMAIL PROTECTED]> wrote: > > > Hari, > > > > > > I don't think bering 1.0-rc3 loads the tc package at > > > boot. Did you add it > > > to the end of your syslinux.cfg file? > > > > > > mount -t msdos /dev/fd0u1680 /mnt > > > less /mnt/syslinux.cfg | grep tc > > > > > > Steve > > > > > > - Original Message - > > > From: "hari-nuryadi" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Tuesday, July 02, 2002 5:15 PM > > > Subject: [leaf-user] tc > > > > > > > > > > Hello again averyone, > > > > It is nice for me being here because this mailing > list > > > are > > > > different than other. It's so helpful. > > > > Btw, i have a problem again, it's about tc on my > > > bering. I > > > > have read the documentation about badwidth > management > > > and > > > > other technical documentation about tc with a good > > > example > > > > there, but when i try to implemented it on my > bering, > > > these > > > > are what happen: > > > > > > > > 1. With cbq: > > > > # tc qdisc add dev eth0 handle 1: root cbq > bandwidth > > > > 100Mbit avpkt 1000 mpu 64 > > > > RTNETLINK answers: Invalid argument > > > > 2. With tbf: > > > > # tc qdisc add dev eth0 root tbf rate 64Kbit buffer > > > 5Kb/8 > > > > limit 10Kb > > > > RTNETLINK answers: Invalid argument > > > > > > > > My bering always give those kind of messages. I'm > tryng > > > to > > > > make my client behind my bering, which attach to > device > > > > eth0 on my bering, to get 64 Kbps rate. I do the > > > default > > > > instalation of bering-1.0.rc-3, which is already > > > include tc > > > > on it. > > > > Is there any idea what should i do now? > > > > Thx for the help. > > > > hari-huhui > > > > > > > > > > > > - Kemudahan Hosting > > > PlasaCom --- > > > > Hosting menjadi lebih mudah dan murah dengan > keringanan > > > 50% biaya > > > registrasi > > > > mail hosting dan webhosting selama bulan Juni 2002. > > > > Klik http://idc.plasa.com untuk pendaftaran > > > &
Re: [leaf-user] tc
Aanhalen hari-nuryadi <[EMAIL PROTECTED]>: > Thx for your kindness, yeah u r right i haven't load the > module yet :) > Thx for Jnilo too, i really appreciate your answer. No problem. > > Btw, can u show me the example how to share 64 kbps > bandwidth with 2 client (64 kbps 1:2) with tc command using > cbq? > What i have do succesfully is limit 64 kbps bw on one > client based on tbf policy. I don't really understand your question here. Do you have a 64 kb connection coming from the internet which you want to divide to 2 clients? Or is upload traffic that you want to shape? If it is downstream what should happen with the bandwidth when it is not being used by one of the clients? Kim Oppalfens > > Thx again for the help. > > hari-huhui > > On Wed, 03 Jul 2002 18:33:47 +0200 (CEST) > [EMAIL PROTECTED] wrote: > > Aanhalen hari-nuryadi <[EMAIL PROTECTED]>: > > > > I don't think you have to recompile anything. > > I am acutually quite sure since I have been using tc > > with bering rc2. > > You are probably just missing some modules. > > > > Check > > > http://leaf.sourceforge.net/devel/jnilo/bering/latest/modules/net/sched/ > > > > You need cls_fw; sch_cbq or tbf although htb is easier; > > and maybe some other > > stuff depending on what you want > > to do. > > > > Load these modules in /etc/modules after they are copied > > to /lib/modules > > try again. > > > > If you need more help just ask > > > > Kim Oppalfens > > > > > Hmm > > > I'm not so sure which part of Bering which include tc > > in > > > default, but mine used bering-1.0.rc-3 and have tc on > > it. > > > Maybe i have already add tc.lrp on it, i have checked > > it on > > > syslinux.cfg and on my harddisk...yes..there is tc on > > it. > > > > > > I have try googling and i found a mailing list that > > analyze > > > i have to recompile my kernel to support RTNETLINK, if > > it's > > > the answer, so the next question is how to recompile > > kernel > > > on Bering to support RTNETLINK. I've found another > > > documentation to on Bandwidth Management on leaf, but > > it is > > > based on old Leaf version like dacstein, materhorn, > > oxygen, > > > etc, did anyone have write documentation on bandwidth > > > management on Bering? > > > > > > I really appreciate if someone could show me the > > location > > > of the documentation. > > > > > > Thanks for the help. > > > > > > hari-huhui > > > > > > On Tue, 2 Jul 2002 20:14:08 -0700 > > > "Steve Sobka" <[EMAIL PROTECTED]> wrote: > > > > Hari, > > > > > > > > I don't think bering 1.0-rc3 loads the tc package at > > > > boot. Did you add it > > > > to the end of your syslinux.cfg file? > > > > > > > > mount -t msdos /dev/fd0u1680 /mnt > > > > less /mnt/syslinux.cfg | grep tc > > > > > > > > Steve > > > > > > > > - Original Message - > > > > From: "hari-nuryadi" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Tuesday, July 02, 2002 5:15 PM > > > > Subject: [leaf-user] tc > > > > > > > > > > > > > Hello again averyone, > > > > > It is nice for me being here because this mailing > > list > > > > are > > > > > different than other. It's so helpful. > > > > > Btw, i have a problem again, it's about tc on my > > > > bering. I > > > > > have read the documentation about badwidth > > management > > > > and > > > > > other technical documentation about tc with a good > > > > example > > > > > there, but when i try to implemented it on my > > bering, > > > > these > > > > > are what happen: > > > > > > > > > > 1. With cbq: > > > > > # tc qdisc add dev eth0 handle 1: root cbq > > bandwidth > > > > > 100Mbit avpkt 1000 mpu 64 > > > > > RTNETLINK answers: Invalid argument > > > > > 2. With tbf: > > > > > # tc qdisc add dev eth0 root tbf rate 64Kbit buffer > > > > 5Kb/8 > > > > > limit 10Kb > > > > > RTNETLINK answers: Invalid argumen
Re: [leaf-user] tc
At 08:47 5/07/2002, hari-nuryadi wrote: > Do you have a 64 kb connection coming from the internet > > which you > > want to divide to 2 clients? >Yes, i have 64 kb connection coming from the internet and >want to divide it with two clients. Ok > > > > If it is downstream what should happen with the bandwidth > > when it is not being > > used by one of the clients? >If the bandwidth is not used by another client, the other >client can take (borrow) other's client bandwidth so the >64kbps bandwidth is always use. >I have read several documentation about QoS, but i really >still confuse which qdisc should i use that fit with bering >on P166, 16 Mb RAM. Is it cbq, tbf, htb, or else? >Thx agaiin for the help. Since we are talking pretty easy small environment stuff I think htb with fw would be the easiest to implement that is what I use and what the developper of your firewall (shorewall) uses. Check www.shorewall.net on traffic shaping docs. Again if you need extra help just ask. Kim >hari-huhui > > > > > > > Kim Oppalfens > > > > > > Thx again for the help. > > > > > > hari-huhui > > > > > > On Wed, 03 Jul 2002 18:33:47 +0200 (CEST) > > > [EMAIL PROTECTED] wrote: > > > > Aanhalen hari-nuryadi <[EMAIL PROTECTED]>: > > > > > > > > I don't think you have to recompile anything. > > > > I am acutually quite sure since I have been using tc > > > > with bering rc2. > > > > You are probably just missing some modules. > > > > > > > > Check > > > > > > > > > >http://leaf.sourceforge.net/devel/jnilo/bering/latest/modules/net/sched/ > > > > > > > > You need cls_fw; sch_cbq or tbf although htb is > > easier; > > > > and maybe some other > > > > stuff depending on what you want > > > > to do. > > > > > > > > Load these modules in /etc/modules after they are > > copied > > > > to /lib/modules > > > > try again. > > > > > > > > If you need more help just ask > > > > > > > > Kim Oppalfens > > > > > > > > > Hmm > > > > > I'm not so sure which part of Bering which include > > tc > > > > in > > > > > default, but mine used bering-1.0.rc-3 and have tc > > on > > > > it. > > > > > Maybe i have already add tc.lrp on it, i have > > checked > > > > it on > > > > > syslinux.cfg and on my harddisk...yes..there is tc > > on > > > > it. > > > > > > > > > > I have try googling and i found a mailing list that > > > > analyze > > > > > i have to recompile my kernel to support RTNETLINK, > > if > > > > it's > > > > > the answer, so the next question is how to > > recompile > > > > kernel > > > > > on Bering to support RTNETLINK. I've found another > > > > > documentation to on Bandwidth Management on leaf, > > but > > > > it is > > > > > based on old Leaf version like dacstein, materhorn, > > > > oxygen, > > > > > etc, did anyone have write documentation on > > bandwidth > > > > > management on Bering? > > > > > > > > > > I really appreciate if someone could show me the > > > > location > > > > > of the documentation. > > > > > > > > > > Thanks for the help. > > > > > > > > > > hari-huhui > > > > > > > > > > On Tue, 2 Jul 2002 20:14:08 -0700 > > > > > "Steve Sobka" <[EMAIL PROTECTED]> wrote: > > > > > > Hari, > > > > > > > > > > > > I don't think bering 1.0-rc3 loads the tc package > > at > > > > > > boot. Did you add it > > > > > > to the end of your syslinux.cfg file? > > > > > > > > > > > > mount -t msdos /dev/fd0u1680 /mnt > > > > > > less /mnt/syslinux.cfg | grep tc > > > > > > > > > > > > Steve > > > > > > > > > > > > - Original Message - > > > > > > From: "hari-nuryadi" <[EMAIL PROTECTED]> > > > > > > To: <[EMAIL PROTECTED]> > > > > > > Sent: Tuesday, July 02, 2002 5:15 PM > > > >
Re: [leaf-user] TC?
Joe Joe Nelson wrote: I'm trying to implement some pretty basic TC stuff. I've got the lrp loaded but I don't really know how to use TC very well. There's so many options, types of queues, etc, etc that frankly I'm a little lost right now. All I need to do is limit a few IPs to a certain speed. Can anyone point me to a site that will show some basics of using TC? You could have a look at the wondershaper, it's pretty neat. Cheers Erich --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] TC?
On Thu, Mar 17, 2005 at 07:11:17AM +, Erich Titl wrote: > Joe Nelson wrote: > > >I'm trying to implement some pretty basic TC stuff. I've got the lrp > >loaded but I don't really know how to use TC very well. There's so > >many options, types of queues, etc, etc that frankly I'm a little lost > >right now. All I need to do is limit a few IPs to a certain speed. > >Can anyone point me to a site that will show some basics of using TC? > > > You could have a look at the wondershaper, it's pretty neat. Another source is http://lartc.org/: Linux Advanced Routing & Traffic Control It contains manpages, howtos and a link to the wondershaper script. Jaap --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] TC?
So, it sounds like people really like the wondershaper. Will it allow me to just set limits on a number of IPs and leave everything else alone? I don't want to be doing a whole lot just the limits. Thanks. On Thu, 17 Mar 2005 17:02:35 +0100, Jaap Eldering <[EMAIL PROTECTED]> wrote: > On Thu, Mar 17, 2005 at 07:11:17AM +, Erich Titl wrote: > > Joe Nelson wrote: > > > > >I'm trying to implement some pretty basic TC stuff. I've got the lrp > > >loaded but I don't really know how to use TC very well. There's so > > >many options, types of queues, etc, etc that frankly I'm a little lost > > >right now. All I need to do is limit a few IPs to a certain speed. > > >Can anyone point me to a site that will show some basics of using TC? > > > > > You could have a look at the wondershaper, it's pretty neat. > > Another source is http://lartc.org/: Linux Advanced Routing & Traffic Control > > It contains manpages, howtos and a link to the wondershaper script. > > Jaap > > > --- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > leaf-user mailing list: leaf-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > -- Joe Nelson Air Wired http://www.airwired.net --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] TC?
On Thu, Mar 17, 2005 at 08:14:51PM -0700, Joe Nelson wrote: > So, it sounds like people really like the wondershaper. Will it allow > me to just set limits on a number of IPs and leave everything else > alone? I don't want to be doing a whole lot just the limits. Thanks. The wondershaper indeed is a very nice script, but I think that it doesn't exactly fit your needs. It's made to optimize your internet connection by minimizing the delay of interactive traffic and removing long queues, which improves latency. However, I think that it is a good starting point to see how a TC script is set up. For a solution to your problem see for example: http://lartc.org/howto/lartc.ratelimit.single.html It's based on the CBQ classfull queueing discipline. I have no experience with the CBQ qdisc, but am using the HTB (as is the new version of the wondershaper), which is recommended in most documentation. You probably need two things in your TC script: a classfull qdisc (e.g. HTB) and filters that place traffic from specific IP's into the different classes of that HTB qdisc. It would look something like this (no guarantees that it works): tc qdisc add dev $DEV root handle 1: htb default 10 tc class add dev $DEV parent 1:1 classid 1:10 htb ${CONNRATE}Kbit prio 1 tc class add dev $DEV parent 1:1 classid 1:11 htb rate ${RATE}Kbit prio 2 tc filter add dev $DEV parent 1: protocol ip prio 18 u32 match ip src $IP/$MASK flowid 1:11 Where $DEV is the ethernet device of your outgoing connection, $CONNRATE your upload speed, $RATE the limit upload speed of the computers with IP $IP and netmask bits $MASK (for one IP, set MASK 32). Rate limiting incoming traffic is a lot more difficult, because you can only drop it to slow it down. Hope this helps you get started. Jaap --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
[leaf-user] tc not found
Hi I using bering 1.0 r3, and I want to use iproute for manager my bandwith. I have the tc.lrp package in my disk, and I enable the tc options in shorewall conf. When boot shorewall say 'tc not found' then I did whereis tc and I can't found it. I found ip utility and run fine. What happens ?? tc was missing in tc.lrp in bering 1.0 r3 ?? Where I can download it ? Excuse my poor english, I spahish speaker. thanks a lot roberto --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] tc not found
I think tc.lrp is not loaded by default, check syslinux.cfg on your disk and see if tc.lrp is in the list of loaded packages. Lenn' On Tue, 2002-09-10 at 14:42, Roberto Pereyra wrote: > > Hi > > I using bering 1.0 r3, and I want to use iproute for manager my bandwith. > > I have the tc.lrp package in my disk, and I enable the tc options in shorewall > conf. > > When boot shorewall say 'tc not found' then I did > > whereis tc > > and I can't found it. > > I found ip utility and run fine. > > What happens ?? tc was missing in tc.lrp in bering 1.0 r3 ?? > > Where I can download it ? > > Excuse my poor english, I spahish speaker. > > thanks a lot > > roberto > > > --- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] tc not found
thanks, this may be the problem. roberto On Tue, Sep 10, 2002 at 04:02:09PM +0200, Lennard de Hoog wrote: > I think tc.lrp is not loaded by default, check syslinux.cfg on your disk > and see if tc.lrp is in the list of loaded packages. > > Lenn' > > > On Tue, 2002-09-10 at 14:42, Roberto Pereyra wrote: > > > > Hi > > > > I using bering 1.0 r3, and I want to use iproute for manager my bandwith. > > > > I have the tc.lrp package in my disk, and I enable the tc options in shorewall > > conf. > > > > When boot shorewall say 'tc not found' then I did > > > > whereis tc > > > > and I can't found it. > > > > I found ip utility and run fine. > > > > What happens ?? tc was missing in tc.lrp in bering 1.0 r3 ?? > > > > Where I can download it ? > > > > Excuse my poor english, I spahish speaker. > > > > thanks a lot > > > > roberto > > > > > > --- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > > > leaf-user mailing list: [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/leaf-user > > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > > > > > --- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] tc not found
I found tc.lrp by Google search and have found it a good way to get my lrps. Maybe you can follow this in future. Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roberto Pereyra Sent: 10 September 2002 18:13 To: leaf Subject: [leaf-user] tc not found Hi I using bering 1.0 r3, and I want to use iproute for manager my bandwith. I have the tc.lrp package in my disk, and I enable the tc options in shorewall conf. When boot shorewall say 'tc not found' then I did whereis tc and I can't found it. I found ip utility and run fine. What happens ?? tc was missing in tc.lrp in bering 1.0 r3 ?? Where I can download it ? Excuse my poor english, I spahish speaker. thanks a lot roberto --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- In remembrance www.osdn.com/911/ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] tc not found
tc.lrp - patched for HTB support - is provided on the Bering floppy ! It is not activated by default. To do so declare it in the syslinux.cfg file See: http://leaf.sourceforge.net/devel/jnilo/bipackages.html#AEN833 http://leaf.sourceforge.net/devel/jnilo/biaddrm.html#AEN509 Also do not forget to load the HTB modules (if you are using this QoS) http://leaf.sourceforge.net/devel/jnilo/bering/latest/modules/net/sched/ Jacques > I found tc.lrp by Google search and have found it a good way to get my > lrps. Maybe you can follow this in future. > > Mohan > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Roberto > Pereyra > Sent: 10 September 2002 18:13 > To: leaf > Subject: [leaf-user] tc not found > > > > Hi > > I using bering 1.0 r3, and I want to use iproute for manager my bandwith. > > I have the tc.lrp package in my disk, and I enable the tc options in > shorewall > conf. > > When boot shorewall say 'tc not found' then I did > > whereis tc > > and I can't found it. > > I found ip utility and run fine. > > What happens ?? tc was missing in tc.lrp in bering 1.0 r3 ?? > > Where I can download it ? > > Excuse my poor english, I spahish speaker. > > thanks a lot > > roberto > > > --- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > > > > --- > In remembrance > www.osdn.com/911/ > > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- In remembrance www.osdn.com/911/ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] tc not found
Thanks, now works fine. roberto On Wed, Sep 11, 2002 at 09:06:01AM +0200, Jacques Nilo wrote: > tc.lrp - patched for HTB support - is provided on the Bering floppy ! > It is not activated by default. To do so declare it in the syslinux.cfg file > See: > http://leaf.sourceforge.net/devel/jnilo/bipackages.html#AEN833 > http://leaf.sourceforge.net/devel/jnilo/biaddrm.html#AEN509 > > Also do not forget to load the HTB modules (if you are using this QoS) > http://leaf.sourceforge.net/devel/jnilo/bering/latest/modules/net/sched/ > > Jacques > > > I found tc.lrp by Google search and have found it a good way to get my > > lrps. Maybe you can follow this in future. > > > > Mohan > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Roberto > > Pereyra > > Sent: 10 September 2002 18:13 > > To: leaf > > Subject: [leaf-user] tc not found > > > > > > > > Hi > > > > I using bering 1.0 r3, and I want to use iproute for manager my bandwith. > > > > I have the tc.lrp package in my disk, and I enable the tc options in > > shorewall > > conf. > > > > When boot shorewall say 'tc not found' then I did > > > > whereis tc > > > > and I can't found it. > > > > I found ip utility and run fine. > > > > What happens ?? tc was missing in tc.lrp in bering 1.0 r3 ?? > > > > Where I can download it ? > > > > Excuse my poor english, I spahish speaker. > > > > thanks a lot > > > > roberto > > > > > > --- > > This sf.net email is sponsored by: OSDN - Tired of that same old > > cell phone? Get a new here for FREE! > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > > > > leaf-user mailing list: [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/leaf-user > > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > > > > > > > > --- > > In remembrance > > www.osdn.com/911/ > > > > leaf-user mailing list: [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/leaf-user > > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
[leaf-user] TC for Bering 1.2
Hi All, I was looking to do traffic shaping on Bering 1.2 using tc and Wonder Shaper. I'd like to use the htb version. Does anyone know if the tc.lrp package for Bering in the shorewall packages list is patched for htb? If not, does anyone know where I can get one for Bering 1.2? Thanks Roger --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] TC for Bering 1.2
Hi, I know I DO use htb wondershaper. I'm pretty sure I just grabbed tc.lrp and a whole bunch of modules and away I went. But it's been a long time since I loaded it and forgot about it. Sorry I can't be of more help. :\ James. -Original Message- From: Roger E McClurg [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 00:55 To: [EMAIL PROTECTED] Subject: [leaf-user] TC for Bering 1.2 Hi All, I was looking to do traffic shaping on Bering 1.2 using tc and Wonder Shaper. I'd like to use the htb version. Does anyone know if the tc.lrp package for Bering in the shorewall packages list is patched for htb? If not, does anyone know where I can get one for Bering 1.2? Thanks Roger --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
[leaf-user] tc filter 'action connmark' doesn't work
I needed to apply some shaping on incoming traffic to preserve bandwidth for streaming services. bering-uclibc version 5.2.4 appeared to offer the necessary facilities - linux 4.1.16 supports it and apparently tc supports it too but in actual fact, although tc accepts the 'action connmark' action in a tc filter command, it fails to talk correctly to the kernel. Rooting around in github, it looks like the patch applied to tc, supposedly to support connmark, in fact does nothing and it also screws up the command sent on the netlink socket so the kernel rejects it. In trying to resolve this, I downloaded the leaf-bering dev environment from github - all several gigabytes! However the instructions in the README bear little relation to the actual config required, and I never did work out how to build the environment successfully. I solved it by using buildroot-2015.11 to build tc updated to version 4.4.0, against uclibc-0.9.33.2 and this works properly on my installation. Can I suggest you take the m_connmark.c file from tc in the iproute2 version 4.4.0 package. This will correctly parse the connmark action in tc filter commands & generate the necessary commands on the netlink socket. regards, John Sager -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] tc filter 'action connmark' doesn't work
Am Montag, 15. Februar 2016, 14:31:15 schrieb John Sager: > I needed to apply some shaping on incoming traffic to preserve bandwidth for > streaming services. bering-uclibc version 5.2.4 appeared to offer the > necessary facilities - linux 4.1.16 supports it and apparently tc supports > it too but in actual fact, although tc accepts the 'action connmark' action > in a tc filter command, it fails to talk correctly to the kernel. > > Rooting around in github, it looks like the patch applied to tc, supposedly > to support connmark, in fact does nothing and it also screws up the command > sent on the netlink socket so the kernel rejects it. > > In trying to resolve this, I downloaded the leaf-bering dev environment from > github - all several gigabytes! However the instructions in the README bear > little relation to the actual config required, and I never did work out how > to build the environment successfully. > > I solved it by using buildroot-2015.11 to build tc updated to version 4.4.0, > against uclibc-0.9.33.2 and this works properly on my installation. > > Can I suggest you take the m_connmark.c file from tc in the iproute2 version > 4.4.0 package. This will correctly parse the connmark action in tc filter > commands & generate the necessary commands on the netlink socket. > > regards, > > John Sager Did take of this issue and sent a private email with upated tc.lrp (iproute4.4.0) for review to John. just to be shure that we don't double work. kp -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] tc filter 'action connmark' doesn't work
Am Montag, 15. Februar 2016, 14:31:15 schrieb John Sager: > I needed to apply some shaping on incoming traffic to preserve bandwidth for > streaming services. bering-uclibc version 5.2.4 appeared to offer the > necessary facilities - linux 4.1.16 supports it and apparently tc supports > it too but in actual fact, although tc accepts the 'action connmark' action > in a tc filter command, it fails to talk correctly to the kernel. > > Rooting around in github, it looks like the patch applied to tc, supposedly > to support connmark, in fact does nothing and it also screws up the command > sent on the netlink socket so the kernel rejects it. > > In trying to resolve this, I downloaded the leaf-bering dev environment from > github - all several gigabytes! However the instructions in the README bear > little relation to the actual config required, and I never did work out how > to build the environment successfully. > > I solved it by using buildroot-2015.11 to build tc updated to version 4.4.0, > against uclibc-0.9.33.2 and this works properly on my installation. > > Can I suggest you take the m_connmark.c file from tc in the iproute2 version > 4.4.0 package. This will correctly parse the connmark action in tc filter > commands & generate the necessary commands on the netlink socket. With Johns help we solved that issue for next version by updating iproute to 4.4.0. Additionally 'sch_htb htb_rate_est=1' needs to be added in /etc/modules so the parameter gets set when the module is loaded. kp -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] tc filter 'action connmark' doesn't work
Or add sch_htb option to modprobe.conf (this is better and more common way) 17.02.2016 18:15, kp kirchdoerfer пишет: > Am Montag, 15. Februar 2016, 14:31:15 schrieb John Sager: >> I needed to apply some shaping on incoming traffic to preserve bandwidth for >> streaming services. bering-uclibc version 5.2.4 appeared to offer the >> necessary facilities - linux 4.1.16 supports it and apparently tc supports >> it too but in actual fact, although tc accepts the 'action connmark' action >> in a tc filter command, it fails to talk correctly to the kernel. >> >> Rooting around in github, it looks like the patch applied to tc, supposedly >> to support connmark, in fact does nothing and it also screws up the command >> sent on the netlink socket so the kernel rejects it. >> >> In trying to resolve this, I downloaded the leaf-bering dev environment from >> github - all several gigabytes! However the instructions in the README bear >> little relation to the actual config required, and I never did work out how >> to build the environment successfully. >> >> I solved it by using buildroot-2015.11 to build tc updated to version 4.4.0, >> against uclibc-0.9.33.2 and this works properly on my installation. >> >> Can I suggest you take the m_connmark.c file from tc in the iproute2 version >> 4.4.0 package. This will correctly parse the connmark action in tc filter >> commands & generate the necessary commands on the netlink socket. > With Johns help we solved that issue for next version by updating iproute to > 4.4.0. Additionally 'sch_htb htb_rate_est=1' needs to be added in /etc/modules > so the parameter gets set when the module is loaded. > > kp > > > > -- > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > leaf-user mailing list: leaf-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] tc filter 'action connmark' doesn't work
Yes, you are right. It's also the way to specify parameters for modules that may not be loaded at boot time but need the parameter set if they are autoloaded or loaded via modprobe later. John On 17/02/16 18:04, Andrew wrote: > Or add sch_htb option to modprobe.conf (this is better and more common way) > > 17.02.2016 18:15, kp kirchdoerfer пишет: ... >> With Johns help we solved that issue for next version by updating iproute to >> 4.4.0. Additionally 'sch_htb htb_rate_est=1' needs to be added in >> /etc/modules >> so the parameter gets set when the module is loaded. >> >> kp -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] tc filter 'action connmark' doesn't work
Hi Andrew Am 17.02.2016 um 19:04 schrieb Andrew: > Or add sch_htb option to modprobe.conf (this is better and more common way) Shouldn't we add this to /etc/modprobe.d/sch_htp.conf cheers ET -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] tc filter 'action connmark' doesn't work
Hi. Yes, I think that we should. About rate estimator - http://comments.gmane.org/gmane.linux.network/272199 description (IMHO it should be disabled by default); and IMHO we should add also htb_hysteresis parameter here. 18.02.2016 01:38, Erich Titl пишет: > Hi Andrew > > Am 17.02.2016 um 19:04 schrieb Andrew: >> Or add sch_htb option to modprobe.conf (this is better and more common way) > Shouldn't we add this to /etc/modprobe.d/sch_htp.conf > > cheers > > ET > > > -- > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > leaf-user mailing list: leaf-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] tc filter 'action connmark' doesn't work
Am 18.02.2016 um 23:44 schrieb Andrew: > Hi. > > Yes, I think that we should. > > About rate estimator - > http://comments.gmane.org/gmane.linux.network/272199 description (IMHO > it should be disabled by default); and IMHO we should add also > htb_hysteresis parameter here. maybe it needs a number of modules for the scheduler ET -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
[leaf-user] tc n htb scripts for throttling? I'm developing a solution...
I was just wondering what kind of interest there was on the LRP side of things for a set of scripts for throttling of users based on IP or MAC address using a specific bandwidth allocation per ip. For example IP address: 192.168.0.10 Speed: 256kbit Burst: 384kbit And all these executed by scripts with files containing pertinent information, ran from startup with updates every 5-30 minutes or whatnot. All contained in that tc.lrp file that has been released. If there is enough interest i'll keep you guys posted on how it is going (I'm expecting to be done with everything this month.) It should be sufficient to be able to just type in a few numbers or edit 2-3 text files adding in your information and you'll be good to go. I am actually using this for my job and figured that i've used your guys' stuff long enough it might be a good time to give back a little. And if anybody knows of anything like this already then let me know so I don't waste my time! Thanks! --- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html