Hi I''m trying to understand this qdisc stats output: #tc -s qdisc ls dev [interface] [..] qdisc htb 1: r2q 10 default 13 direct_packets_stat 38 Sent 3867654734 bytes 7023775 pkt (dropped 4, overlimits 4852340 requeues 0) rate 0bit 0pps backlog 0b 11p requeues 0 [..] In all my qdiscs, I''ve got "rate 0bit". What does it mean ? As you can see, there is some traffic in this qdisc (3867654734 bytes). Thanks for answer. I''ve got one (or two) more question: What for are used qdisc handles ? ( I allways use classids in my tc filters ). Is there any difference between flowid and classid ? Thanks for Help! Krzysztof Gorzelak krzysztof@uno.pl
> In all my qdiscs, I''ve got "rate 0bit". What does it mean ? As you > can see, there is some traffic in this qdisc (3867654734 bytes).May be, HTB qdiscs don''t have to have rate attribute. CBQ qdiscs do have rate (at least I always configured it).> I''ve got one (or two) more question: What for are used qdisc handles ?Classes always belong to qdiscs, at least one qdisc always exists (iface root qdisc), so there are no orphan classes in QoS tree. classid is composed of 2 numbers (X:Y). Y can be any number, X is parent qdisc ID (handle). qdisc handle has form X: (equivalent to X:0).> ( I allways use classids in my tc filters ). Is there any difference > between flowid and classid ?flowid is one of filter attrubutes. It requires class ID as argument and puts matching packets to class specified. -- DO4-UANIC
Hi, Does anyone know how ebtables and TCNG interact? Any links you can provide? I basically want to "mark" ethernet frames using ebtables and then using tcng to provide queuing services to those frames. I looked at the TCNG manual and there is no mention of how these two tools interact! Any help on this is appreciated. Thanx. Azim.