[LARTC] giving internal traffic a own queu

Linux Advanced Routing and Traffic Control

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

 



Hi
Im using a Linux Router, sharing dsl for the lan.
Now Im trying to set up one queue for each Computer conected from lan.
Setting up the queues is easy, but making a rule that matches them not.
tc filter add dev ppp0 parent 1: protocol ip prio 10 u32 \
match ip src 10.0.0.2/32 \
flowid 1:20
that doesnt work at all. It produces no error, but they still use default (1:50) instead of 1:20.
Now my question, how do you mark your internal traffic?
I dont want to change anything at eth1 (internal net) because the router works as Fileserver too.
How do I use eg. iptables? i ve found sth. calles --mark value, but nowere explained what "value" means and what values are legal and I dont want it to match any rule for the Router (eg. minimized delay or sth).
thanks
Dieter



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