Displaying 20 results from an estimated 4000 matches similar to: "tc del filter troubles"
2002 Sep 20
2
u32 filter question
Hi guys I have a config as follows for one of my networks. I want to give the xxx.xxx.xxx.xxx/xx network 64kbit for everything from the internet but 8000kbit from our internal servers on yyy.yyy.yyy.yyy/yy network. It does not work. I only want to use u32 filters. I think what's happening is the first flowid of 1:21 is catching them and not getting to the 1:40 flowid. Is this right? The box
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
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
2001 Dec 24
2
Two u32 problems: module count and fw
Hi All,
I found 2 unusual behavior with u32 classifier in Kernel 2.4.12. Ive u32
compiled as module.
1> u32 filter seems not working if there is already some fw filter used for
some other class. In order to get u32 working Ive to delete root class,
which in terms delete all fw filters too, and then same command for u32
works. fw is also compiled as module.
2> If I add u32 filter to my
2005 Jun 22
4
tc on a PDA
hello,
i have a 5500 iPaq with familiar 0.8.2 on it and i don''t know how to
install a traffic shaper tool on it.
I installed iproute2 package i found on familiar site and for that i
have the tc and ip commands, but when trying to add a qdisc, as a
dummy example, i get the next answer:
> tc qdisc add dev wlan0 root cbq bandwidth 100Mbit avpkt 100
RTNETLINK answers: Invalid argument
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
2004 Jun 22
5
htb filter
Hello,
I have wrote some scripts to shape about 1000 workstations.
My config:
Pentium IV - 2GHz, 1Gb RAM, RedHat Enterprise Advanced Server 3, kernel 2.4.21-9.EL, iproute-2.4.7-11.30E.1
2 Gigabit Lan cards in bridge mode.
I use htb. Everything work fine, but I have troubles with showing running configuration.
# Init shaper root for dev eth0
tc qdisc add dev eth0 root handle 2: htb default 200
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
2004 Jan 31
5
tc filter protocol arp question
Hello,
I try to shape dhcp requests, but filter rule don''t work. My script is:
# Init Shaper for dev eth1
tc qdisc del dev eth1 root
# Init shaper root for dev eth1
tc qdisc add dev eth1 root handle 2: htb default 200
# Default shaper for dev eth1
tc class add dev eth1 parent 2:0 classid 2:200 htb rate 10Mbit prio 10
tc qdisc add dev eth1 parent 2:200 sfq perturb 10
# Init DHCPD
2002 Jun 18
7
Better filtering to a class
Dear all,
I want to make a filter for all IRC-Dalnet traffic, so I want to put all
traffic for port 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667, 6668, 6669,
7000, 7001, 7002, and 8000 to a class. So, I create a TC script as below.
I''m sure, it is not effective, and we can write it in simpler.
I need help, how to make my script below are simpler.
The simpler, the better.
Thank you
2004 Jan 29
2
wonder shaper problems
I just installed Xandros 2.0 Desktop. I used apt-get to install iproute. I
then downloaded wondershaper 1.1a from the website. I edited the script as
the readme says.
I went to console and started the wondershaper script...and i get the
following error messages.
RTNETLINK answers: Invalid Argument
many times.
Any ideas what is wrong?
MArk
_______________________________________________
2006 Feb 14
1
Guarantee ICMP respond time ?
Hello to all people there .
Can i guarantee ICMP respond time no metter how loaded is internet line .
i have typical NATed enviroiment like
External IP |linux router| LAN - 192.168.0.0/24
i have example setup with IMQ but is it possible to be done also if i
attache htb to eth0 and eth1 for example .
if i start shaper ping i better that without shaper but it''s not
guarantted i mean
2004 Sep 23
2
shaping fails when using p2p apps?
Hi there,
We''re running a small ISP and all the users are shaped to 384/512/768k
both ways (whichever package they choose).
The router is a linux (debian sarge), the kernel is 2.4.25 right now.
All users are getting 10.1.1.* ip addresses (eth1) and eth0 connects
to the isp using ethernet (via a media converter, it''s fiber from
there). They''re nat''s using
2006 Jun 22
1
please advise me in HTB and HFSC
now i''m read a lot of knowledge paper about traffic control in linux because now i''m try to develop and research about traffic shaper so can everybody tell me about my topic ... Is it can do for real????
my topic is "
now, many organization use traffic shaper for control traffic and bandwidth because don''t want something example
some mac address, ip address,
2006 Dec 14
1
hfsc rule command problem
My hfsc rule ..
tc qdisc add dev eth2 handle 1: root hfsc
iptables -t mangle -N ms-all
iptables -t mangle -N ms-all-chains
iptables -t mangle -N ms-prerouting
iptables -t mangle -A PREROUTING -j ms-prerouting
iptables -t mangle -A ms-prerouting -j CONNMARK --restore-mark
iptables -t mangle -A ms-prerouting -p udp --dport 4444 -j MARK --set-mark 1
iptables -t mangle -A ms-prerouting -p udp -m
2006 Mar 02
7
Problem with duplicate route entry
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
I have a problem with a duplicate route entry, when using a pre-installed route
and automatic take-over by the "heartbeat" daemon, which adds an address and
the kernel adds an route automatically.
Maybe anyone has an explanation...
> ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
inet 127.0.0.1/8 scope host lo
2006 Jan 30
1
Shared ADSL SHAPER
Hi,
I''m trying to make a shaper / firewall to improve sharing of bandwidth on a
ADSL (3mbit down / ½ mbit up)
Since the ADSL is very asymmetric, down is unimportant, I make a ingress rate
limit shaper to ensure, all shaping is at the Shaper, and not on the Router
or the ISP.
The Idea is then to make one HTB hierarchy and have each client (IP) filtererd
and put in a child-HTB queue.
2007 Jan 19
1
Traffic shaping with Powerboost
For those of you in the US using Comcast as your ISP, you''ll know that
they now have a feature called Powerboost available in the regions they
serve. Basically, it allows people to have higher-than-rated throughput
for the first few minutes of data transfer. After those few minutes,
they''re supposed to throttle back down to what their rated line speed
is.
I''m having
2005 Jun 13
1
Traffic shaping on WAN(serial) device
Hi,
In our product i am using the High Speed Serial driver as the WAN interface.
I''ve implemented the HSS as a serial driver and i am running PPP to
connect to the internet. I have both Voice data + FTP data going thro the
PPP session. Is it possible for me to use the Traffic shaper(wonder shaper)
in my case/ Do i need to make the HSS driver to appear as a network device
inorder to
2020 Jun 15
1
Voice "broken" during calls
On Monday 15 June 2020 at 21:50:36, Luca Bertoncello wrote:
> Am 15.06.2020 um 21:28 schrieb Antony Stone:
> > On Monday 15 June 2020 at 21:19:51, Luca Bertoncello wrote:
> >> But I'm not really sure, that Asterisk could be the problem, since, as I
> >> said, the problem happens even if I connect the phone direct to the
> >> server of Telekom...
> >