|
Bonjour,
Je d�sirerais limiter la bande passante sur un
poste avec 1 ou 2 carte r�seaux sous linux,
comment dois-je faire ?
J'ai essay� iptables & tc dans le script
d'iptables mais il m'affiche "RTNETLINK answers: Invalid argument":
iptables -t mangle -A OUTPUT -m length --length 0:500 -j
MARK --set-mark 3
iptables -t mangle -A OUTPUT -m length --length 500:1500 -j MARK --set-mark 4 iptables -t mangle -A PREROUTING -i eth0 -m length --length 0:500 -j MARK --set-mark 3 iptables -t mangle -A PREROUTING -i eth0 -m length --length 500:1500 -j MARK --set-mark 4 tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt 1000 mpu 64 tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit \ rate 51Kbit allot 1514 prio 1 maxburst 10 avpkt 100 isolated tc class add dev eth0 parent 10:0 classid 10:2 cbq bandwidth 10Mbit \ rate 77Kbit allot 1514 prio 8 maxburst 2 avpkt 1500 bounded tc filter add dev eth0 parent 10:0 protocol ip handle 3 fw flowid 10:1 tc filter add dev eth0 parent 10:0 protocol ip handle 4 fw flowid 10:2 on m'a aussi parl� de shaperd mais il utilise aussi
tc, y-a-il d'autre solution pour limiter la bande passante?
merci |
- [Confirme] Re: [Confirme] G�rer/Limiter la Bande Passante linux-mandrake
- [Confirme] Re: [Confirme] G?rer/Limiter la Bande Passa... Marc Perache
- [Confirme] Re: [Confirme] G?rer/Limiter la Bande P... linux-mandrake
