Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Nataniel Klug <nata@cnett.com.br>
To: lartc@vger.kernel.org
Subject: [LARTC] QoS Solution for an ISP - Need help on my build tryout
Date: Mon, 03 Apr 2006 20:27:48 +0000	[thread overview]
Message-ID: <44318544.7070003@cnett.com.br> (raw)

    Hello all,

    I am doing many trys on put a QoS Solution to work at my ISP/WISP. I 
have this network topology:

router <> eth0.srv <> eth1.srv <> clients

    I just want to make that ALL http, mail, ssh and icmp traffic have 
preference in any instace. So, what I tryed to do was this:

My link has 3096 Kbps upload and 3096 Kbps download (it is a ppp from a 
telecom)

    I set a class (tc class) in both interfaces making all trafic going 
to default class 1:20 that has prio 5. In this class I put a max 
velocidade of 2500 Kbps. Them I made a filter that will direct all 
marked (with mark 40) packets to class 1:10 in both interfaces and this 
class has prio 1 and parent to 1:0. I have marked packges like this:

iptables -t mangle -A PREROUTING -p tcp -m tcp --dport 80 -j MARK 
--set-mark 40
iptables -t mangle -A PREROUTING -p tcp -m tcp --sport 80 -j MARK 
--set-mark 40

    I made this for every port and every protocol I want but I could not 
make this QoS works fine. This is still too slow (http browsing).

    Can someone help me?

Att,

Nataniel Klug
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2006-04-03 20:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=44318544.7070003@cnett.com.br \
    --to=nata@cnett.com.br \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox