Hello, I''m looking some recommendation how to configure htb. I have ADSL 512k/256k connection at my home for the 3 clients PCs and one Linux Box like firewall. Network looks like usual: ADSL connection (eth0) - | firewall | - (eth1) local network I would like to divide Internet connection like this: Download eth0 (512K) SSH/IPSec rate=256k, ceil=512k and prio=0 (it can be used from the local PC1 or PC2) PC1 1.2.3.1(local ip) rate=170k, ceil=512k and prio=1 PC2 1.2.3.2 (local ip) rate=170k, ceil=512k and prio=1 PC3 1.2.3.3 (local ip) rate=170k, ceil=512k and prio=1 SMTP server (exist on firewall) rate=64k, ceil=128k and prio=2 or better 1 Do I understand right if some of PCs (PC1or PC2) use SSH/IPsec it gets speed from 256k up to 512k if it not in use. Two anothers PCs and SMTP server share 256k between them. Is that right? What speed they get each? Upload eth0 (256k) htb/imq SSH/IPSec rate=128k, ceil=256k and prio=0 (it can be used from the local PC1 or PC2) PC1 1.2.3.1(local ip) rate=80k, ceil=256k and prio=1 PC2 1.2.3.2 (local ip) rate=80k, ceil=256k and prio=1 PC3 1.2.3.3 (local ip) rate=80k, ceil=256k and prio=1 SMTP server (exist on firewall) rate=64k, ceil=128k and prio=2 or better 1 If I''m not correct just correct me, please. Is it enough to have only one class or more? I know that running htb on external eth, htb cannot see local ip addresses. Can I mark them with the iptables and use it with the htb? Or do I have to make htb rules on my local eth1 as well? Thank you in advance for any help/ideas Remus _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello I have been trying to download CBQ but cant seem to find a valid link. From what i know this is the right place but i cant seem to get in to the ftp site are there any other URL''s that i can get it from? ftp://ftp.equinox.gu.net/pub/linux/cbq/ All assistance is appreciated. Glen Young _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello , I am trying to use tc to do the following ..on the interface(eth0) I want to give priority to to packets coming from a specific IP address 1.2.3.4 over packets from IP address 1.2.3.5 . I would like to know if the following setup would work with PRIO qdisc. tc qdisc add dev eth0 root handle 10 : prio tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip src 1.2.3.4/32 flowid 10:1 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip dst 1.2.3.4/32 flowid 10:1 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip src 1.2.3.5/32 flowid 10:2 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip dst 1.2.3.5/32 flowid 10:2 Can I test this setup by using flooding ping from 1.2.3.4 and 1.2.3.5 to the machine configured with tc ? I expected that pings from 1.2.3.5 will be dropped giving priority to 1.2.3.4 Looking forward to your input, Andreas. --------------------------------- With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Hello , I am trying to use tc to do the following ..on the interface(eth0) I want to give priority to to packets coming from a specific IP address 1.2.3.4 over packets from IP address 1.2.3.5 . I would like to know if the following setup would work with PRIO qdisc. tc qdisc add dev eth0 root handle 10 : prio tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip src 1.2.3.4/32 flowid 10:1 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip dst 1.2.3.4/32 flowid 10:1 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip src 1.2.3.5/32 flowid 10:2 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip dst 1.2.3.5/32 flowid 10:2 Can I test this setup by using flooding ping from 1.2.3.4 and 1.2.3.5 to the machine configured with tc ? I expected that pings from 1.2.3.5 will be dropped giving priority to 1.2.3.4 Looking forward to your input, Andreas. --------------------------------- With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
On Friday 17 January 2003 10:11, Netrepreneurs wrote:> Hello > > I have been trying to download CBQ but cant seem to > find a valid link. From what i know this is the right place > but i cant seem to get in to the ftp site are there any > other URL''s that i can get it from? > > ftp://ftp.equinox.gu.net/pub/linux/cbq/ > > All assistance is appreciated.Do you mean cbq.init ? https://sourceforge.net/projects/cbqinit 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/
On Thursday 16 January 2003 13:18, Remus wrote:> Hello, > > I''m looking some recommendation how to configure htb. > I have ADSL 512k/256k connection at my home for the 3 clients PCs and one > Linux Box like firewall. > > Network looks like usual: > ADSL connection (eth0) - | firewall | - (eth1) local network > > I would like to divide Internet connection like this: > Download eth0 (512K) > SSH/IPSec rate=256k, ceil=512k and prio=0 (it can be used from the local > PC1 or PC2) > PC1 1.2.3.1(local ip) rate=170k, ceil=512k and prio=1 > PC2 1.2.3.2 (local ip) rate=170k, ceil=512k and prio=1 > PC3 1.2.3.3 (local ip) rate=170k, ceil=512k and prio=1 > SMTP server (exist on firewall) rate=64k, ceil=128k and prio=2 or better 1 > > Do I understand right if some of PCs (PC1or PC2) use SSH/IPsec it gets > speed from 256k up to 512k if it not in use.No. If all PC''s are generating traffic, PC2 will get (170/(256+170+170+64)*512.> Two anothers PCs and SMTP server share 256k between them. Is that right? > What speed they get each? > > Upload eth0 (256k) htb/imq > SSH/IPSec rate=128k, ceil=256k and prio=0 (it can be used from the local > PC1 or PC2) > PC1 1.2.3.1(local ip) rate=80k, ceil=256k and prio=1 > PC2 1.2.3.2 (local ip) rate=80k, ceil=256k and prio=1 > PC3 1.2.3.3 (local ip) rate=80k, ceil=256k and prio=1 > SMTP server (exist on firewall) rate=64k, ceil=128k and prio=2 or better 1 > > If I''m not correct just correct me, please.It''s not so easy to explain how the classe will behave. I have some basic htb shaping rules on www.docum.org on the faq page. If you follow them, it''s easier to figure out how much traffic each class will get. And you also have to tell us how what''s the parent-child relation ship between the classes.> I know that running htb on external eth, htb cannot see local ip addresses. > Can I mark them with the iptables and use it with the htb? > Or do I have to make htb rules on my local eth1 as well?Indeed, you will have to use firewall marks. 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/