URL: https://linuxfr.org/forums/linux-debian-ubuntu/posts/shaper-qos Title: Shaper (QoS) Authors: Laurent Léonard Date: 2007年01月25日T23:25:53+01:00 Tags: debian Score: 0 J'essaye de mettre en place un bridage de connexion Internet pour une machine. Mon but sera de mettre cela en application sur une passerelle fournissant une connexion Internet à plusieurs machines, mais j'effectue d'abord mes tests en local. Pour ce faire, j'ai installé le paquet "shaper" comprenant un script init tout fait paramétrable avec des fichiers de configuration dans /etc/shaper/. J'utilise pour mes tests un kernel Debian précompilé (2.6.18-3) qui comprend les modules QoS (CLS_* et SCH_*). Voici mes fichiers de configuration : /etc/shaper/cbq-0064.in DEVICE=eth0,100Mbit,10Mbit RATE=64Kbit WEIGHT=6Kbit RULE=127.0.0.1 /etc/shaper/cbq-0064.out DEVICE=eth0,100Mbit,10Mbit RATE=64Kbit WEIGHT=6Kbit RULE=127.0.0.1, J'imagine qu'il suffira de remplacer 127.0.0.1 par un range (192.168.1.0/24 par exemple) afin d'appliquer cela sur une passerelle. Et voilà ce que me donne un /etc/init.d/shaper restart : Stopping CBQ traffic shaping: shaper. Starting CBQ traffic shaping: find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. RTNETLINK answers: No such file or directory RTNETLINK answers: File exists RTNETLINK answers: File exists shaper. Et si je réexécute la même commande juste après : Stopping CBQ traffic shaping: shaper. Starting CBQ traffic shaping: RTNETLINK answers: No such file or directory RTNETLINK answers: File exists RTNETLINK answers: File exists shaper. Et bien sûr, aucun bridage n'est en place... Aurais-je oublié quelque chose ? Si quelqu'un avait un tutoriel ou quelques notes sur le sujet (en utilisant cette méthode) ça ne serait pas de refus !