[FUG-BR] Erro no pf.conf - queue root_dc0 already exists on	interface dc0
    Cristina Fernandes Silva 
    cristina.fsilva em yahoo.com.br
       
    Quinta Janeiro 25 16:54:53 BRST 2007
    
    
  
Pessoal,
estou com erro ao instalar um controle de banda usando o PF. o erro é este ao digitar
pfctl -f pf.conf
queue root_dc0 already exists on interface dc0
pfctl: DIOCADDALTQ: Invalid argument
pfctl -nf pf.conf
queue root_dc0 already exists on interface dc0
pfctl: the sum of the child bandwidth higher than parent "root_dc0"
pfctl: the sum of the child bandwidth higher than parent "root_dc0"
andei olhando a lista encontrei este erro, porem segundo ocorre quando a soma do bandwith das
filas filho ultrapassam o bandwith da fila pai, porem nas minhas configurações nao ultrapasam.
Eis minhas configurações
no kernel
######################
#Opcpes para Packet Filter                                                                        
             
device          pf
device          pflog
device          pfsync
options         ALTQ
options         ALTQ_CBQ        # Class Bases Queuing (CBQ)
options         ALTQ_RED        # Random Early Detection (RED)
options         ALTQ_RIO        # RED In/Out
options         ALTQ_HFSC       # Hierarchical Packet Scheduler (HFSC)
options         ALTQ_PRIQ       # Priority Queuing (PRIQ)
options         ALTQ_NOPCC      # Required for SMP build
no rc.conf
#################
ifconfig_dc0="inet 10.0.0.2  netmask 255.255.255.0"
ifconfig_vr0="inet 172.168.0.2 netmask 255.255.255.0"
pf_enable="YES"                 
pf_rules="/etc/pf.conf"         
pf_flags=""                     
pflog_enable="YES"              
pflog_logfile="/var/log/pflog"  
pflog_flags=""                  
no pf.conf
#######################
int_int="vr0"
int_ext="dc0"
rede="172.168.0.0"
# Link
down="2.5Mb"
uplo="2.5Mb"
# Habilita enfileiramento
#------------------------------------------------
# Upload
altq on $int_ext cbq bandwidth $uplo queue  { baixa bmedia media alta center }
   queue baixa   bandwidth 128Kb   cbq(default)
   queue bmedia      bandwidth 128Kb   priority 1
   queue media      bandwidth 200Kb   priority 2
   queue alta       bandwidth 350Kb   priority 3
   queue center       bandwidth 512Kb   priority 4
# Download
# define os parametros para as subfilas.
altq on $int_ext cbq bandwidth $down queue  { baixa_in bmedia_in media_in alta_in center_in }
    queue baixa_in   bandwidth 200Kb   cbq(default)
    queue bmedia_in     bandwidth 200Kb   priority 1
    queue media_in      bandwidth 300Kb   priority 2
    queue alta_in       bandwidth 512Kb   priority 3
    queue center_in     bandwidth 768Kb   priority 4
O restante eu nao mandei, mas se for importante eu mando.
obrigada
Cristina
__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 
    
    
Mais detalhes sobre a lista de discussão freebsd