Quality of service: Porovnání verzí
Řádek 1: | Řádek 1: | ||
[[ru: Качество обслуживания]] | [[ru: Качество обслуживания]] | ||
− | [[ | + | [[cs: Zajištění kvality služeb (QoS)]] |
Quality of Service (QoS) allows individual members to set different guaranteed and maximum speed and helps to ensure quality of service (eg VoIP). | Quality of Service (QoS) allows individual members to set different guaranteed and maximum speed and helps to ensure quality of service (eg VoIP). |
Aktuální verze z 10. 12. 2013, 07:42
Quality of Service (QoS) allows individual members to set different guaranteed and maximum speed and helps to ensure quality of service (eg VoIP).
For each member a maximum guaranteed rate can be explicitly set and define priority list of IP addresses for dedicated service.
This behaviour is created by using daemon that periodically retrieves data (definition of their behaviour) from FreenetiIS, and according to these data establishes tools iptables and ipset rules that guarantee a defined behaviour.
Obsah
Installing from source
This installation procedure is there for development purposes. Users should install the package by using frenetis-qos.
Dependencies
apt-get install wget ipset iptables
Installation
Scripts and configuration file can be found in the folder /application/vendors/qos in the FreenetIS files source. Installation procedure:
1)Copy files
sudo mkdir /etc/freenetis cd ./application/vendors/qos sudo cp ./freenetis-qos.init.sh /etc/init.d/freenetis-qos sudo cp ./freenetis-qos-sync.sh /usr/sbin/freenetis-qos-sync sudo cp ./freenetis-qos.conf /etc/freenetis
2)Set RunPermissions
sudo chmod +x /etc/init.d/freenetis-qos sudo chmod +x /usr/sbin/freenetis-qos-sync
3)Starts automatically after boot
sudo update-rc.d freenetis-qos defaults
Configuration
In the configuration file (/etc/freenetis/freenetis-qos.conf) You must set the path to FreenetIS (variable PATH_FN).
Furthermore, after the input and output interface (variable INPUT_INTERFACE, OUTPUT_INTERFACE).
Input interface means an interface to which the rules apply for download and upload output rules.
Starting and Managing
The script is run automatically when the system boots.
Manual start:
sudo /etc/init.d/freenetis-qos start
Manual stop:
sudo /etc/init.d/freenetis-qos stop
Current status of monitoring:
sudo /etc/init.d/freenetis-qos status