| 1 | # use TABs to separate IP address, hostname, and speed definition! |
| 2 | # this file is just dummy example not related to prometheus.conf.SAMPLE |
| 3 | # see sample-configuration/hosts to learn more about what Prometheus QoS can handle |
| 4 | |
| 5 | # syntax: "via-prometheus-MIN-MAX", where MIN and MAX are values in kbps |
| 6 | # "sharing-HOSTNAME" is useful to aggregate more IPs in single traffic class |
| 7 | |
| 8 | # note, that keywords parsed by Prometheus QoS look like ordinary comments to tools |
| 9 | # used to process bsd-style /etc/hosts file... |
| 10 | |
| 11 | 192.168.0.0 mynetwork #(just internal info - network name) |
| 12 | 192.168.0.1 myrouter #(just internal info - internal interface of my router) |
| 13 | 192.168.0.2 mypc #via-prometheus-512-1024 |
| 14 | 192.168.0.3 mynotebook #sharing-mypc |
| 15 | 192.168.0.9 thatrouter #sharing-mypc |
| 16 | |
| 17 | 192.168.1.0 thatnetwork #(just internal info - the other network name) |
| 18 | 192.168.1.1 someroutername #(the other eth on the other router) |
| 19 | 192.168.1.2 thatpc1 #via-prometheus-256-1024 |
| 20 | 192.168.1.3 thatpc2 #sharing-thatpc1 |
| 21 | 192.168.1.4 thatpc3 #via-prometheus-128-256 |
| 22 | 192.168.1.5 thatpc4 #adsl-prometheus-64-512 |
| 23 | |
| 24 | # etc., etc. whatever you want |
| 25 | # this configuration was never really tested, unlike brevnov-hosts.SAMPLE !! |
| 26 | # (but it should work too, of course...) |