From: Luiz Felipe Ceglia <lceglia@terenet.com.br>
To: lartc@vger.kernel.org
Subject: [LARTC] weird?...
Date: Mon, 08 Apr 2002 22:27:51 +0000 [thread overview]
Message-ID: <marc-lartc-101830527224700@msgid-missing> (raw)
Hi Folks,
I have the following setup.
Packages going to 192.168.1.51 are going thru 1:30, instead of 1:32.
What have I done wrong?
#attach htb in eth1
tc qdisc add dev eth1 root handle 1: htb default 30
#sets the ceil in eth1 root
tc class add dev eth1 parent 1: classid 1:1 htb rate $ROOT_ETH1
#gives full BW to localnet traffic
tc class add dev eth1 parent 1:1 classid 1:10 htb rate $LOCALBW ceil
$LOCALBW_CEIL
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip src
200.255.3.0/24 flowid 1:10
#gives $RADIOBW for traffic which source = ! 200.255.3.0/24 (my localnet)
tc class add dev eth1 parent 1:1 classid 1:20 htb rate $RADIOBW
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip src
0.0.0.0/0 flowid 1:20
#################CLIENTES
#
##########DON BOSCO
tc class add dev eth1 parent 1:20 classid 1:30 htb rate $DB_RATE ceil $DB_CEIL
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip dst
192.168.1.16/28 flowid 1:30
##########OLEGARIO
tc class add dev eth1 parent 1:20 classid 1:32 htb rate $OLE_RATE
ceil $OLE_CEIL
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip dst
192.168.1.48/28 flowid 1:32
--
Luiz Felipe Ceglia - Staff TereNet
lceglia@terenet.com.br - +55-21-9135-3679
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2002-04-08 22:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-101830527224700@msgid-missing \
--to=lceglia@terenet.com.br \
--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.