Asa arata la mine si functioneaza o parte in sensul ca:
eth0 e pt out, deci se limiteaza uploadul pe el, si nu se conformeaza,
adica nu vrea.
eth1 e pt in adica download (inspre reteaua locala) si merge f bine.
din cate am inteles am eu o problema de nu vrea sa imi mearga si
limitarea pe upload.
dar ca si exemple sper ca te ajuta
################
# eth0-qos.cfg #
################
# for how to configure and use see docs/HowTo/
class class_1 {
bandwidth 102400;
limit 102400;
burst 12;
priority 1;
client client_1 {
bandwidth 512;
limit 512;
burst 2;
priority 1;
src {
x.x.x.x/32;
};
};
# client client_2 {
# bandwidth 48;
# limit 64;
# burst 2;
# priority 1;
# src {
# 192.168.2.0/24;
# };
# };
#
# client client_3 {
# bandwidth 48;
# limit 64;
# burst 2;
# priority 1;
# src {
# 192.168.3.0/24;
# };
# };
#
# client client_4 {
# bandwidth 48;
# limit 64;
# burst 2;
# priority 1;
# src {
# 192.168.4.0/24;
# };
# };
};
class default { bandwidth 102400; };
################
# eth1-qos.cfg #
################
# for how to configure and use see docs/HowTo/
class class_1 {
bandwidth 102400;
limit 102400;
burst 120;
priority 1;
client client_1 {
bandwidth 1024;
limit 1024;
burst 2;
priority 1;
# upload 512; <-- aici mi-a zis arny sa incerc pt a
rezolva problema cu uploadul, dar tot nu a mers
dst {
x.x.x.x/32;
};
};
client client_2 {
bandwidth 512;
limit 512;
burst 2;
priority 1;
dst {
x.x.x.x/32;
};
};
#
# client client_3 {
# bandwidth 48;
# limit 64;
# burst 2;
# priority 1;
# dst {
# 192.168.3.0/24;
# };
# };
#
# client client_4 {
# bandwidth 48;
# limit 64;
# burst 2;
# priority 1;
# dst {
# 192.168.4.0/24;
# };
# };
};
class default { bandwidth 102400; };