Displaying 20 results from an estimated 1000 matches similar to: "HTB does not respect the prio parameter"
2007 Jun 08
5
CBQ + Layer7 x Emule
Hi All ,
My first message and I have a little problem with my FC6 box trying to block
emule traffic using layer7 .
Here my network :
Internet --------- ADSL Router ------------------- FC6 Box
-------------------- Emule Box
external ADSL : Dynamic
Internal ADSL : 192.168.254.1
external FC6 : 192.168.254.3
internal FC6 : 192.168.253.1
Emule Box : 192.168.253.3
I guess that everything
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks.
For quite a while, I tried to use linux (cbq and htb) to control
bandwidth in order to replace a cisco equipment used to play this role
on our network.
After trying here and there, with a bunch of different distros,
different versions, different compilations, ... the closest I could
get was as follows:
(using htb.init and cbq.init)
Desired BW ==> Achieved BW
128k ==> 404.78
2007 Jun 25
5
RED to use ECN (or work at all?)
Dear Community,
sorry for the somewhat dumb question. Maybe someone has any pointer
to how to setup the RED queue to mark pakets with ECN. In particular
what are appropriate parameter settings for limit, min, max, etc.
All my trials end up with either "RTNETLINK answers: Invalid
argument", although the command line (at least for me) looks fine in
regard to what is said on the
2006 Oct 18
2
Errors with GRED after upgrading to 2.6.18 kernel
ALL:
<<diffserv-gred_10-06>>
I have attached the current script that I am using.
$TC qdisc add dev $EDEV parent 2:20 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:20 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:20 gred DP 2 limit $lim min $minTh
max
2001 Dec 13
14
tc: u32 match in nexthdr not working?
Hello,
it seems, that filtering on nexthdr (TCP/UDP) content, especially
src or dst port, is not working.
The following has no effect on 2.4.16 or older (even 2.2) kernels:
# tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match tcp
dst 3128 0xffff police rate 40kbit burst 10k drop flowid :1
Even if
# tc filter ls dev eth0 parent ffff:
filter protocol ip pref 50 u32
filter protocol
2007 Apr 09
3
tc (CBQ) and UDP packets
2004 Jan 11
1
HTB rates aren''t enforced correctly
Hi!
I recently changed my qdisc from CBQ and PRIO to only HTB, and I can''t
really seem to get the rates to work as I want them to. I have eight
classes, which I set up as follows:
tc qdisc add dev eth1 root handle 1: htb default 122
tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit cburst 1500 burst 50kb
tc class add dev eth1 parent 1:1 classid 1:11 htb prio 0
2005 May 05
1
TC breaking Virtual network connection
Good afternoon,
I am a newbie to lartc. I have read the HOWTO. I set up a CBQ traffic control using the following commands, and it caused my VNC connection to break frequently.
=======================================================================
**CBQ: cbq-1280.My_shaper
/sbin/tc qdisc del dev lo root
/sbin/tc qdisc add dev lo root handle 1 cbq bandwidth 20Mbps avpkt 1000 cell 8
/sbin/tc
2001 Jun 12
2
Marking returned MASQ'ed packets (ingress, TC, etc.)
Hi Folks,
I''m using a 2.4.x kernel and TC from the iproute2 package
so that I can limit traffic through my gateway. I''m using this
to mark packets when they leave the LAN:
/sbin/ipchains -A forward -j MASQ -i eth0 -s 192.168.1.0/24 -d 0.0.0.0/0
-m 1
When the packets return, I need to have them marked again so that
the ingress filter will limit the bandwidth in the opposite
2001 Jun 29
1
u32 nexthdr problem
I''m having trouble with nexthdr.
tc filter add dev eth0 protocol ip parent 10:0 prio 1 u32 \
match ip protocol 0x6 0xff match u8 0x02 0x12 at nexthdr+13 flowid 10:3
fails to match my test packets whereas
tc filter add dev eth0 protocol ip parent 10:0 prio 1 u32 \
match ip protocol 0x6 0xff match u8 0x02 0x12 at 33 flowid 10:3
does match them.
Of course, the second one is really wrong
2002 Dec 02
1
ipip and nexthdr
After carefull reading (LARTC) and experimentation, I am in a dead
end...
I am using several IPIP tunnels (linux ipip module, IP protocol 4).
I''d like to filter packets going through these tunnes to different
classes, on the ingress device, based on source and destination IP
_INSIDE THE TUNNEL_.
First I tried the nexthdr bit. As explained in LARTC, nexthdr jumps to
the next header
2004 Sep 28
3
Suggestion.
Hi,
I''m new to the list. I intend to learn about some Linux Networking
features to help myself and others.
I''m looking to control the bandwidth in my office. Basically there are
like 20 computers, a 2MB Adsl Line. And I would love to let them only
use a certain amount of bandwidth. For example let every client use 20KB
of internet bandwidth of the 210KB we can download
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all,
I''m having some problems setting up qdiscs on a bridge.The config looks
a little like this:
ifconfig ifb0 up # Bring up the IFB for this bridge.
tc qdisc add dev eth2 ingress
tc qdisc add dev eth3 ingress
tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000
cell 8
# Raw qdiscs on each bridge port
tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several
2014 Oct 21
2
IPv6 UFO for VMs
There are several ways that VMs can take advantage of UFO and get the
host to do fragmentation for them:
drivers/net/macvtap.c: gso_type = SKB_GSO_UDP;
drivers/net/tun.c: skb_shinfo(skb)->gso_type = SKB_GSO_UDP;
drivers/net/virtio_net.c: skb_shinfo(skb)->gso_type = SKB_GSO_UDP;
Our implementation of UFO for IPv6 does:
fptr =
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all,
I have installed 2.4.5 kernel, Debian Potato.
my tc script:
#!/bin/bash
tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \
5Mbit allot
2014 Oct 21
2
IPv6 UFO for VMs
There are several ways that VMs can take advantage of UFO and get the
host to do fragmentation for them:
drivers/net/macvtap.c: gso_type = SKB_GSO_UDP;
drivers/net/tun.c: skb_shinfo(skb)->gso_type = SKB_GSO_UDP;
drivers/net/virtio_net.c: skb_shinfo(skb)->gso_type = SKB_GSO_UDP;
Our implementation of UFO for IPv6 does:
fptr =
2004 May 25
1
how to borrow bandwith
Hi,All
I am using iproute2 to manage bandwith for ADSL router.High,medium,low priority are needed for different protocol port on the ADSL's upstream side,as following:
LAN --- |ADSL Router|------WAN
When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script:
/usr/sbin/tc qdisc del dev nas0 root
2004 Dec 14
2
plot with dates
Hi,
I am trying to understand the behaviour of the plot function.
If I have
novdate <- as.Date("2001/11/1") + (0:29)
y <- 1:30
b <- data.frame(novdate,y)
then plot(b$novdate,b$y) will produce a plot where the x-ticmarks are
given as dates (Nov 04, Nov 09 etc), but plot(b) will produce a plot
where the x-tickmars are integer values (#day since Jan 1st 1970)
In the first
2003 Sep 04
3
CBQ Rate
Hi everyone,
This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at
10Mb/s. The purpose is to test CBQ
Here is my script
-------------------------------------------------------------------
# Root qdisc
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \
avpkt 1000 cell 8
# Classes
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \
rate 5Mbit weight