LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Closed Thread
 
Search this Thread
Old 06-12-2012, 07:47 AM   #1
hesisaboury
Member
 
Registered: Dec 2010
Location: iran
Posts: 173

Rep: Reputation: 0
TC Error


hello,
after running this (debian Lenny-2.6.26-1-686) :
CEIL=80kbit
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1: classid 1:10 htb rate $CEIL ceil $CEIL prio 0
tc class add dev eth0 parent 1:1 handle 1:12 htb rate 5kbit ceil 5kbit prio 1
tc class add dev eth0 parent 1:1 handle 1:13 htb rate 6kbit ceil 6kbit prio 2
tc class add dev eth0 parent 1:1 handle 1:14 htb rate 5kbit ceil $CEIL prio 3
tc class add dev eth0 parent 1:1 handle 1:15 htb rate 15kbit ceil $CEIL prio 4
tc qdisk add dev eth0 parent 1:12 handle 120: sfq perturb 10
tc qdisk add dev eth0 parent 1:13 handle 130: sfq perturb 10
tc qdisk add dev eth0 parent 1:14 handle 140: sfq perturb 10
tc qdisk add dev eth0 parent 1:15 handle 150: sfq perturb 10

tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 1 fw classid 1:12
tc filter add dev eth0 parent 1:0 protocol ip prio 2 handle 2 fw classid 1:13
tc filter add dev eth0 parent 1:0 protocol ip prio 3 handle 3 fw classid 1:14
tc filter add dev eth0 parent 1:0 protocol ip prio 6 handle 6 fw classid 1:15

#iptables -t mangle -A PREROUTING -p icmp -j MARK --set-mark 0x1
#iptables -t mangle -A PREROUTING -p icmp -j RETURN

#iptables -t mangle -A PREROUTING -p tcp -m tcp --dport 22 -j MARK --set-mark 0x1
#iptables -t mangle -A PREROUTING -p tcp -m tcp --dport 22 -j RETURN

iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 0x1
iptables -t mangle -A PREROUTING -p tcp -j RETURN

i get this error ===>


RTNETLINK answers: File exists
RTNETLINK answers: File exists
Error: try "classid" instead of "handle"
Error: try "classid" instead of "handle"
Error: try "classid" instead of "handle"
Error: try "classid" instead of "handle"
Object "qdisk" is unknown, try "tc help".
Object "qdisk" is unknown, try "tc help".
Object "qdisk" is unknown, try "tc help".
Object "qdisk" is unknown, try "tc help".
RTNETLINK answers: File exists
We have an error talking to the kernel
RTNETLINK answers: File exists
We have an error talking to the kernel
RTNETLINK answers: File exists
We have an error talking to the kernel
RTNETLINK answers: File exists
We have an error talking to the kernel
iptables v1.4.2: Unknown arg `(null)'
Try `iptables -h' or 'iptables --help' for more information.


PLZ guide...
 
Old 06-17-2012, 03:45 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Google-Chrome Error (Error 9 (net::ERR_UNEXPECTED): Unknown error) smoooth103 Slackware 4 12-04-2010 08:42 PM
[SOLVED] php5 ./configure error: (FILENAME=- FNR=27) fatal error: internal error richinsc Linux - Software 2 07-08-2010 10:20 AM
Memory error: extended error chipkill ecc error rajivdp Linux - Hardware 1 12-07-2009 09:26 AM
Sendmail: eocket wedge , 504 error , dsn error, mail relay connection error djcs Debian 0 03-03-2009 01:41 AM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 07:46 PM


All times are GMT -5. The time now is 01:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration