[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on altq



I am wrong?

The code:

################################
## Banda para servidores (DMZ)##
################################
altq on $if_ipturbo cbq bandwidth 100% queue {jacare,innnet,number1}

queue jacare bandwidth 400Kb {jr_http_out,jr_pop,jr_smtp_out,jr_ftp_out,jr_outros}

queue innnet bandwidth 256Kb {it_http_out,it_outros}

queue number1 bandwidth 256Kb {n1_http_out,n1_pop,n1_smtp_out,n1_ftp_out,n1_outros}

##########################
### Regras para jacare ###
##########################
queue jr_http_out priority 7 cbq(borrow,red)
queue jr_pop priority 6 cbq(borrow)
queue jr_smtp_out priority 5 cbq(borrow)
queue jr_ftp_out priority 4 cbq(borrow)
queue jr_outros priority 2 cbq(borrow,default)

##########################
### Regras para innnet ###
##########################
queue it_http_out priority 7 cbq(borrow,red)
queue it_outros priority 5 cbq(borrow,default)

###########################
### Regras para number1 ###
###########################
queue n1_http_out priority 7 cbq(borrow,red)
queue n1_pop priority 6 cbq(borrow)
queue n1_smtp_out priority 5 cbq(borrow)
queue n1_ftp_out priority 4 cbq(borrow)
queue n1_outros priority 2 cbq(borrow,default)

#################################################################



where's the rest of your pf.conf?