Donate Share

MPD: FreeBSD PPP daemon

Subscribe

mpd 5.3 shape

  1. 2009-11-07 02:05:37 UTC

    Абонент получает вот такие аттрибуты Traffic filters : 1#1 'match src host 83.143.232.16 or src host 217.146.241.6' 2#1 'match src host 10.0.0.9 or src host 172.17.0.1' 3#1 'match src net 10.0.0.0/8 or dst net 10.0.0.0/8' Traffic limits : in#2#norma 'flt3 shape 100024600 pass' in#40#inet 'all shape 1024600 pass' out#1#vegalocal 'flt1 shape 100024600' out#2#local 'flt2 shape 10024600 pass' out#3#norma 'flt3 shape 100024600 pass' out#40#inet 'all shape 512600 pass'

    Почему-то не происходит правильное шейпирование !!! Происходит так, что канал интернет (filter inet) режется по скорости фильтра norma... Может Я в чём-то не прав... Помогите

  2. 2009-11-07 02:08:07 UTC

    Абонент получает вот такие аттрибуты

    Traffic filters : 
    1#1 'match src host 83.143.232.16 or src host 217.146.241.6' 
    2#1 'match src host 10.0.0.9 or src host 172.17.0.1' 
    3#1 'match src net 10.0.0.0/8 or dst net 10.0.0.0/8' 
    
    Traffic limits : 
    in#2#norma 'flt3 shape 100024600 pass'
    in#40#inet 'all shape 1024600 pass' 
    out#1#vegalocal 'flt1 shape 100024600' 
    out#2#local 'flt2 shape 10024600 pass' 
    out#3#norma 'flt3 shape 100024600 pass' 
    out#40#inet 'all shape 512600 pass'
    

    Почему-то не происходит правильное шейпирование !!! Происходит так, что канал интернет (filter inet) режется по скорости фильтра norma... Может Я в чём-то не прав... Помогите

    P.S:Сорри за повтор, не заметил новые правилила оформленния )))

  3. 2009-11-11 15:20:49 UTC

    на ng интерфейсе, к которому применён этот фильтр какой адрес абонента?

  4. 2009-11-12 13:46:28 UTC

    10.0.0.0/22 IP

  5. 2009-11-13 04:40:26 UTC

    Нашёл решение сам

    mpd-filter  +=  1#1=match src host 83.143.232.16 or src host 217.146.241.6 
    mpd-filter  +=  2#1=match src host 10.0.0.9 or src host 172.17.0.1 
    mpd-filter  +=  3#1=match dst host 10.0.0.9 or dst host 172.17.0.1 
    mpd-filter  +=  4#1=match src net 10.0.0.0/8 
    mpd-filter  +=  5#1=match dst net 10.0.0.0/8 
    mpd-limit  +=  out#1#vegalocal=flt1 deny
    mpd-limit  +=  out#2#local=flt2 shape 10024600 pass 
    mpd-limit  +=  out#3#norma=flt4 shape 10024600 pass 
    mpd-limit  +=  in#2#local=flt3 shape 10024600 pass 
    mpd-limit  +=  in#3#norma=flt5 shape 10024600 pass
    

    Кому нужно объясню, что получится )))

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.