Forums:
Amigos hago notar este error de este excelente script para limitación de ancho de banda como es el htb-gen, version: rpm -q htb-gen: htb-gen-0.8.4-1
Por defecto htb-gen solo soporta que limites a 500 hosts (lineas que incluyen la ip min down min up max down y max up). Así que para que no le pase a ustedes deben modificar en el htb-gen.conf el # de la clase inicial para que te soporte mas de 500 ip limitadas.
Este es el error detectado:
Illegal "classid"
Error: argument "invalid parent ID" is wrong: 1:10149
Error: argument "invalid parent ID" is wrong: 1:10151
Illegal "classid"
Error: argument "invalid class ID" is wrong: 1:10152
Error: argument "invalid parent ID" is wrong: 1:10152
Error: argument "invalid parent ID" is wrong: 1:10153
Illegal "classid"
Error: argument "invalid parent ID" is wrong: 1:10152
Error: argument "invalid parent ID" is wrong: 1:10154
Illegal "classid"
Error: argument "invalid class ID" is wrong: 1:10155
Error: argument "invalid parent ID" is wrong: 1:10155
Error: argument "invalid parent ID" is wrong: 1:10156
Illegal "classid"
Error: argument "invalid parent ID" is wrong: 1:10155
Error: argument "invalid parent ID" is wrong: 1:10157
Illegal "classid"
Para arreglar entrar a /etc/htb-gen/htb-gen.conf
##############
#Really Advanced Configuration: TOUCH THIS IF YOU REALLY KNOW WHAT ARE DOING
#the parent classes, util if you have an alredy runing htb-init set of files
#change this two values ONLY if you whant to mix htb-gen with a manual htb-init conf
#files only for this two classes and bellow will be created
#put the full class path ie: "3:30:300" or "3:4:5:9" or "3"
class_parent_down="7000" #the parent(htb.init notation) class of the down iface
class_parent_up="7001" #the parent(htb.init notation) class of the up iface
class_start="7002" #defualt start from 7000 to not interfer with other clases
#this allow about 500 hosts in config, if you need more simply
#put a lower class_start value
##############
pueden cambiar a class_star="1002" y para ser mas ordenados cambien class_parent_down="1000" y class_parent_up="1001", esos valores los puedes colocar como gustes.
Saludos
gracias buen aporte!
gracias buen aporte!
No veo que sea un error, sino
No veo que sea un error, sino una opción de configuración ...
bye
;)