Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-16-2006, 07:03 AM   #1
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?



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

All times are GMT -5. The time now is 06:04 PM.

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