Re: [Announce] LARTC wiki available

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John A. Sullivan III wrote:
On Mon, 2012-06-04 at 12:25 +0200, Marco Gaiarin wrote:
Mandi! Julien Vehent
   In chel di` si favelave...

I'll try to find some time and move over some of the content I have
here: http://wiki.linuxwall.info/doku.php/en:ressources:dossiers:networking:traffic_control

Wonderful! ;-)

But i've a little note: i've ever known that it is not advised to set a
default class on classful qdisc, eg:

	# tc qdisc add dev eth0 root handle 1: htb default 20

because in this way we shape also non-IP traffic (arp, ...) and it is
better to leave this traffic unshaped.
Better to use a filter that have a ''catch-all'' rule (on IP traffic).


I remember wrong?!

I'm not 100% sure but it may depend upon the qdisc.  I believe some will
drop packets if there is no default class for them.  Can anyone confirm
that? Thanks - John

Yea, HFSC will do that, which should also be flagged up as an important "gotcha" in any example/doc.

HTB is kinder to testers in that by default unclassified goes unshaped. Of course adding default X (where X!=0) changes that, and I think the consequences eg. for arp should also be mentioned.

A lot of examples using default may well work - the default class has enough bandwidth or sfq, but some I've seen have no child qdisc so get a 1000 packet pfifo and not much rate. Depending on how much ip traffic gets into that class/the state of other classes this may then cause apparently random faliure.

--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux