Cviceni9
Níže je uveden pouze náhled materiálu. Kliknutím na tlačítko 'Stáhnout soubor' stáhnete kompletní formátovaný materiál ve formátu PDF.
PCQ
Moitor
LAB
PCQ - pˇr´ıklad
/ip firewall mangle add action=mark-packet chain=forward
new-packet-mark=client upload out-interface=ether1
src-address=10.1.1.0/24 add action=mark-packet chain=forward
dst-address=10.1.1.0/24 in-interface=ether1
new-packet-mark=client download
Hardware poˇ
c´ıtaˇ
cov´
ych s´ıt´ı
Qos
Simple Queues
Queue Trees
PCQ
Moitor
LAB
PCQ - pˇr´ıklad
/queue type add kind=pcq name=PCQ download
pcq-classifier=dst-address pcq-rate=2M add kind=pcq
name=PCQ upload pcq-classifier=src-address pcq-rate=1M
Hardware poˇ
c´ıtaˇ
cov´
ych s´ıt´ı
Qos
Simple Queues
Queue Trees
PCQ
Moitor
LAB
PCQ - pˇr´ıklad
/queue tree add name=queue upload packet-mark=client upload
parent=global queue=PCQ upload add name=queue download
packet-mark=client download parent=global
queue=PCQ download
Hardware poˇ
c´ıtaˇ
cov´
ych s´ıt´ı
Qos
Simple Queues
Queue Trees
PCQ
Moitor
LAB
Monitoring
I
Traffic monitor - tools/Trafic monitor - skript pˇri dosaˇ
zen´ı
limitu
I
Torch - sleduje provoz na dan´
em rozhran´ı/rozsahu
I
Graphs - Grafick´
y n´
astroj pro sledov´
an´ı provozu
I
http://<router-IP-address>/graphs
I
Nutno pˇridat v Tools/Graphing
I
Interface, Resources, Queues
Hardware poˇ
c´ıtaˇ
cov´
ych s´ıt´ı
Qos
Simple Queues
Queue Trees
PCQ
Moitor
LAB
LAB1:
I
Router - Reset configuration, No default
I
NAT (masquerade) na WAN
I
DHCP server LAN
I
Speedtest http://192.168.90.10/speedtest/
I
Speedtest http://147.229.148.9/
Hardware poˇ
c´ıtaˇ
cov´
ych s´ıt´ı
Qos
Simple Queues
Queue Trees
PCQ
Moitor
LAB
LAB2:
I
Vytvoˇrte SQ kter´
a bude limitovat veˇsker´
y provoz z vaˇs´ı s´ıtˇ
e na
4M/2M
I
Ovˇ
eˇrte rychlost
I
Vyzkouˇsejte se dvˇ
ema klienty (soused)
Hardware poˇ
c´ıtaˇ
cov´
ych s´ıt´ı
Qos
Simple Queues
Queue Trees
PCQ
Moitor
LAB
LAB3:
I
Pˇridejte do fronty burst s n´
asleduj´ıc´ımi parametry
I
Burst limit 4M (upload), 6M (download)
I
Burst-threshold 3M (upload), 5M (download)
I
Burst-time 16 seconds pro oba
I
Ovˇ
eˇrte
Hardware poˇ
c´ıtaˇ
cov´
ych s´ıt´ı
Qos
Simple Queues
Queue Trees
PCQ
Moitor
LAB
LAB4:
I
Zakaˇ
zte SQ,
I
Vytvoˇrte PCQ syst´
em pomoc´ı strom˚
u front se stejn´
ymi
parametry, jako v´
yˇse
I
Ovˇ