Dear members
I'm new to this list and also new to tc command.
I have a subnet with over 30 pc which have ip addresses from 172.16.1.1/16 range.I want that each computer in my subnet can work with internet with maximum 6k for download and maximum 6k for upload.when i run the following tc commands from my bridge the first pc works well but the second pc can not work with 6k and it has an almost dead connection with internet.I think somethings goes wrong because i want that each computer has 6k bandwith no all computer have 6 bandwith togeather...!
can any one help me
--------------------------------------------------------------------------------------
tc qdisc del dev eth0 root 2>/dev/null
tc qdisc del dev eth1 root 2>/dev/null
tc qdisc del dev eth1 root 2>/dev/null
tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000 cell 8
tc qdisc add dev eth1 root handle 11: cbq bandwidth 100Mbit avpkt 1000 cell 8
tc qdisc add dev eth1 root handle 11: cbq bandwidth 100Mbit avpkt 1000 cell 8
tc class add dev eth0 parent 10:0 classid 10:3 cbq \
allot 1514 cell 8 maxburst 20 avpkt 1000 prio 3 \
bandwidth 48Kbit rate 48Kbit weight 1Kbit bounded
tc qdisc add dev eth0 parent 10:3 sfq quantum 48Kbit
tc filter dev eth0 parent 10:0 protocol ip prio 1 u32 flowid 10:3 \
match ip src 172.16.1.1/16
allot 1514 cell 8 maxburst 20 avpkt 1000 prio 3 \
bandwidth 48Kbit rate 48Kbit weight 1Kbit bounded
tc qdisc add dev eth0 parent 10:3 sfq quantum 48Kbit
tc filter dev eth0 parent 10:0 protocol ip prio 1 u32 flowid 10:3 \
match ip src 172.16.1.1/16
----------------------------------------------------------------------------------------
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today