From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB problem running on VLAN, not working
Date: Sun, 09 Oct 2005 00:27:50 +0000 [thread overview]
Message-ID: <43486406.6060603@dsl.pipex.com> (raw)
In-Reply-To: <004701c5ca9f$744c1080$1c1c43d9@floppy>
Samuel Koscelansky / "SUBNET" wrote:
I tested shaping on vlan and it seems OK for me (even though my switch
doesn't do vlan it doesn't seem to block oversize frames). I noticed a
few things with your setup -
> #classes for download
> /sbin/tc class add dev eth0.100 parent 100: classid 100:1 htb rate 4000kbit quantum 6000
>
> /sbin/tc class add dev eth0.100 parent 100:1 classid 100:2 htb rate 1000kbit quantum 6000
> /sbin/tc qdisc add dev eth0.100 parent 100:2 handle 1002 pfifo limit 10
You attach pfifo as if 100:2 is a leaf class here
>
> #my pc testing class
> #down
> /sbin/tc class add dev eth0.100 parent 100:2 classid 100:2828 htb rate 1000kbit quantum 6000
> /sbin/tc filter add dev eth0.100 parent 100: protocol ip prio 1 u32 match ip dst 217.67.28.28 classid 100:2828
> /sbin/tc qdisc add dev eth0.100 parent 100:2828 handle 1002828 sfq perturb 10
But have it as a parent here, also I think the handle on sfq is too big
and if eth0.100 is to your ISP then dst should be changed src in the match.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-10-09 0:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-06 17:57 [LARTC] HTB problem running on VLAN, not working Samuel Koscelansky / "SUBNET"
2005-10-09 0:27 ` Andy Furniss [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=43486406.6060603@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox