Enviado em 06/02/2010 - 07:18h
Pessoal bom dia, estive vendo um artigo aqui no VOL sobre htb coloquei / instalei ele no Slackware 12.1 porem assim q ativo ele.. mesmo estando configurado o DHCP/MAC ( e nos arquivos referente ao htb /etc/htb/eth0-qos.cfg (REDE INTERNET 200.xx.xx.xx e o /etc/htb/eth1-qos.cfg (REDE LOCAL classe 192.30.30.0) o sistema nao reconhece o ip e joga tudo na class default de 8 kb que esta no final do arquivo, pq isso ? o que esta errado nesse script ? segue arquivos porem editados nomes.
eth0-qos-cfg:
class rede {
bandwidth 8192;
limit 8192;
burst 2;
priority 1;
client Paulo {
bandwidth 80 ;
limit 150;
burst 2;
priority 1;
src {
192.30.30.207/24;
};
};
client Alda {
bandwidth 120;
limit 300;
burst 2;
priority 1;
src {
192.30.30.245/24;
};
};
};
class default { bandwidth 8; };
ETH1-QOS.CFG
class rede {
bandwidth 8192;
limit 8192;
burst 2;
priority 1;
client Paulo {
bandwidth 80;
limit 150;
burst 2;
priority 5;
dst {
192.30.30.207/24;
};
};
client Alda {
bandwidth 120;
limit 300;
burst 2;
priority 5;
dst {
192.30.30.245/24;
};
};
};
class default { bandwidth 3500; };
Obrigado.
eth0-qos-cfg:
class rede {
bandwidth 8192;
limit 8192;
burst 2;
priority 1;
client Paulo {
bandwidth 80 ;
limit 150;
burst 2;
priority 1;
src {
192.30.30.207/24;
};
};
client Alda {
bandwidth 120;
limit 300;
burst 2;
priority 1;
src {
192.30.30.245/24;
};
};
};
class default { bandwidth 8; };
ETH1-QOS.CFG
class rede {
bandwidth 8192;
limit 8192;
burst 2;
priority 1;
client Paulo {
bandwidth 80;
limit 150;
burst 2;
priority 5;
dst {
192.30.30.207/24;
};
};
client Alda {
bandwidth 120;
limit 300;
burst 2;
priority 5;
dst {
192.30.30.245/24;
};
};
};
class default { bandwidth 3500; };
Obrigado.