All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Artūras Šlajus" <x11@h2o.pieva.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Newbie HTB shaping question
Date: Tue, 09 Dec 2003 16:15:13 +0000	[thread overview]
Message-ID: <marc-lartc-107098665822853@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107097396006285@msgid-missing>

rajkumars@asianetindia.com wrote:
> tc qdisc add dev eth0 root handle 1: htb default 12
> tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
> tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil 100kbps
> tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil 100kbps
> tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil 100kbps
OK
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst 192.168.3.90 match ip dport 8080 0xffff flowid 1:10
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 192.168.3.90 match ip sport 8080 0xffff flowid 1:10
you aren't wgeting file from 8080 port of other machine, do you?
look from you pc perspective, not client.
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 192.168.3.92 flowid 1:11
> tc qdisc add dev eth0 parent 1:10 handle 20: pfifo limit 5
> tc qdisc add dev eth0 parent 1:11 handle 30: pfifo limit 5
> tc qdisc add dev eth0 parent 1:12 handle 40: sfq perturb 10
OK



-- 
Sincerely, Artūras 'arturaz' Šlajus
You can find me at:
irc.freenode.org: nick arturaz
irc.data.lt: nick arturaz
ICQ: 157929934
Jabber: arturaz@akl.lt

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-12-09 16:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-09 11:37 [LARTC] Newbie HTB shaping question rajkumars
2003-12-09 12:51 ` Jan Gerritsen
2003-12-09 15:43 ` Rajkumar S
2003-12-09 16:15 ` Artūras Šlajus [this message]
2003-12-09 16:34 ` Rajkumar S
2003-12-09 16:35 ` Martin A. Brown
2003-12-09 17:19 ` Rajkumar S
2003-12-09 19:59 ` Darryl Miles

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=marc-lartc-107098665822853@msgid-missing \
    --to=x11@h2o.pieva.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.