All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Arkadiusz Binder" <arek@chelmnet.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] vlan traffic shaping.
Date: Thu, 12 May 2005 15:52:39 +0000	[thread overview]
Message-ID: <20050512155240.0C4D1EE9B6@tx.pl> (raw)
In-Reply-To: <1115613474.14194.25.camel@chidori.cephiro>

hello. I soon will have similar problem.

Do you know any vlan hardware switches from middle shelf price which can shape traffic on one interface between different vlans on it? With borrowing, not borrowing and priorityzing?

Linux1--34rmbit----hw_switch--34m--linux2
                             \--internet

On linux box side i consider  such scenario of solving my problem.
Vlan1=linux1-linux2
Vlan2=linux1-internet
Vlan3=linux2-internet

Vlan1+vlan24m, vlan2 cir=8 mbit
Vlan3 cir=8 mbit
All in duplex.

So i will create 2 queues in linux1, one for vlan1 and one for vlan2.
Build script that will do:
 tc -s ls dev eth0.1
Tc -s ls dev eth0.2

the script will be executed every second and will look for total bandwidth... When sum exceeds 33 mbits it will then set :
Tc class replace / qdisc replace, to decrease the bandwidth of vlan1, to improve vlan2.

I consider some checking of external link statistics if needed.

What do you think about that, if i cannot mix queues of eth0, eth0.1 and eth0.2 ???



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

      parent reply	other threads:[~2005-05-12 15:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09  4:37 [LARTC] vlan traffic shaping Robert Denier
2005-05-11 22:02 ` Andy Furniss
2005-05-12 15:52 ` Arkadiusz Binder [this message]

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=20050512155240.0C4D1EE9B6@tx.pl \
    --to=arek@chelmnet.pl \
    --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.