From: lchou@staff.pccu.edu.tw Date: Fri, 27 Apr 2001 18:40:29 +0000 Subject: [LARTC] Could you help me for the iproute(tc command) or give me any advise. Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Excuse me(Sorry for that I don't know who I should ask about this question,= so=20 I send this email for four people)=A1G I try to use tc command to manage bandwidth in my office, but something wro= ng (Should I combine another software???? ). My enviroment is list below: OS=A1GRedHat 7.0 eth0=A1Gdfe-530TX eth1=A1Gne Software version=A1Giproute-2.2.4 enviroment=A1G LAN(140.92.52.X) ------eth0---eth1-------Virthal LAN(192.168.0.X) Test mothod=A1G LAN(FTP Server=A1G140.92.52.10)<------->eth0----eth1<-------->Virthal LAN(F= TP=20 Client) *Problem=A1GI can see the bandwidth is still up to 10Mbit. ---------------------------------------------------------------------------= ----- My config file content is=A1G tc qdisc add dev eth1 root handle 20: cbq bandwidth 1Mbit avpkt 1000 tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 1Mbit rate \ 1Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000 tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 1Mbit rate \ 800Kbit allot 1514 weight 80Kbit prio 5 maxburst 20 avpkt 1000 \ bounded tc class add dev eth1 parent 20:1 classid 20:200 cbq bandwidth 1Mbit rate \ 200Kbit allot 1514 weight 20Kbit prio 5 maxburst 20 avpkt 1000 \ bounded tc qdisc add dev eth1 parent 20:100 sfq quantum 1514b perturb 15 tc qdisc add dev eth1 parent 20:200 sfq quantum 1514b perturb 15 tc filter add dev eth1 parent 20:0 protocol ip prio 100 u32 match ip src \ 140.92.52.10 flowid 20:200 tc filter add dev eth1 parent 20:0 protocol ip prio 25 u32 match ip src \ 140.92.0.0/16 flowid 20:100 ---------------------------------------------------------------------------= ----- But the result for this test is fail(the bandwidth is still up to 10Mbit), = and=20 I can't find the problem(Because no error msg and any other situation).Woul= d=20 you give me a hand to solve this problem, and I would be so grateful.I real= ly=20 want to use QoS in Linux enviroment recently, so I try to ask this question= by=20 your email.No matter what, thanks so much for your job. ---------------------------------------------------------------------------= ----- My kernel's module=A1G CBQ CSZ The simplest PRIO pseudoscheduler RED SFQ TEQL TBF <*>QoS support <*>Rate estimator <*>Packet classifier API Routing table based classifier Firewall U32 Special RSVP classifier Special RSVP classifier FOR IPv6 <*>Ingres traffic policing ---------------------------------------------------------------------------= ----- --------------------------------------------- This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Rout= ing/