From: "Taylor, Grant" <gtaylor@riverviewtech.net>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: A question.
Date: Fri, 22 Apr 2005 18:51:02 +0000 [thread overview]
Message-ID: <42694796.20703@riverviewtech.net> (raw)
In-Reply-To: <c6694c640504211237229d1722@mail.gmail.com>
> that I apply it IP to each of my network?
Yes, you will want a similar rule for each IP on your network.
> tc class add dev imq0 parent 1: classid 1:1 htb rate 15kbps
> tc qdisc add dev imq0 parent 1:1 handle 10: sfq perturb 10
> tc filter add dev imq0 protocol ip parent 10:0 prio 1 u32 match ip src
> 192.168.1.2<-<-<-<-<-<-<-<-</32 flowid 1:1
> tc filter add dev imq0 protocol ip parent 10:0 prio 1 u32 match ip dst
> 192.168.1.2<-<-<-<-<-<-<-<-<-/32 flowid 1:1
You will want to assign each ip to a different flow id as the flow id identifies a rate limiting rule. Thus if you put two or more computers on the same flow id they will be rate limited as one entity not each computer by its self.
Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-04-22 18:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-21 19:37 [LARTC] Re: A question Rene Casasola
2005-04-22 7:34 ` Taylor Grant
2005-04-22 14:28 ` Taylor, Grant
2005-04-22 18:51 ` Taylor, Grant [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=42694796.20703@riverviewtech.net \
--to=gtaylor@riverviewtech.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.