All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] can I use tos and fwmark at the same time?
Date: Tue, 06 Dec 2005 02:07:18 +0000	[thread overview]
Message-ID: <4394F256.8010102@dsl.pipex.com> (raw)
In-Reply-To: <20051115134253.6020.qmail@web32603.mail.mud.yahoo.com>

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

  reply	other threads:[~2005-12-06  2:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-15 13:42 [LARTC] can I use tos and fwmark at the same time? panca sorin
2005-12-06  2:07 ` Andy Furniss [this message]
2005-12-06  9:50 ` psihozefir
2005-12-06 15:09 ` Andy Furniss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4394F256.8010102@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.