FreeBSD ############### CONTROLE DE BANDA SIMPLES # aker /sbin/ipfw add 1975 pipe 1975 ip from any to 10.128.1.8 out via fxp0 /sbin/ipfw add 1976 pipe 1976 ip from 10.128.1.8 to any out via fxp1 /sbin/ipfw pipe 1975 config bw 128Kbit/s /sbin/ipfw pipe 1976 config bw 128Kbit/s # testetopan /sbin/ipfw add 1977 pipe 1977 ip from any to 10.10.12.0/24 out via fxp0 /sbin/ipfw add 1978 pipe 1978 ip from 10.10.12.0/24 to any out via fxp1 /sbin/ipfw pipe 1977 config bw 256Kbit/s /sbin/ipfw pipe 1978 config bw 256Kbit/s /sbin/ipfw add 5900 allow all from me to any /sbin/ipfw add 5901 allow all from any to me /sbin/ipfw add 6001 pipe 6001 ip from any to any /sbin/ipfw pipe 6001 config bw 1Kbit/s ########################################## ################ Controle de Banda com QOS ipfw pipe 1 config bw 1024Kb/s ipfw queue 1 config pipe 1 weight 80 ipfw queue 2 config pipe 1 weight 40 ipfw add queue 1 all from any to 192.168.3.0/24 out via rl1 ipfw add queue 2 all from any to any out via rl1 ######################################### # Sample By # Christopher Giese # skywarrior@bsdux.com.br # www.bsdux.com.br