All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
Cc: netfilter@vger.kernel.org
Subject: Re: tc and virtual interfaces
Date: Fri, 10 Jul 2009 15:08:04 +0200	[thread overview]
Message-ID: <4A573D34.7080100@plouf.fr.eu.org> (raw)
In-Reply-To: <4A572D8C.7010703@duet.it>

Hello,

Fabio Marcone a écrit :
> Hi all,
> I need to add traffic shaping in a linux router (debian) and I need to 
> understand tc behaviour with virtual interfaces.
> 
> Examples:
> I have eth0 and eth0:0, if I set a limit on eth0 datarate, is also 
> eth0:0 involved?

eth0:0 is not an interface, it is an IPv4 alias on eth0. The real and 
only interface here is eth0.

> ...or...
> If I have a tunnel OpenVPN (tun0) on eth0, how is managed data rate limit?

tun0 is an interface on its own. However, if encapsulating traffic 
happens to go through eth0, it will be affected by traffic shaping just 
as any other traffic going through eth0.



  reply	other threads:[~2009-07-10 13:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 12:01 tc and virtual interfaces Fabio Marcone
2009-07-10 13:08 ` Pascal Hambourg [this message]
2009-07-10 13:54   ` Fabio Marcone
2009-07-10 13:56     ` Jorge Dávila
2009-07-10 14:00       ` Jorge Bastos
2009-07-10 14:06       ` Karel Rericha
2009-07-10 13:22 ` Jorge Dávila

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=4A573D34.7080100@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@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.