All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Rossato <mailing_list@istitutocolli.org>
To: lartc@vger.kernel.org
Subject: [LARTC] traffic shaping and gre tunnels
Date: Thu, 28 Nov 2002 22:07:18 +0000	[thread overview]
Message-ID: <marc-lartc-103852138920319@msgid-missing> (raw)

Hi!

Thanks to LARTC I was able to set up  this configuration:
- ppp0 (adsl connection) to the internet
- vpn0 connection to a remote router with a gre tunnel

I'm doing shaping traffic out of ppp0 with HTB: Minimum delay (tos 
0x10), icmp and ACK packets get maximun priority and all available 
bandwitdh, file sharing gets 3/10 of bandwidth (ceiil 9/10) and the rest 
6/10 of bandwidth (ceil 9/10). I can get good result even with eavy loads.

Now, I would very much like to know, if someone can help:

1. gre tunnel traffic is not shaped internally when it gets to ppp0, 
right? So if I want to shape it I need to use a qdisc for vpn0.
2. if 1 is correct, I need to set a txqueuelen for vpn0, otherwise I 
 would not get any effect, right? (default is txqueuelen:0)
3. In order to set priority, in ppp0, for all tunnel traffic,  I need to 
use  a filter with the u32 selector? will somthing like 'match ip 
protocol 47' be fine?
4. How can I set up a filter for shaping (in ppp0) encapsulated traffic? 
for istance, if I want ssh to vpn0 to have maximum priority either 
within the tunnel and also within the traffic passing trough ppp0, how 
can achivie that?  I cannot find documentation on u32 that I can use to 
work that out...


Thank you very much.
Andrea

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-11-28 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-28 22:07 Andrea Rossato [this message]
2002-11-29 18:46 ` [LARTC] traffic shaping and gre tunnels Andrea Rossato

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=marc-lartc-103852138920319@msgid-missing \
    --to=mailing_list@istitutocolli.org \
    --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.