Re: [LARTC] traffic shaping question

Linux Advanced Routing and Traffic Control

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

 



Is the following sounding logical? I'm trying to
     1. Make all traffic from 192.168.0.106 highest priority
     2. Make all traffic to 192.168.0.106 highest priority

tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 \
	match ip src 192.168.0.106/32 flowid 10:1 
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 \
	match ip dst 192.168.0.106/32 flowid 10:1

Furthur, how can I track (besides subjectively) the activity,
like, dropped packets, etc?

On Tue, 2003-06-03 at 14:24, Shawn wrote:
> I have a variation of the wondershaper script, but I'm not sure that I
> know how to make it do what I want it to do... which is: prioritize
> traffic from a particular host for which my gentoo linux box is a
> router.
> 
> Specifically, 192.168.0.106 is a Cisco ATA 186 VoIP box serving me with
> phone goodness. I want that to be top priority. Problem is, wondershaper
> doesn't exactly fit the bill here.
> 
> The docs don't seem to specifically cover this. I'd like to know about
> "tc", and how all it's "N:N" and "prio N" syntax mean too.



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux