+ Responder ao Tópico



  1. #1

    Padrão QoS duvidas

    Estive dando uma olhada em algumas regras de QoS disponiveis no site da mk... como tbm aqui no under.

    - notei que em algumas em algumas regras existe somente a marcacao do pacote (mark packet). em outros existem as marcacao da conexao e do pacote.
    faz alguma diferenca marcar somente o pacote ou é bom marcar ambos (conexao e pacote)?

    - o "Passthrough", em algumas regras estao marcadas... em outras nao.
    qdo é que marcamos essa opcao? faz alguma diferenca ela estar marcada?

    Alguem ai poderia tirar essas minhas duvidas?

  2. #2

    Padrão Re: QoS duvidas

    ninguem?



  3. #3
    André Andrade*MikrotikRio Avatar de interhome
    Ingresso
    Oct 2008
    Localização
    Brasil.
    Posts
    1.094
    Posts de Blog
    15

    Padrão Re: QoS duvidas

    - o "Passthrough", em algumas regras estao marcadas... em outras nao.
    qdo é que marcamos essa opcao? faz alguma diferenca ela estar marcada?


    Quando se marca o Passthrough - " passe a frente " . Digamos por exemplo :
    /ip firewall mangle
    add action=mark-connection chain=output comment="Hotspot - Full" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=udp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64873
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64874
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64875
    add action=mark-connection chain=output comment="Hotspot - Full" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=udp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64873
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64874
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64875
    add action=mark-packet chain=output comment="" connection-mark=hotspot-out \
    disabled=no new-packet-mark=hotspot passthrough=no

    O Passe esta "Yes" em todas as regras porque precisavamos fazer a marcacao dele no final. Quando acabamos de dar tratamento passou a "No".

  4. #4

    Padrão Re: QoS duvidas

    Obrigado.
    agora deu para entender
    Citação Postado originalmente por interhome Ver Post
    - o "Passthrough", em algumas regras estao marcadas... em outras nao.
    qdo é que marcamos essa opcao? faz alguma diferenca ela estar marcada?


    Quando se marca o Passthrough - " passe a frente " . Digamos por exemplo :
    /ip firewall mangle
    add action=mark-connection chain=output comment="Hotspot - Full" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=udp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64873
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64874
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=CLIENTE1 passthrough=yes \
    protocol=tcp src-port=64875
    add action=mark-connection chain=output comment="Hotspot - Full" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=udp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64872
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64873
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64874
    add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=hotspot-out out-interface=wlan1 passthrough=yes \
    protocol=tcp src-port=64875
    add action=mark-packet chain=output comment="" connection-mark=hotspot-out \
    disabled=no new-packet-mark=hotspot passthrough=no

    O Passe esta "Yes" em todas as regras porque precisavamos fazer a marcacao dele no final. Quando acabamos de dar tratamento passou a "No".