smeserver-qos/root/etc/e-smith/templates/etc/rc.d/init.d/qos/25Classes

19 lines
644 B
Plaintext

# Class 10 will handle real time traffic, like VoIP
# and user specified high priority UDP and TCP ports as well as
# High priority hosts
CLASS_1=$[{ ($qos{'Class1'} || '45') }*$UPLINK/100]
# This class will handle high priority traffic, like ICMP, DNS, NTP, TCP Ack
CLASS_2=$[{ ($qos{'Class2'} || '25') }*$UPLINK/100]
# This class will handle all the traffic which is not marked
CLASS_3=$[{ ($qos{'Class3'} || '15') }*$UPLINK/100]
# This class will handle low prio traffic like SMTP
CLASS_4=$[{ ($qos{'Class4'} || '10') }*$UPLINK/100]
# This class will handle very low priority traffic
CLASS_5=$[{ ($qos{'Class5'} || '5') }*$UPLINK/100]