dobry den pani,
mam momentalne takuto konfiguraciu DSCP priorite na WAN vstupe. Mam problem momentalne s downloadom ..Chcel som
Port
eth1: WAN (konekt)
eth10: odchod na ALCOMU ( ostatna siet 172.16.0.0/12)
otazky:
- na správne fungovanie s DSCP na Wan porte mam dobre "prerouting" ??
- ako nastavit-preposlat pre vsetky routre v sieti, aby brala konfiguraciu hodnotu DSCP z EDGE routra ? Musim vsade na AP, routre (vsetko MK) zadat tuto konfiguraciu, ci staci zadat :
"/ip firewall mangle add action=set-priority chain=postrouting comment="preklad DSCP do hodnot priorit WMM-LEN PRE AP" new-priority=from-dscp-high-3-bits passthrough=yes ""
Dakujem za radu ...
add comment="Download Link" max-limit=400M name=DSCP->Priority parent=WAN priority=1 queue=pcq-download-default
add comment="DSCP 00-07 (Priority 8 - Lowest)" name="8. Routine" packet-mark=priority_8 parent=DSCP->Priority queue=pcq-download-default
add comment="DSCP 08-15 (Priority 7)" name="7. Priority" packet-mark=priority_7 parent=DSCP->Priority priority=7 queue=pcq-download-default
add comment="DSCP 16-23 (Priority 6)" name="6. Immedate" packet-mark=priority_6 parent=DSCP->Priority priority=6 queue=pcq-download-default
add comment="DSCP 24-31 (Priority 5)" name="5. Flash" packet-mark=priority_5 parent=DSCP->Priority priority=5 queue=pcq-download-default
add comment="DSCP 32-39 (Priority 4)" name="4. Flash Override" packet-mark=priority_4 parent=DSCP->Priority priority=4 queue=pcq-download-default
add comment="DSCP 40-47 (Priority 3)" name="3. Critical" packet-mark=priority_3 parent=DSCP->Priority priority=3 queue=pcq-download-default
add comment="DSCP 48-55 (Priority 2)" name="2. Internetwork Control" packet-mark=priority_2 parent=DSCP->Priority priority=2 queue=pcq-download-default
add comment="DSCP 56-63 (Priority 1 - Highest)" name="1. Network Control" packet-mark=priority_1 parent=DSCP->Priority priority=1 queue=pcq-download-default
/ip firewall mangle
add action=change-dscp chain=prerouting comment="DNS -> DSCP 60" dst-port=53 new-dscp=60 passthrough=yes protocol=tcp
add action=change-dscp chain=prerouting comment="DNS -> DSCP 60" dst-port=53 new-dscp=60 passthrough=yes protocol=udp
add action=change-dscp chain=prerouting comment="Radius -> DSCP 55" dst-address=10.10.10.1 new-dscp=55 passthrough=yes
add action=change-dscp chain=prerouting comment="SLEDOVANITV -> DSCP 42" dst-address-list=sledovanitv new-dscp=42 passthrough=yes protocol=tcp
add action=change-dscp chain=prerouting comment="ACK -> DSCP 34" new-dscp=34 packet-size=0-123 passthrough=no protocol=tcp tcp-flags=ack
add action=change-dscp chain=prerouting comment="Battle.Net -> DSCP 30" dst-port=1119,3724,6724 new-dscp=30 passthrough=yes protocol=tcp
add action=change-dscp chain=prerouting comment=" icmp -> DSCP 30" new-dscp=30 passthrough=yes protocol=icmp
add action=change-dscp chain=prerouting comment=" http-> DSCP 4" dst-port=80 new-dscp=4 passthrough=yes protocol=tcp
add action=change-dscp chain=prerouting comment="https -> DSCP 22" dst-port=443 new-dscp=22 passthrough=yes protocol=tcp
add action=change-dscp chain=prerouting comment=" vsetky tcp_connections -> DSCP 4" new-dscp=4 passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting comment="DSCP 63 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 62 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 61 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 60 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 59 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 58 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 57 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 56 -> PRI 1" dscp=56 new-packet-mark=priority_1 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 55 -> PRI 2" dscp=55 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 54 -> PRI 2" dscp=54 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 53 -> PRI 2" dscp=53 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 52 -> PRI 2" dscp=52 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 51 -> PRI 2" dscp=51 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 50 -> PRI 2" dscp=50 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 49 -> PRI 2" dscp=49 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 48 -> PRI 2" dscp=48 new-packet-mark=priority_2 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 47 -> PRI 3" dscp=47 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 46 -> PRI 3" dscp=46 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 45 -> PRI 3" dscp=45 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 44 -> PRI 3" dscp=44 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 43 -> PRI 3" dscp=43 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 42 -> PRI 3" dscp=42 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 41 -> PRI 3" dscp=41 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 40 -> PRI 3" dscp=40 new-packet-mark=priority_3 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 39 -> PRI 4" dscp=39 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 38 -> PRI 4" dscp=38 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 37 -> PRI 4" dscp=37 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 36 -> PRI 4" dscp=36 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 35 -> PRI 4" dscp=35 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 34 -> PRI 4" dscp=34 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 33 -> PRI 4" dscp=33 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 32 -> PRI 4" dscp=32 new-packet-mark=priority_4 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 31 -> PRI 5" dscp=31 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 30 -> PRI 5" dscp=30 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 29 -> PRI 5" dscp=29 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 28 -> PRI 5" dscp=28 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 27 -> PRI 5" dscp=27 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 26 -> PRI 5" dscp=26 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 25 -> PRI 5" dscp=25 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 24 -> PRI 5" dscp=24 new-packet-mark=priority_5 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 23 -> PRI 6" dscp=23 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 22 -> PRI 6" dscp=22 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 21 -> PRI 6" dscp=21 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 20 -> PRI 6" dscp=20 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 19 -> PRI 6" dscp=19 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 18 -> PRI 6" dscp=18 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 17 -> PRI 6" dscp=17 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 16 -> PRI 6" dscp=16 new-packet-mark=priority_6 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 15 -> PRI 7" dscp=15 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 14 -> PRI 7" dscp=14 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 13 -> PRI 7" dscp=13 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 12 -> PRI 7" dscp=12 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 11 -> PRI 7" dscp=11 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 10 -> PRI 7" dscp=10 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 09 -> PRI 7" dscp=9 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 08 -> PRI 7" dscp=8 new-packet-mark=priority_7 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 07 -> PRI 8" dscp=7 new-packet-mark=priority_8 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 06 -> PRI 8" dscp=6 new-packet-mark=priority_8 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 05 -> PRI 8" dscp=5 new-packet-mark=priority_8 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 04 -> PRI 8" dscp=4 new-packet-mark=priority_8 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 03 -> PRI 8" dscp=3 new-packet-mark=priority_8 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 02 -> PRI 8" dscp=2 new-packet-mark=priority_8 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 01 -> PRI 8" dscp=1 new-packet-mark=priority_8 passthrough=no
add action=mark-packet chain=prerouting comment="DSCP 00 -> PRI 8" dscp=0 new-packet-mark=priority_8 passthrough=no