Ola a tds!
Estou tentando criar um script p controlar banda de um servidor, lembrando q tenho 3 interface de rede "eth0 recebe a net, eth1 rede interna e eth2 wlan". Minha intensao é controlar a banda da rede wlan. OBS o link total eh de 512. Abaixo segue o resultado do meu script.
[root@servweb teste]# ./controlebanda.sh + tc qdisc add dev eth2 root handle 1: htb default 30 RTNETLINK answers: File exists + tc class add dev eth2 root classid 1:0 htb rate 128kbps RTNETLINK answers: File exists + tc class add dev eth2 parent 1:0 classid 1:10 htb rate 96kbps ceil 128kbps RTNETLINK answers: File exists + tc class add dev eth2 parent 1:0 classid 1:20 htb rate 128kbps ceil 128kbps RTNETLINK answers: File exists + tc class add dev eth2 parent 1:0 classid 1:30 htb rate 32kbps RTNETLINK answers: File exists + tc filter add dev eth2 parent 1:0 protocol ip u32 match ip dport 80 0xffff flowid 1:10 + tc filter add dev eth2 parent 1:0 protocol ip u32 match ip dport 8080 0xfff flowid 1:10 + tc filter add dev eth2 parent 1:0 protocol ip u32 match ip dport 3128 0xfff flowid 1:10 + tc filter add dev eth2 parent 1:0 protocol ip u32 match ip dport 22 0xfff flowid 1:20 + tc filter add dev eth2 parent 1:0 protocol ip u32 match ip flowid 1:30 Illegal "match" [root@servweb teste]#
Alguem sabe qual é o erro, ou melhor, o q eh esse "RTNETLINK answers: File exists" ?
Grato
+-------------------------------------------------------+ | Pedro H. A. Neto | Analista de Tecnologia da Informatica | MSN pedrohaneto@hotmail.com | UIN 196.039.600 | Orkut http://www.orkut.com/Home.aspx?xid=2023086171787910905 +-------------------------------------------------------+
--------------------------------- Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora!