From: Terry Baume <lists@bogaurd.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Traffic shaping on multiple interfaces
Date: Fri, 06 Jul 2007 04:53:00 +0000 [thread overview]
Message-ID: <468DCA84.7030801@bogaurd.net> (raw)
In-Reply-To: <467E4B74.5030809@gmail.com>
Andy Furniss wrote:
> This won't work on ifb0. You could put it on eth1 and change the
> "protocol ip" to "protocol all" and change the match to "match u32 0
> 0" . In theory that may catch a few arp so I suppose you could add
> another rule to exempt them.
>
> tc filter add dev eth1 parent ffff: protocol arp prio 1 u32 match u32
> 0 0 flowid :2
>
> I would also make the burst bigger since you have quite high ingress
> bandwidth.
>
> Andy.
Thanks for the suggestions Andy, I've put them all into place, and
everything seems to be working nicely. I just had a question regarding
the rule to catch the ARP's - I get this message when I add the rule:
RTNETLINK answers: File exists
I guess this because the parent qdisc for that interface has already
been defined - does this mean that the rule won't work? Or is it just a
debugging notice that can be safely ignored?
I've also raised my burst to 50k. Implementing the downstream shaping
techniques you suggested, I am seeing good results.
I had a question regarding the ifb device - does it behave as a normal
interface when doing masquerading etc? It seems that if I place
destination IP's in the NOPRIOHOSTDST field, these get marked as low
priority, and the same when I put source ports in NOPRIOPORTSRC. When I
put source IP's in the NOPRIOHOSTSRC field, these do not seem to get
marked as low priority - I tried with 192.168.0.1 as an example (an FTP
server on the network). Could this be related to the fact that I'm using
the IFB device?
Thanks,
Terry.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-07-06 4:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-24 10:58 [LARTC] Traffic shaping on multiple interfaces Terry Baume
2007-06-24 11:58 ` Alexandru Dragoi
2007-06-25 1:01 ` Andy Furniss
2007-07-06 0:32 ` Andy Furniss
2007-07-06 4:53 ` Terry Baume [this message]
2007-07-07 20:18 ` Andy Furniss
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=468DCA84.7030801@bogaurd.net \
--to=lists@bogaurd.net \
--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.