From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Tue, 06 Dec 2005 02:07:18 +0000 Subject: Re: [LARTC] can I use tos and fwmark at the same time? Message-Id: <4394F256.8010102@dsl.pipex.com> List-Id: References: <20051115134253.6020.qmail@web32603.mail.mud.yahoo.com> In-Reply-To: <20051115134253.6020.qmail@web32603.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc