всем привет.
Конечно АПнул я тему, но есть проблема:
В тарифе указал: Скорости неосновного направления - 51200 (ну это 50Мбит получается)
в разделе "Программирование поведения тарифа" указал: 2:51200
В "Настройки" -> "Направления", в настройках "Направление №2" указал 126 таблицу фаервола, добавил новое направление и указал подсеть провайдера 10.0.0.0/8(там локальные ресурсы)
ну после изменения тарифа, обновил тарифы. Так же сделал рестарт ядра.
В итоге скорость как резалась согласно основному направлению, так и режется, т.е. дает 9 Мбит(как указано в тарифе) а не 50 как мне надо.
Итак:
Программирование поведения тарифа:2:51200
<time 19,20,21,22,23>0:0-8192
<time 02,03,04,05,06,07,08>0:0-20480
0:0-9216
8:500
# ipfw table all list
---table(0)---
192.168.0.2/32 0
192.168.0.3/32 0
192.168.0.4/32 0
192.168.0.5/32 0
192.168.0.6/32 0
192.168.0.11/32 0
192.168.0.12/32 0
192.168.0.13/32 0
192.168.0.14/32 0
192.168.0.16/32 0
192.168.0.17/32 0
192.168.0.20/32 0
192.168.0.22/32 0
192.168.0.23/32 0
192.168.0.24/32 0
192.168.0.25/32 0
192.168.0.26/32 0
---table(1)---
192.168.0.2/32 0
192.168.0.3/32 0
192.168.0.4/32 0
192.168.0.5/32 0
192.168.0.6/32 0
192.168.0.11/32 0
192.168.0.12/32 0
192.168.0.13/32 0
192.168.0.14/32 0
192.168.0.16/32 0
192.168.0.17/32 0
192.168.0.20/32 0
192.168.0.22/32 0
192.168.0.23/32 0
192.168.0.24/32 0
192.168.0.25/32 0
192.168.0.26/32 0
---table(2)---
192.168.0.2/32 0
192.168.0.3/32 0
192.168.0.4/32 0
192.168.0.5/32 0
192.168.0.6/32 0
192.168.0.7/32 0
192.168.0.8/32 0
192.168.0.9/32 0
192.168.0.10/32 0
192.168.0.11/32 0
192.168.0.12/32 0
192.168.0.13/32 0
192.168.0.14/32 0
192.168.0.15/32 0
192.168.0.16/32 0
192.168.0.17/32 0
192.168.0.18/32 0
192.168.0.19/32 0
192.168.0.20/32 0
192.168.0.21/32 0
192.168.0.22/32 0
192.168.0.23/32 0
192.168.0.24/32 0
192.168.0.25/32 0
192.168.0.26/32 0
---table(10)---
192.168.0.2/32 1020
192.168.0.3/32 1024
192.168.0.4/32 1028
192.168.0.5/32 1004
192.168.0.6/32 1032
192.168.0.11/32 1008
192.168.0.12/32 1012
192.168.0.13/32 1012
192.168.0.14/32 1012
192.168.0.16/32 1016
192.168.0.17/32 1044
192.168.0.20/32 1012
192.168.0.22/32 1016
192.168.0.23/32 1068
192.168.0.24/32 1056
192.168.0.25/32 1060
192.168.0.26/32 1064
---table(11)---
192.168.0.2/32 1021
192.168.0.3/32 1025
192.168.0.4/32 1029
192.168.0.5/32 1005
192.168.0.6/32 1033
192.168.0.11/32 1009
192.168.0.12/32 1013
192.168.0.13/32 1013
192.168.0.14/32 1013
192.168.0.16/32 1017
192.168.0.17/32 1045
192.168.0.20/32 1013
192.168.0.22/32 1017
192.168.0.23/32 1069
192.168.0.24/32 1057
192.168.0.25/32 1061
192.168.0.26/32 1065
---table(15)---
192.168.0.2/32 0
192.168.0.3/32 0
192.168.0.4/32 0
192.168.0.6/32 0
192.168.0.11/32 0
192.168.0.12/32 0
192.168.0.13/32 0
192.168.0.14/32 0
192.168.0.16/32 0
192.168.0.17/32 0
192.168.0.20/32 0
192.168.0.22/32 0
192.168.0.23/32 0
192.168.0.24/32 0
192.168.0.25/32 0
192.168.0.26/32 0
---table(20)---
192.168.0.2/32 1
192.168.0.3/32 1
192.168.0.4/32 1
192.168.0.5/32 1
192.168.0.6/32 1
192.168.0.11/32 1
192.168.0.12/32 1
192.168.0.13/32 1
192.168.0.14/32 1
192.168.0.16/32 1
192.168.0.17/32 1
192.168.0.20/32 1
192.168.0.22/32 1
192.168.0.23/32 1
192.168.0.24/32 1
192.168.0.25/32 1
192.168.0.26/32 1
---table(21)---
192.168.0.2/32 1
192.168.0.3/32 1
192.168.0.4/32 1
192.168.0.5/32 1
192.168.0.6/32 1
192.168.0.11/32 1
192.168.0.12/32 1
192.168.0.13/32 1
192.168.0.14/32 1
192.168.0.16/32 1
192.168.0.17/32 1
192.168.0.20/32 1
192.168.0.22/32 1
192.168.0.23/32 1
192.168.0.24/32 1
192.168.0.25/32 1
192.168.0.26/32 1
---table(127)---
192.168.0.12/32 1014
192.168.0.13/32 1014
192.168.0.14/32 1014
192.168.0.16/32 1018
192.168.0.17/32 1046
192.168.0.20/32 1014
192.168.0.22/32 1018
192.168.0.23/32 1070
192.168.0.26/32 1066
#
l# ipfw pipe list
01028: 102.400 Mbit/s 0 ms burst 0
q132100 50 sl. 0 flows (1 buckets) sched 66564 weight 0 lmax 0 pri 0 droptail
sched 66564 type FIFO flags 0x0 0 buckets 0 active
01020: 102.400 Mbit/s 0 ms burst 0
q132092 50 sl. 0 flows (1 buckets) sched 66556 weight 0 lmax 0 pri 0 droptail
sched 66556 type FIFO flags 0x0 0 buckets 0 active
01029: 102.400 Mbit/s 0 ms burst 0
q132101 50 sl. 0 flows (1 buckets) sched 66565 weight 0 lmax 0 pri 0 droptail
sched 66565 type FIFO flags 0x0 0 buckets 0 active
01021: 102.400 Mbit/s 0 ms burst 0
q132093 50 sl. 0 flows (1 buckets) sched 66557 weight 0 lmax 0 pri 0 droptail
sched 66557 type FIFO flags 0x0 0 buckets 0 active
00001: unlimited 0 ms burst 0
q131073 50 sl. 0 flows (1 buckets) sched 65537 weight 0 lmax 0 pri 0 droptail
sched 65537 type FIFO flags 0x0 0 buckets 0 active
01016: 9.216 Mbit/s 0 ms burst 0
q132088 50 sl. 0 flows (1 buckets) sched 66552 weight 0 lmax 0 pri 0 droptail
sched 66552 type FIFO flags 0x0 0 buckets 1 active
0 ip 0.0.0.0/0 0.0.0.0/0 1609 2292306 48 62037 1
01024: 102.400 Mbit/s 0 ms burst 0
q132096 50 sl. 0 flows (1 buckets) sched 66560 weight 0 lmax 0 pri 0 droptail
sched 66560 type FIFO flags 0x0 0 buckets 0 active
01017: 2.048 Mbit/s 0 ms burst 0
q132089 50 sl. 0 flows (1 buckets) sched 66553 weight 0 lmax 0 pri 0 droptail
sched 66553 type FIFO flags 0x0 0 buckets 1 active
0 ip 0.0.0.0/0 0.0.0.0/0 15 600 0 0 0
01025: 102.400 Mbit/s 0 ms burst 0
q132097 50 sl. 0 flows (1 buckets) sched 66561 weight 0 lmax 0 pri 0 droptail
sched 66561 type FIFO flags 0x0 0 buckets 0 active
01018: 51.200 Mbit/s 0 ms burst 0
q132090 50 sl. 0 flows (1 buckets) sched 66554 weight 0 lmax 0 pri 0 droptail
sched 66554 type FIFO flags 0x0 0 buckets 0 active
01012: 9.216 Mbit/s 0 ms burst 0
q132084 50 sl. 0 flows (1 buckets) sched 66548 weight 0 lmax 0 pri 0 droptail
sched 66548 type FIFO flags 0x0 0 buckets 1 active
0 ip 0.0.0.0/0 0.0.0.0/0 1 52 0 0 0
01013: 2.048 Mbit/s 0 ms burst 0
q132085 50 sl. 0 flows (1 buckets) sched 66549 weight 0 lmax 0 pri 0 droptail
sched 66549 type FIFO flags 0x0 0 buckets 1 active
0 ip 0.0.0.0/0 0.0.0.0/0 1 44 0 0 0
01014: 51.200 Mbit/s 0 ms burst 0
q132086 50 sl. 0 flows (1 buckets) sched 66550 weight 0 lmax 0 pri 0 droptail
sched 66550 type FIFO flags 0x0 0 buckets 0 active
01032: 102.400 Mbit/s 0 ms burst 0
q132104 50 sl. 0 flows (1 buckets) sched 66568 weight 0 lmax 0 pri 0 droptail
sched 66568 type FIFO flags 0x0 0 buckets 0 active
01008: 102.400 Mbit/s 0 ms burst 0
q132080 50 sl. 0 flows (1 buckets) sched 66544 weight 0 lmax 0 pri 0 droptail
sched 66544 type FIFO flags 0x0 0 buckets 0 active
01033: 102.400 Mbit/s 0 ms burst 0
q132105 50 sl. 0 flows (1 buckets) sched 66569 weight 0 lmax 0 pri 0 droptail
sched 66569 type FIFO flags 0x0 0 buckets 0 active
01009: 102.400 Mbit/s 0 ms burst 0
q132081 50 sl. 0 flows (1 buckets) sched 66545 weight 0 lmax 0 pri 0 droptail
sched 66545 type FIFO flags 0x0 0 buckets 0 active
01045: 2.048 Mbit/s 0 ms burst 0
q132117 50 sl. 0 flows (1 buckets) sched 66581 weight 0 lmax 0 pri 0 droptail
sched 66581 type FIFO flags 0x0 0 buckets 0 active
01005: 102.400 Mbit/s 0 ms burst 0
q132077 50 sl. 0 flows (1 buckets) sched 66541 weight 0 lmax 0 pri 0 droptail
sched 66541 type FIFO flags 0x0 0 buckets 0 active
01044: 9.216 Mbit/s 0 ms burst 0
q132116 50 sl. 0 flows (1 buckets) sched 66580 weight 0 lmax 0 pri 0 droptail
sched 66580 type FIFO flags 0x0 0 buckets 0 active
01004: 102.400 Mbit/s 0 ms burst 0
q132076 50 sl. 0 flows (1 buckets) sched 66540 weight 0 lmax 0 pri 0 droptail
sched 66540 type FIFO flags 0x0 0 buckets 0 active
01046: 51.200 Mbit/s 0 ms burst 0
q132118 50 sl. 0 flows (1 buckets) sched 66582 weight 0 lmax 0 pri 0 droptail
sched 66582 type FIFO flags 0x0 0 buckets 0 active
01060: 102.400 Mbit/s 0 ms burst 0
q132132 50 sl. 0 flows (1 buckets) sched 66596 weight 0 lmax 0 pri 0 droptail
sched 66596 type FIFO flags 0x0 0 buckets 0 active
01061: 102.400 Mbit/s 0 ms burst 0
q132133 50 sl. 0 flows (1 buckets) sched 66597 weight 0 lmax 0 pri 0 droptail
sched 66597 type FIFO flags 0x0 0 buckets 0 active
01056: 102.400 Mbit/s 0 ms burst 0
q132128 50 sl. 0 flows (1 buckets) sched 66592 weight 0 lmax 0 pri 0 droptail
sched 66592 type FIFO flags 0x0 0 buckets 0 active
01057: 102.400 Mbit/s 0 ms burst 0
q132129 50 sl. 0 flows (1 buckets) sched 66593 weight 0 lmax 0 pri 0 droptail
sched 66593 type FIFO flags 0x0 0 buckets 0 active
01070: 51.200 Mbit/s 0 ms burst 0
q132142 50 sl. 0 flows (1 buckets) sched 66606 weight 0 lmax 0 pri 0 droptail
sched 66606 type FIFO flags 0x0 0 buckets 0 active
01068: 9.216 Mbit/s 0 ms burst 0
q132140 50 sl. 0 flows (1 buckets) sched 66604 weight 0 lmax 0 pri 0 droptail
sched 66604 type FIFO flags 0x0 0 buckets 0 active
01069: 2.048 Mbit/s 0 ms burst 0
q132141 50 sl. 0 flows (1 buckets) sched 66605 weight 0 lmax 0 pri 0 droptail
sched 66605 type FIFO flags 0x0 0 buckets 0 active
01066: 51.200 Mbit/s 0 ms burst 0
q132138 50 sl. 0 flows (1 buckets) sched 66602 weight 0 lmax 0 pri 0 droptail
sched 66602 type FIFO flags 0x0 0 buckets 0 active
01064: 9.216 Mbit/s 0 ms burst 0
q132136 50 sl. 0 flows (1 buckets) sched 66600 weight 0 lmax 0 pri 0 droptail
sched 66600 type FIFO flags 0x0 0 buckets 0 active
01065: 2.048 Mbit/s 0 ms burst 0
q132137 50 sl. 0 flows (1 buckets) sched 66601 weight 0 lmax 0 pri 0 droptail
sched 66601 type FIFO flags 0x0 0 buckets 0 active
# ipfw pipe list | grep 010
01028: 102.400 Mbit/s 0 ms burst 0
01020: 102.400 Mbit/s 0 ms burst 0
01029: 102.400 Mbit/s 0 ms burst 0
01021: 102.400 Mbit/s 0 ms burst 0
01016: 9.216 Mbit/s 0 ms burst 0
01024: 102.400 Mbit/s 0 ms burst 0
01017: 2.048 Mbit/s 0 ms burst 0
01025: 102.400 Mbit/s 0 ms burst 0
01018: 51.200 Mbit/s 0 ms burst 0
01012: 9.216 Mbit/s 0 ms burst 0
01013: 2.048 Mbit/s 0 ms burst 0
01014: 51.200 Mbit/s 0 ms burst 0
01032: 102.400 Mbit/s 0 ms burst 0
01008: 102.400 Mbit/s 0 ms burst 0
01033: 102.400 Mbit/s 0 ms burst 0
01009: 102.400 Mbit/s 0 ms burst 0
01045: 2.048 Mbit/s 0 ms burst 0
01005: 102.400 Mbit/s 0 ms burst 0
01044: 9.216 Mbit/s 0 ms burst 0
01004: 102.400 Mbit/s 0 ms burst 0
01046: 51.200 Mbit/s 0 ms burst 0
01060: 102.400 Mbit/s 0 ms burst 0
01061: 102.400 Mbit/s 0 ms burst 0
01056: 102.400 Mbit/s 0 ms burst 0
01057: 102.400 Mbit/s 0 ms burst 0
01070: 51.200 Mbit/s 0 ms burst 0
01068: 9.216 Mbit/s 0 ms burst 0
01069: 2.048 Mbit/s 0 ms burst 0
01066: 51.200 Mbit/s 0 ms burst 0
01064: 9.216 Mbit/s 0 ms burst 0
01065: 2.048 Mbit/s 0 ms burst 0
Пробую качать, на клиенте скорость 9мбит(так и должно быть) вместо положенных 50. Проверяю детализацию в админке, качает действительно с 10.0.0.1, но не на 50 Мбитах, а на 9...
как быть и что делать...