search for: default_index

Displaying 13 results from an estimated 13 matches for "default_index".

2005 Mar 25
3
These tc commands used to work... what''s broken them?
...qdisc show dev eth0 qdisc pfifo_fast 0: bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 455120063 bytes 553706 pkt (dropped 0, overlimits 0 requeues 25) rate 0bit 0pps backlog 0b 0p requeues 25 > tc -s class show dev eth0 > tc qdisc add dev eth0 handle 1:0 root dsmark indices 8 default_index 0 RTNETLINK answers: Invalid argument ------------------------------------------------------------ Now this is such a basic command... and yet tc is already choking on it. If I try something else, like this random example, then it works: ------------------------------------------------------...
2004 Oct 04
0
building module with tcng
...kbps, burst 6kB, ceil LAN_EGRESS kbps ) { sfq ( perturb 10 sec ); }; } } } } [root]# tcc -t c < /etc/tcng.test # ================================ Device eth0 ================================ tc qdisc add dev eth0 handle 1:0 root dsmark indices 2 default_index 0 tc qdisc add dev eth0 handle 2:0 parent 1:0 htb tc class add dev eth0 parent 2:0 classid 2:1 htb rate 93750000bps ceil 93750000bps tc class add dev eth0 parent 2:1 classid 2:2 htb rate 93750000bps ceil 93750000bps burst 6144 prio 1 tc qdisc add dev eth0 handle 3:0 parent 2:2 sfq perturb 10 tc fil...
2002 Oct 11
0
[tcng] sysVinit script
...nning on : eth0 Flushing : eth1 No traffic control running on : hdlc0 No traffic control running on : hdlc1 No traffic control running on : pvc0 No traffic control running on : pvc1 [root@qos tcng]# ./tcng start Starting tcng services: Execute : qdisc add dev eth1 handle 1:0 root dsmark indices 4 default_index 0: Execute : qdisc add dev eth1 handle 2:0 parent 1:0 htb: Execute : class add dev eth1 parent 2:0 classid 2:1 htb rate 56000bps: Execute : class add dev eth1 parent 2:1 classid 2:2 htb rate 125bps ceil 2400bps: .................................. [root@qos tcng]# ./tcng status traffic control o...
2003 Oct 12
1
couldn''t get available bandwith
...its LAN an eth1 on the internet. We use DSL lines and eth1''s have the internet IP directly attached on it. Each gateway, also, acts as iptables NAT gateway. The outgoing bandwith is 300 kbit, and we tried this (i.e.) on each tunnel: tc qdisc add dev tun2 handle 1:0 root dsmark indices 4 default_index 0 tc qdisc add dev tun2 handle 2:0 parent 1:0 htb tc class add dev tun2 parent 2:0 classid 2:1 htb rate 4000bps ceil 4000bps tc class add dev tun2 parent 2:1 classid 2:2 htb rate 250bps ceil 1000bps tc qdisc add dev tun2 handle 3:0 parent 2:2 sfq tc class add dev tun2 parent 2:1 classid 2:3 htb rat...
2005 Jul 08
2
P2P shaping, won''t work
...mark --mark 2 -j CLASSIFY --set-class 1:10 ### ### iptables -t mangle -A PREROUTING -j lay7PRE iptables -t mangle -A POSTROUTING -j lay7POST iptables -t mangle -A PREROUTING -j ipp2pPRE iptables -t mangle -A POSTROUTING -j ipp2pPOST TC RULES tc qdisc add dev eth1 handle 1:0 root dsmark indices 8 default_index 0 tc qdisc add dev eth1 handle 2:0 parent 1:0 htb tc class add dev eth1 parent 2:0 classid 2:1 htb rate 22000bps ceil 22000bps tc class add dev eth1 parent 2:1 classid 2:2 htb rate 3000bps ceil 5000bps prio 0 tc qdisc add dev eth1 handle 3:0 parent 2:2 sfq tc class add dev eth1 parent 2:1 classid...
2002 Oct 01
0
will any one do me a favor to answer the question about tc_index value ?
hi all i am a new commer of linux community. i want to how does skb->tcindex value change exactly. it confused me indeed. i have a script reads: (1) tc qdisc add dev eth0 root handle 1:0 dsmark indices 64 default_index 0x161 set_tc_index (2) tc filter add dev eth0 parent 1:0 protocol all prio 1 tcindex mask 0xfc shift 2 pass_on (3) tc filter add dev eth0 parent 1:0 prio 1 handle 0x0a tcindex classid 1:111 (4) tc filter add dev eth0 parent 2:0 protocol all prio 1 tcindex mask 0xf0 shift 4 pass_on (5) tc filter add...
2004 Oct 23
0
error making htb example
...) { sfq; } ; } } } } The results indicate an error which does not mean much to me. Could someone explain what I might have done wrong. # ================================ Device eth0 ================================ tc qdisc add dev eth0 handle 1:0 root dsmark indices 8 default_index 0 tc qdisc add dev eth0 handle 2:0 parent 1:0 htb tc class add dev eth0 parent 2:0 classid 2:1 htb rate 75000bps ceil 75000bps tc class add dev eth0 parent 2:1 classid 2:2 htb rate 8000bps ceil 16000bps tc qdisc add dev eth0 handle 3:0 parent 2:2 sfq tc class add dev eth0 parent 2:1 classid 2:3 h...
2005 Mar 17
0
cbq + gred doesn''t drop packets
...riate tos. The traffic is identified correctly and pass succesfully from the cbq but no one packet gets dropped.. What do u suggest me to do? Below is the code for the configuration.. it works find and no error message appears $tc qdisc add dev $DEV handle 1:0 root dsmark indices 64 set_tc_index #default_index 0 $tc filter add dev $DEV parent 1:0 protocol ip prio 1 tcindex mask 0xfc shift 2 pass_on $tc qdisc add dev $DEV parent 1:0 handle 2:0 prio $tc filter add dev $DEV parent 2:0 protocol ip prio 1 tcindex mask 0xf00 shift 8 # EF priority class, TBF, and its filter echo ''installing EF'...
2004 May 20
1
tcng configuration question??
...} } } } This config compiles with no errors to: tc qdisc del dev imq0 root # ================================ Device imq0 ================================ tc qdisc add dev imq0 handle 1:0 root dsmark indices 8 default_index 0 tc qdisc add dev imq0 handle 2:0 parent 1:0 htb tc class add dev imq0 parent 2:0 classid 2:1 htb rate 100000bps tc class add dev imq0 parent 2:1 classid 2:2 htb rate 100000bps prio 1 tc qdisc add dev imq0 handle 3:0 parent 2:2 sfq tc class add dev imq0 parent 2:1 classid 2:3 htb rate 100000bps pr...
2004 Mar 22
2
tcng TCP ACK match
...1; htb() { class ( rate 230kbps, ceil 230kbps ) { $ack = class( rate 64kbps, ceil 230kbps, prio 1 ) { sfq; } $other = class( rate 64kbps, ceil 230kbps, prio 2 ) { sfq; } } } } } Which generates: tc qdisc add dev eth0 handle 1:0 root dsmark indices 4 default_index 0 tc qdisc add dev eth0 handle 2:0 parent 1:0 htb tc class add dev eth0 parent 2:0 classid 2:1 htb rate 28750bps ceil 28750bps tc class add dev eth0 parent 2:1 classid 2:2 htb rate 8000bps ceil 28750bps prio 1 tc qdisc add dev eth0 handle 3:0 parent 2:2 sfq tc class add dev eth0 parent 2:1 classid...
2004 Jan 30
2
FW: QoS extension to Net-SNMP
...L However, tc gives a different story - $ tc -s -d qdisc show dev sync1 qdisc pfifo 51: limit 5p Sent 0 bytes 0 pkts (dropped 0, overlimits 0) qdisc htb 2: r2q 10 default 12 direct_packets_stat 0 ver 3.10 Sent 7279652 bytes 215480 pkts (dropped 0, overlimits 0) qdisc dsmark 1: indices 0x0008 default_index 0x0003 set_tc_index Sent 7279652 bytes 215480 pkts (dropped 0, overlimits 0) $ tc -s -d class show dev sync1 class htb 2:11 parent 2:1 leaf 51: prio 2 quantum 12500 rate 125000bps ceil 125000bps burst 15Kb/8 mpu 0b cburst 2849b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)...
2007 Apr 25
3
PPPoE and shaping
Hi all, I have a little problem with my home-made slackware linux server. Here is the scenario: 1. I have a local wifi network 2. my server do masquerading and exit in internet via a PPPoE connection Goals: 1. not use SQUID 2. shaping the traffic with classes 3. emule connection must have minimum priority and a band-limit of 10KBytes/s in uplink (server--->internet) Any idea? Thx, Diego --
2004 May 24
1
Newbie STILL trying to limit bandwidth - is this script wrong?
...28kbps, ceil 384kbps ) { sfq; } ; } } } } --------------------------------------------------------------------- which creates the follow tc commands: --------------------------------------------------------------------- tc qdisc add dev eth0 handle 1:0 root dsmark indices 8 default_index 0 tc qdisc add dev eth0 handle 2:0 parent 1:0 htb tc class add dev eth0 parent 2:0 classid 2:1 htb rate 75000bps ceil 75000bps tc class add dev eth0 parent 2:1 classid 2:2 htb rate 8000bps ceil 16000bps tc qdisc add dev eth0 handle 3:0 parent 2:2 sfq tc class add dev eth0 parent 2:1 classid 2:3 htb...