Could you help me for the iproute(tc command) or give me any advise.
Excuse me(Sorry for that I don't know who I should ask about this question, so I send this email for four people)¡G
I try to use tc command to manage bandwidth in my office, but something wrong (Should I combine another software???? ).
My enviroment is list below:
OS¡GRedHat 7.0
eth0¡Gdfe-530TX
eth1¡Gne
Software version¡Giproute-2.2.4
enviroment¡G
LAN(140.92.52.X) ------eth0---eth1-------Virthal LAN(192.168.0.X) Test mothod¡G
LAN(FTP Server¡G140.92.52.10)<------->eth0----eth1<-------->Virthal LAN(FTP Client)
*Problem¡GI can see the bandwidth is still up to 10Mbit.
--------------------------------------------------------------------------------
My config file content is¡G
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 I can't find the problem(Because no error msg and any other situation).Would you give me a hand to solve this problem, and I would be so grateful.I really want to use QoS in Linux enviroment recently, so I try to ask this question by your email.No matter what, thanks so much for your job.
--------------------------------------------------------------------------------
My kernel's module¡G
<M>CBQ
<M>CSZ
<M>The simplest PRIO pseudoscheduler
<M>RED
<M>SFQ
<M>TEQL
<M>TBF
<*>QoS support
<*>Rate estimator
<*>Packet classifier API
<M>Routing table based classifier
<M>Firewall
<M>U32
<M>Special RSVP classifier
<M>Special RSVP classifier FOR IPv6
<*>Ingres traffic policing
--------------------------------------------------------------------------------
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/