similar to: Problem setting shift value in tcindex filter on big endian machine

Displaying 20 results from an estimated 2000 matches similar to: "Problem setting shift value in tcindex filter on big endian machine"

2005 Dec 14
1
mgen & tc
Hello, I have the following proplem. My DiffServ configuration is working fine when I do ping, but when I use mgen the packets are not detected at the core router. Here is my core router configuration: #!/bin/bash tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index tc filter add dev eth1 parent 1:0 protocol ip prio 1 tcindex mask 0xfc shift 2 tc qdisc add dev eth1 parent
2003 Dec 02
2
forwarding in tcng
Hi! I am learning tcng without having experiance of tc and I am trying to build something that shall schedule traffic dependent on the value in the IPv4 packets ip_ttl field. I have read the tcng reference manual and cannot find information about forwarding. Is it possible to farward packets from ingress to egress without sending them upwards in layers?
2007 Feb 28
1
Data rate with HTB
Dear all, I''m making a script to implement DiffServ policies with HTB. Here it is : if test $1 = "help" -o $1 = "h" -o $# != 5 then echo "usage: ds.sh <DEVICE> <DS_RATE> <EF_RATE> <AF_RATE> <BE_RATE>" exit fi DEV=$1 DS_RATE=$2 EF_RATE=$3 AF_RATE=$4 BE_RATE=$5 sync tc qdisc del root dev $DEV tc qdisc add dev $DEV root handle
2006 Jan 10
2
Gred/dsmark/htb
Hi, I am trying to get assured forwarding/expedited forwarding with gred and htb working. Below is the script I am using. The following steps are what I thing is how the script works. My problem is that if I remove the HTB qdisc from the script and have the GREDS parent as the dsmark it works, but when I add the htb as a parent of GRED and DSmark the parent of htb it does not work? Any
2001 Jun 12
0
Unknown filter "tcindex" ?
Hi: Execuse me if this has been mentioned before, I''ve looked around the archive but did not find anything about the problem I met. I''m trying to use tcindex to classify the the packet outgoing to one interface. I do as the following : tc q a dev eth0 root handle 10:0 cbq bandwidth 10Mbit avpkt 1500 tc c a dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit rate
2002 Sep 13
0
tcng version 8w
... is on SourceForge, http://tcng.sourceforge.net/#src This one has the first steps towards getting non-IPv4 classification right: - I''ve added fields for skb meta-data (meta_protocol, etc.) - if USE_META_PROTOCOL is #defined (tcc -D... or tcsim -Xc,-D...), ip_hdr and ip6_hdr check the protocol number - if_u32 generates distinct classifier branches for each protocol - f_fw,
2001 Jun 12
0
How to use tcindex filter?
Where can I find some document or sample on tcindex classifier? thx
2005 Jul 08
2
P2P shaping, won''t work
Hello, its me again, I won''t stop sending emails to this list, until I solve this problem, I''ve tried several apps to create the right htb rules (even made them my self), but I always get the same results, traffic gets shaped, but I can''t use my bandwidth, and this is weird, because I should be able to, also I keep seeing download being limited too, and that
2005 Jul 06
0
Diffserv using HTB or PRIO qdiscs as basis for EF phb
Im experimenting with using a Linux machine with 3 interfaces to operate as a core router. All links and network interfaces are 100mbit. Below is a ascii diagram of the network. (network A) edge router ------>core router---->edge router (network C) ^ | | edge router (network B) I have tried two
2007 Mar 05
0
QoS IP precedence and Diffserv combination
All: I am tasked with creating an environment in which DiffServ and IP precedence is handled as close to RFC specification as possible. I have a few problems with implementing this based on current queueing structure. Here are a few of my questions. 1.) Is there any way to get DiffServ AF drop levels without using DSMARK and GRED? Ex. AF11 Gred DP 1 AF12 Gred DP 2 AF13 Gred DP 3 2.)
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
2003 Feb 02
0
question about ingress police
Hi stef and all I want measure the policy perfomance for video traffic on mpls diffserv network. there are two different polices for video packet 1. Video packets that are marked that are over the limit are to be rejected at the edge router. 2. Video packets that are marked that are over the limit are to be downgraded as best effort and are sent through. Before video enter my mpls
2002 Oct 26
0
Is this a kernel bug???
Hi I am encountering what I suspect to be a bug in the kernel processing of tc netlink messages: I am using kernel version 2.4.9 with iproute2-current-001007 package. Everything works fine in the kernel. Now I open a netlink socket with a user process, read the tc netlink messages generated by the tc process and parse them. What I see is that the kernel has already processed the messages
2005 Jul 27
13
HTB and PRIO qdiscs introducing extra latency when output interface is saturated
Im using a Linux machine with standard pc hardware with 3 seperate PCI network interfaces to operate as a DiffServ core router using Linux traffic control. The machine is a P4 2.8ghz, 512mb RAM running fedora core 3 with the 2.6.12.3 kernel. All links and network interfaces are full duplex fast ethernet. IP forwarding is enabled in the kernel. All hosts on the network have their time sychronised
2006 Apr 10
4
EF & AF filters with HTB
Hello all, Please could someone help me with this, I have been trying for days to get this to work. I would like to have BE, AF & EF classes with HTB qdisc. I can''t find any scripts online where this has been done. If I enable this filter: #tc filter add dev eth0 parent 2:0 protocol ip prio 1 \ #tcindex mask 0xf0 shift 4 pass_on then BE & AF classification seems to be fine but
2002 May 28
5
QoS graphical interface ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Is there any grapical interface for the QoS (Quality of Service) Traffic Control in Linux ? Greetings. - --- Carles Xavier Munyoz Baldó carles@descom.es Descom Consulting Telf: +34 965861024 Fax: +34 965861024 http://www.descom.es/ - --- -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8
2007 Mar 06
1
QoS prio queuing
Is there anyway to actually see packet stats or that packets are for sure going into a prio queue with TC? I can see all the HTB stats but the prio classes just list as being there...would like more information Basically I have the following setup DSMARK | HTB - (tcindex filter on TOS) | Prio (u32 filter on TOS) Thanks Jon Flechsenhaar Boeing WNW Team Network Services
2003 Jan 15
5
HTB. QoS and Shorewall
Group, I am reading about tc (traffic control) and willing to get my feet wet. As requirement, there should be HTB compiled in the kernel. I grabbed a Mandrake 8.2 distro, and didn''t installed the kernel source. Anyone knows if the HTB is compiled in Mandrake 8.2, or point a way to find that out? I tried to read the /usr/src/kernel.xxxxx/.config file, but it doesn''t exists.
2005 Mar 17
0
cbq + gred doesn''t drop packets
Hi i have configured my server with cbq and gred. The problem is that the cbq doesnt drop packets. The cbq is configured at a rate of 500Kbit "qdisc cbq 4: rate 500000bit (bounded,isolated) prio no-transmit Sent 100103048 bytes 73933 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 24000 undertime 0 " The traffic that being generated is more than 5Mbit with the
2005 Jun 01
2
TC Filtering Problems
Dear Admins and Hackers, maybe i am to stupid to use ''tc''. But i having logical Problems to understand the Filter Rules in tc. Common Config: There is a Linux Engine (Debian) with a 2.6.11.11 Kernel which act as Packetshaper. Two Interfaces eth0 and eth1 are installed. Interface ''eth0'' is the Firewall Side Net 195.185.185.0/24. Interface