From: gypsy <gypsy@iswest.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Wondershaper in internal network
Date: Sun, 22 Aug 2004 18:06:58 +0000 [thread overview]
Message-ID: <4128E0C2.86798ED2@iswest.com> (raw)
In-Reply-To: <41277458.7070807@apspektakel.com>
Johan Lindqvist wrote:
> This is my setup:
> DSL modem > 4 port internet router > 1. Winxp computer
> > 2. Linux computer
> > 3. Linux computer (thin client to computer no 2)
>
> Every computer has one NIC. I know that the internal traffic is
> interfered because the remote x environment get extremely slow after
> running wondershaper. I have been thinking of putting a second nic into
> computer no 2, since it is obvious that would eliminate the problem, but
> if it is possible to solve this in another way, that would be
> preferable, since it would save some money on a long cable and a new nic
> ;) ..
> Would it not be an easy thing just putting into wondershaper another
> qdisc that shapes and police say 90 mbit, and a filter that catches all
> 192.168. traffic that leads to that queue? I just don't know how to do
> this myself...
Might be "an easy thing", but I don't know how!
Perhaps the following will help.
http://andthatsjazz.org/lartc/ultimate.html shows a 4-queue Wonder
script.
http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/index.html
http://digriz.org.uk/
Jim diGriz's URL is not working right now; traceroute dies at
213.162.127.69. But it is a "don't miss", so keep trying!
What I'm not finding but expect might be possible is a second "root":
tc qdisc add dev eth0 root handle 1: htb default 30
tc qdisc add dev eth0 root handle #: htb default ## << will this work?
Dunno, but I do know that you'll get bad results if the DSL and the
internal network are in the same class.
Wonder forces EVERYTHING not otherwise filtered into the default / bulk
class. You might want NOT to do that so that unmatched stuff is totally
ignored by HTB. Rather than "match ip dst 0.0.0.0/0 flowid 1:30" you
add a bunch of filters that match internet but not internal NW...???
gypsy
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2004-08-22 18:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-21 16:12 [LARTC] Wondershaper in internal network Johan Lindqvist
2004-08-22 1:39 ` gypsy
2004-08-22 2:07 ` nix4me
2004-08-22 7:14 ` Johan Lindqvist
2004-08-22 17:23 ` gypsy
2004-08-22 18:06 ` gypsy [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=4128E0C2.86798ED2@iswest.com \
--to=gypsy@iswest.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.