Priority queueing within existing class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hye
I have a divided bandwidth using cbq and would like to provide priority
packet handling to certain traffic within the divided bandwith.

		------
               |10/100|
               | card |
		------
                  |
	          |   
	        ----         
               |4.5 |
               |Mbit| <- at this point could I assign prefered packet
		----		handling at this point



# all traffic goes through at 4.5Mbits at  priority 25 with  
filter add dev $INT_DEV parent 10:0 protocol ip prio 25 u32 \
                        match ip dst 0.0.0.0/0 flowid 10:100



#then assign a specific ip higher priority on the same flowid???
tc filter add dev eth1 parent 10:0 protocol ip prio 1 u32 match ip dst
192.168.2.10 flowid 10:100 


I was wondering if that should work. Or could anyone suggest a better
method?


Or do you think I have to go higher and create another class with a new
flowid?

not sure how to go about this one. 

Thanks for any input

Al


-- 
------------------------------------------------------------------
 Allan McIntosh, Software Technologist
 Atreus Systems Corp, http://www.atreuscorp.com
 Phone: (613) 569 2196  
 Fax: (613) 233-8204
------------------------------------------------------------------



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux