Displaying 20 results from an estimated 11000 matches similar to: "Problems setting up nested qdisc, feedback to LARTC HOWTO"
2006 Jan 10
8
tc filter add ... fw returns RTNETLINK answers: Invalid argument
When I run this:
tc filter add dev eth0 parent 1: protocol ip prio 1 handle 1 fw
I get:
RTNETLINK answers: Invalid argument
The traditional interpretation of that gnarly error message is that
cls_fw is missing, but lsmod | grep cls_fw gets me:
cls_fw 2336 4 (autoclean)
I can''t remove it because it''s in use, but all 4 statements that use it
failed, so
2005 Aug 17
21
HOWTO unmaintained?
Hi,
more than a month ago I proposed an addition to the HOWTO to address a
certain packet classification problem/bug and how to fix it (see
http://mailman.ds9a.nl/pipermail/lartc/2005q3/016728.html).
I never received any reaction from the HOWTO maintainers, not even
when addressing them directly (see mail below).
Given that a month has gone by: Is the HOWTO currently unmaintained?
Regards,
2006 Feb 08
1
Conceptual question ;-)
ehlo list,
I''m willing to shape ppp users e.g. each pppX interface to get XXX kbits
I classify traffic going to ppp+ interfaces like this:
iptables -t mangle -A POSTROUTING -o ppp+ -j CLASSIFY --set-class 0002:0020
then i have a file which is executed when a ppp inteface is up and first
argument parsed to that file ($1) is the ppp number (e.g. 35 for ppp35).
it generally looks like
2005 Jul 06
8
HTB and bittorrent, won''t work
Hello,
I''ve been trying to shape the bittorrent traffic (on my external interface,
upload), but without luck, for this I''m using layer7 filter right now, but
I''ve also tried ipp2p, with the same results, I might say that this is not a
problem with this packet classifiers, the problem is with HTB, here''s why.
When I open azureus (the bittorrent client I
2005 Nov 03
6
Cannot get htb & prio working together.
Hi,
I''ve failed miserably in my endeavours so far and I''m at the point
where help would be much appreciated.
I want to have 3 bandwidth limited classes on my Internet interface. In
each of those classes I want 3 prioritization bands, and then use "tc
filters" to place the traffic into the correct class and priority. The
problem is that the traffic
2005 Dec 02
17
HTB - prio and rate
Hi all,
I''ve not been able to find an explanation of the relationship between
prio and rate as they apply to the HTB technique. Hopefully someone on
here will be able to help me.
As I understand things, when prio values are assigned to an HTB setup,
classes with a given prio value will only be serviced when there are no
packets waiting in classes with a lower prio value.
Now, does
2006 Apr 04
3
Another question (now about u32)
Hello all,
I am trying to match some conections using u32 but I tryed this:
[root@ns1 ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32
match ip src 0/0 match ip dst 0/0 match ip sport 80 0xffff flowid 1:10
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
[root@ns1 ~]#
I have this class at device eth1:
[root@ns1 ~]# tc class show dev eth1
class
2006 May 11
9
HFSC and prioritization
I''m using HFSC to limit bandwidth for our wireless customers. However,
I''d also like the bandwidth prioritized based on packet type. This is
what I''m trying right now, and I''d just like some input from anyone out
there knowledgeable in this on whether it does what I want it to do:
Eth1 -> HFSC
........|-> HFSC (User1) (Min 512 Kb, Max 1024 Kb, Burst 1536
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in
the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I
match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this
does not seem to work:
wireless-r1 bwlimit # iptables -L -v -n -t mangle
Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes)
pkts bytes target prot opt in out source
2006 Apr 05
5
QoS - Ping problem
Hello all,
I have set my QoS solution and now I am facing a little problem...
When I ping to my server it has some lost packages:
Estatísticas do Ping para 172.30.0.1:
Pacotes: SENDED = 1029, RETURNED = 880, LOST = 149 (14% de perda),
Aproximar um número redondo de vezes em milissegundos:
Mínimo = 0ms, Máximo = 686ms, Média = 105ms
If I disable my QoS ping stats to be ok. I even have
2005 Dec 14
3
exact rate
Hello
I am using htb (krenel 2.6.14.3 + esfq patch from fatooh.org) to limit the
bandwidth. But I want the absolute maximum rate to be for example 5Mbit
and not to exceed it.
here is the script:
$tc qdisc add dev ${NETIF} root handle 1 htb r2q 4
$tc class add dev ${NETIF} parent 1: classid 1:21 htb rate 5Mbit ceil 5Mbit
$tc class add dev ${NETIF} parent 1:21 classid 1:101 htb rate 2Mbit ceil
2005 Dec 22
5
control p2p upload bandwidth rate
Hi all,
I am running Slackware 10.1 with Kernel 2.6.14.3 includes iptables 1.3.4
with layer 7
My network diagram below: -
INTERNET --- LINUX_ROUTER_FW --- PCs
Below is my simple iptables script: -
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t mangle -A POSTROUTING -m layer7 --l7proto applejuice -j MARK
--set-mark 1
iptables -t
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK
--restore-mark
iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark
iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK
2006 May 10
11
HTB at 100+ Mbits/sec
Hello all,
I''ve been trying to test HTB performance for different link bandwidths
to find potential limits and this is what I have so far:
http://home.comcast.net/~msethuraman/htbtest/
Can members please go over the setup, test procedure and the results
and answer a few questions?
1. Is the testing methodology okay and can the results be considered
accurate? If so, is this a decent
2005 Dec 27
5
class exceeds its ceil
Hi,
I have a setup like this:
class 1:1 rate 7600kbit (on a imq device)
|
|\class 1:10 rate 100kbit ceil 5600kbit prio 7 (here goes p2p
traffic)
\class 1:12 rate 7500kbit ceil 7600kbit
|
|\class 1:121 rate 3100 ceil 7500kbit prio 0
|\class 1:122 rate 2200 ceil 7500kbit prio 2
\class 1:123 rate 2200 ceil 7500kbit prio
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2005 Sep 30
3
Ceil Rate
Hi all,
I just recently began using HTB to try and manage bandwidth for my network.
This is the script I''m using:
/sbin/iptables -t mangle -A FORWARD -o eth1 -s ! 192.168.244.2 -j MARK --set-mark 53
tc qdisc add dev eth1 root handle 1: htb default 20
tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit burst 131072k quantum 59000
tc class add dev eth1 parent 1:1 classid 1:10
2017 Aug 31
2
Re: network configuration for guest specific dns-servers
Thanks a lot, Martin!
Am Donnerstag, den 31.08.2017, 10:11 +0200 schrieb Martin Kletzander:
> On Thu, Aug 31, 2017 at 12:10:22AM +0200, David Ayers wrote:
> >
> >We would like to configure guest specific dns-servers as would be done
> >with the --dhcp-option of dnsmasq. I was expecting to be able to do
> >something like:
> >
> > <host
2017 Aug 30
2
network configuration for guest specific dns-servers
Hello,
similar to how one can configure guest specific IP addresses via mac
addresses:
<ip address="192.168.122.1" netmask="255.255.255.0" localPtr="yes">
<dhcp>
<range start="192.168.122.100" end="192.168.122.254"/>
<host mac="00:16:3e:77:e2:ed" name="foo.example.com"
2005 Dec 27
9
2.6.14 - HTB/SFQ QoS broken?
Hello,
First of all, I already contacted Martin Devera, the developer of HTB, and
he told me to search for help on this mailinglist, thus I am describing
my problems here now...
I am kind of seriously annoyed by QoS as I have been trying for over 3 years
to get it working properly - first I did not understand how it works, then
it seemed not to work, then it was working perfectly for half a