similar to: add filter -> invalid argument

Displaying 20 results from an estimated 8000 matches similar to: "add filter -> invalid argument"

2002 Apr 22
2
RE: RTNETLINK answers: Invalid argument
Hi All, concerning the problem when running the "ip ru ls" command. I faced with the same problem, and I solved it by making sure to include the following settings into the kernel configuration (2.4.18): CONFIG_IP_ADVANCED_ROUTER=y <=== CONFIG_IP_MULTIPLE_TABLES=y <=== CONFIG_IP_ROUTE_FWMARK=y CONFIG_IP_ROUTE_NAT=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_TOS=y
2006 Jan 05
1
Adding dsmark qdisc fails
I ''m having a problem identical to one encountered on this list awhile back: >I''m trying to configure dsmark qdisc on 2.6.11.4 user mode linux and >tc from iproute2-2.6.11-050314. > > >I think I have some mismatch in my setup since adding dsmark qdisc >fails *unless* I specify "set_tc_index" argument which I believe should >be optional:
2005 Feb 13
2
Problems after Kernel upgrade to 2.6.10
Greetings, I have been reading the list for a little while now, but this is the first occasion I have had to post--of course, because of a problem. My problems began when I upgraded my RedHat 9 system to 2.6.10 from source. Aside from some other booting issues and things, all of which appear to be resolved, the only things NOT working are my scripts for traffic control. I get a whole host of
2006 Mar 28
4
[ ] IProute2 error ..
Dear all, I am having problem using iproute2 on my new Slackware 10.1 box. Here goes the problem: root@localhost:~# echo "200 DOONET" >> /etc/iproute2/rt_tables root@localhost:~# cat /etc/iproute2/rt_tables # # reserved values # 255 local 254 main 253 default 0 unspec # # local # #1 inr.ruhep 200 DOONET root@localhost:~# ip rule add from 10.255.255.0/24
2003 Oct 04
2
htb errors, wrong patch?
I downloaded iproute2-2.4.7-now-ss010824.tar.gz and I did patched tc with the htb3.6_tc.diff from htb3.6-020525.tgz and when I try to use a htb script I get just errors. I did not patch the kernel, since I use kernel 2.4.21 and I saw on - HTB Homepage that I need to patch it only if I run version 2.4.20 or earlier. Do also need the kernel patch ? Or maybe is something else wrong? RTNETLINK
2004 Aug 18
0
"RTNETLINK answers: Invalid argument" when adding default multipath route
Hi everybody, I''m not so glad because of the error I describe in the subject. I have two internet lines and I want to do equal cost loadbalancing on the two uplinks to the internet. This is what I do: ip route add 200.200.200.0/24 dev eth2 table 200 ip route add default via 200.200.200.254 dev eth2 table 200 ip route add 100.100.100.0/24 dev eth1 table 100 ip route add default via
2003 Feb 11
1
ip rule show fails but not ip route show
as you can see in the topic there is a problem with iproute2. ''ip rule show'' returns RTNETLINK answers: Invalid argument Dump terminated while ''ip route show'' for example returns the right output, what can possible be the problem here? the kernel is 2.4.18 and im not really sure with the version of iproute2. thanks for your help, tomas
2004 Aug 20
1
trouble with nexthop when I try to load balance
I have two internet lines and I want to do equal cost loadbalancing on the two uplinks to the internet. This is what I do: ip route add 200.200.200.0/24 dev eth2 table 200 ip route add default via 200.200.200.254 dev eth2 table 200 ip route add 100.100.100.0/24 dev eth1 table 100 ip route add default via 100.100.100.254 dev eth1 table 100 ip route add 200.200.200.0/24 src 200.200.200.1 dev eth2
2002 Oct 14
1
help, HTB2 and filter ?
Hi ; HTB2 patch for kernel 2.2.17 HTB2 patch for iproute2 Here is my script : tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 10: htb default 20 tc class add dev eth0 parent 10: classid:10:1 htb rate 90mbit ceil 90mbit burst 2000 tc class add dev eth0 parent 10:1 classid 10:100 htb rate 10mbit ceil 30mbit prio 1 tc class add dev eth0
2005 Apr 01
0
[ANNOUNCE] iproute2 2.6.11-050330
An updated version of the iproute2 utilities is available at: http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.11-050330.tar.gz It supports the latest features from 2.6, but is backwards compatiable with 2.4. This update includes several bugfixes and build clean from the previous version (2.6.11-050314): [Jamal Hadi Salim] * Proper verison of iptables headers (from 1.3.1) * Set
2004 May 21
2
fwmark / MARK / --set-mark syntax never run on my system! Search step by step help.
Hello! This arguments never run on my system, but I need this: #!/bin/bash -x echo "1" iptables -t mangle -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2 echo "2" echo "201 T1" >> /etc/iproute2/rt_tables echo "3" ip rule add fwmark 2 table T1 echo "4" ip route add default via 192.168.21.2 dev eth1 table T1 echo "5" ip route
2005 Jan 12
4
hashing filters
Hi all, I am a newbie and I have not played a lot with tc utility. I have red maybe everything that has to do with massive filtering (maybe not everything). If you can help me on this I would appriciate that very much. I use tc utility with iproute2-ss040831. I want to limit bandwidth for the 192.168.0.0/16 subnet using this script. tc qdisc del dev eth0 root tc qdisc add dev eth0 root
2005 Mar 25
3
These tc commands used to work... what''s broken them?
I have a Gentoo Linux (kernel 2.6.11) server. Several months ago, I made a traffic shaping setup for my box (running a 2.4 kernel then) that worked beautifully. It gave high priority to SSH and RealAudio traffic, and put HTTP downloading traffic on a lower prio so they could only use what bandwidth was left. However, I''ve only just realized that tc is no longer accepting the commands I
2004 Aug 24
0
iproute2 in a MIPS processor
Hi, i''m trying to do loadbalancing with a linux embedded with a MIPS procesor, but I''m in trouble. I have the kernel 2.4.20, and iproute2 ss010824. I compiled without errors, but when I executed the ip comand to install de mutipath default route I get the following error (all the previous commands have been executed according to the LARTC-HOWTO in section 4.2): linux# ip route
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
2002 Sep 06
1
Examples from HTB home page...
... do not work anymore. Anybody with a hint? I''ve got a fully functional HTB setup and just wanted to replace the kernel from 2.4.17 to 2.4.19. In the end the modified tc binary doesn''t recognize "tc filter add" (yet it does accept qdisc show and recognizes htb...) I''ve downloaded the 2.4.19 from kernel.org, iproute2 (2.4.7), installed the patches
2005 Mar 20
3
Adding dsmark qdisc fails
I''m trying to configure dsmark qdisc on 2.6.11.4 user mode linux and tc from iproute2-2.6.11-050314. I think I have some mismatch in my setup since adding dsmark qdisc fails *unless* I specify "set_tc_index" argument which I believe should be optional: # tc qdisc add dev eth1 handle 1:0 root dsmark indices 8 RTNETLINK answers: Invalid argument Mar 20 13:00:50 user user.debug
2001 Dec 05
0
Problem setting up nexthop
Dear Alexey, Sorry to bother you with this small question about nexthop syntax failing, but I haven''t found anyone else who can answer it - including Matthew Marsh or those on the lartc mailing list. The problem, with 2.2.19 and 2.2.20 kernels and versions of iproute2 up to iproute2-2.2.4-now-ss001007 (the most recent that compiles for me), is that this command does not work: # ip ro
2012 Mar 07
2
RTNETLINK answers: File exists when adding providers
When I attempt to start shorewall (version 4.0.15) I get an RTNETLINK error (see below). /var/log/shorewall-init.log [...] 21:02:18 Creating Interface Chains... 21:02:19 Adding Providers... RTNETLINK answers: File exists ERROR: Command "ip route add table 1 129.116.XXX.0/24 dev eth2 proto kernel s cope link src 129.116.XXX.30" Failed 21:02:25 Shorewall-generated routing tables and
2006 May 23
11
how to debug RTNETLINK invalid argument?
Hey, I am getting an invalid argument trying to insert a qdisc: [root@emu-5 iproute2]# tc qdisc add dev eth0 root xcp capacity 50Mbit limit 500 RTNETLINK answers: Invalid argument I''m not sure whats wrong here, because i can successfully insert this qdisc on other computers of mine. How can i debug this? Thanks! George