X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=sample-configuration%2FREADME;fp=sample-configuration%2FREADME;h=1d094ae144b2a945d9664e20d685ee4cde6eabb0;hp=da5075da746eeec7407875f6febfc3a1fef61231;hb=e1614f4ecf6a148290070fb92fb8ec5162316816;hpb=5def4ce39f6eec34acb8c333068da837bb28311b diff --git a/sample-configuration/README b/sample-configuration/README index da5075d..1d094ae 100644 --- a/sample-configuration/README +++ b/sample-configuration/README @@ -1,13 +1,13 @@ -How we use Prometheus QoS in Brevnov: +How do we use Prometheus QoS in Brevnov: -1) /etc/hosts +1) /etc/prometheus/hosts 1500+ IP addresses are asigned either guaranted speed classes 64, 128, 256 and 512 kbps, with various HTB ceil rates, using "via-prometheus-" keyword. Some of IP addresses are set to share connection speed with internet gateway using "sharing-" keyword. -2) /etc/prometheus.conf +2) /etc/prometheus/prometheus.conf There are daily traffic quotas defined using "magic-relative-limit" value se to 8. This translates into 48h quota 1 GB for 64 kbps lines, @@ -41,7 +41,7 @@ Both symetrical and asymetrical NAT is defined by another script file, in iptables nat table (-t nat). Prometheus QoS uses only iptables mangle tables (-t mangle), see FAQ. -4) /etc/crontab and related files +4) /etc/cron.d/prometheus and related files Every hour, we run prometheus with -p switch to generate preview. On system boot, we run prometheus with -n switch to skip QoS free period.