From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waters Date: Sun, 28 Apr 2002 01:08:55 +0000 Subject: [LARTC] help :) Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello lartc, I have about 400Kbit/s link, and I need to divide it into 2 parts (for 2 computers). What I have done wrong? Correct please! tc qdisc add dev eth0 root handle 10: cbq bandwidth 400Kbit avpkt 1000 tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 400Kbit rate \ 400Kbit allot 1514 weight 40Kbit prio 8 maxburst 20 avpkt 1000 tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 400Kbit rate \ 100Kbit allot 1514 weight 10Kbit prio 5 maxburst 20 avpkt 1000 bounded tc class add dev eth0 parent 10:1 classid 10:200 cbq bandwidth 400Kbit rate \ 300Kbit allot 1514 weight 30Kbit prio 5 maxburst 20 avpkt 1000 \ bounded tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15 tc qdisc add dev eth0 parent 10:200 sfq quantum 1514b perturb 15 tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match ip dst \ 10.0.0.2 flowid 10:200 tc filter add dev eth0 parent 10:0 protocol ip prio 25 u32 match ip dst \ 10.0.0.3 flowid 10:100 -- Best regards, Waters mailto:waters@inbox.lv _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/