panca sorin wrote:
Hello lartc maintainers and users!
I have a router with two NICs. One NIC is connected to the Internet and the other to my internal LAN. I made a script for priorizing interactive traffic. The script matches TOS Minimize-Delay for priorizing interactive trafic, and fwmark for metropolitan packets.
I have two root classes (simulating two circuits) : 1:1 for internet and 1:3 for metropolitan.
When I watch -n1 tc -s -d qdisc show, the classes that belong to metropolitan traffic (FE) on the two interfaces are not sending nor receiving any byte...
Can someone help me out this situation? I list my tc and iptables scripts below (for some reason I could't attach them - "Invalid file").
Thank you in advance!
---------------------------------------------------------------------------------------------------------------------
my_script.sh:
I only skimmed through - the lack of CRs make it a bit difficult to read.
One thing to note is that unlike htb, prio 1 is the top prio for filters
- and you use prio 0 for the metro so this filter won't see traffic that
has already been fclassified by the prio 1 tos filter.
Also when using tos be aware that some apps set it - so there could be
other traffic than that set by the iptables rules.
Andy.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc