LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 05-16-2006, 06:03 AM   #1
ssoc80
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
help with tc qdisc


Hi all,

i would like to have 2 different class:
1) for a specific traffic selected throug a filter
2) for all other packets

on the first class i need to set both the maximum rate (x) than the buffer size (y).

now, what i'm going to set is:

....
tc qdisc add dev eth0 root handle 1: htb default 11

tc class add dev eth0 parent 1: classid 1:1 htb
tc class add dev eth0 parent 1:1 classid 1:10 htb /
rate x ceil x
tc class add dev eth0 parent 1:1 classid 1:11 htb

tc filter add dev eth0 protocol ip parent 1:0 u32 /
match ip dport 9000 0xffff flowid 1:10

tc qdisc add dev eth0 bfifo limit y
....

is it correct or there is any easier way to do this?

Regards.
 
  


Reply



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
qdisc initiation shrishailnk Linux - Networking 0 04-14-2006 10:16 PM
tc qdisc and multiple external IPs tvynr Linux - Networking 2 10-12-2005 07:49 PM
tc qdisc Invalid argument problem 4mix Linux - Networking 1 09-09-2004 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration