@ELECTRIC380V

Ipsec медленная скорость?

Всем привет.
суть вопроса в следующем по ipsec низкая скорость, максимум 20 мб
Connecting to host 10.1.1.20, port 5201
[  4] local 192.168.0.114 port 51040 connected to 10.1.1.20 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  1.38 MBytes  11.5 Mbits/sec
[  4]   1.00-2.00   sec   640 KBytes  5.24 Mbits/sec
[  4]   2.00-3.00   sec  1.12 MBytes  9.43 Mbits/sec
[  4]   3.00-4.00   sec  1.50 MBytes  12.6 Mbits/sec
[  4]   4.00-5.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   5.00-6.00   sec  1.50 MBytes  12.6 Mbits/sec
[  4]   6.00-7.00   sec  1.12 MBytes  9.44 Mbits/sec
[  4]   7.00-8.00   sec   896 KBytes  7.35 Mbits/sec
[  4]   8.00-9.00   sec   768 KBytes  6.29 Mbits/sec
[  4]   9.00-10.00  sec  1.38 MBytes  11.5 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  12.2 MBytes  10.3 Mbits/sec                  sender
[  4]   0.00-10.00  sec  12.1 MBytes  10.2 Mbits/sec                  receiver


На одном конце стоит микротик, на другом centos
Скорость каналов 100 мб

Конфиг. strongswan
config setup
    charondebug="ike 2, knl 2, esp 2, cfg 0"

conn %default
    authby=secret

conn Office-to-DC
    left=x.x.x.x
    leftsubnet=10.1.1.0/24
    leftid=x.x.x.x
    leftfirewall=yes
    right=y.y.y.y.
    rightsubnet=192.168.0.0/24
    rightid=y.y.y.y
    auto=route
    dpdaction=hold
    ike= aes-sha1-modp1024,aes256
     esp=aes256-sha256-modp1536!
    keyexchange=ikev1
    ikelifetime=1440m
    keylife=24h
    compress=yes
    fragmentation=yes
  • Вопрос задан
  • 2052 просмотра
Пригласить эксперта
Ответы на вопрос 2
@Janus74
Без туннеля, с помощью iperf, замерьте ширину канала между филиалами
udp/tcp
Ответ написан
@ELECTRIC380V Автор вопроса
Со стороны офиса.
e193740e00a0422da5d0a143442f9985.pngb7f2be1a70b84cb79434a093bd232f51.png

За микротиком, из под win

iperf3.exe -c x.x.x.x
Connecting to host 31.171.246.202, port 5201
[  4] local 192.168.0.114 port 60952 connected to 31.171.246.202 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  3.62 MBytes  30.4 Mbits/sec
[  4]   1.00-2.00   sec  3.62 MBytes  30.4 Mbits/sec
[  4]   2.00-3.00   sec  3.75 MBytes  31.5 Mbits/sec
[  4]   3.00-4.00   sec  3.62 MBytes  30.4 Mbits/sec
[  4]   4.00-5.00   sec  3.88 MBytes  32.5 Mbits/sec
[  4]   5.00-6.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   6.00-7.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   7.00-8.00   sec  2.25 MBytes  18.9 Mbits/sec
[  4]   8.00-9.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   9.00-10.00  sec  1.75 MBytes  14.7 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  28.5 MBytes  23.9 Mbits/sec                  sender
[  4]   0.00-10.00  sec  28.4 MBytes  23.8 Mbits/sec                  receiver

iperf Done.


iperf3.exe -c X.X.X.X -P 10

[SUM]   0.00-10.00  sec  65.1 MBytes  54.6 Mbits/sec                  sender
[SUM]   0.00-10.00  sec  63.7 MBytes  53.4 Mbits/sec                  receiver

iperf Done.

iperf3.exe -c 10.1.1.1 -P 10
[SUM]   0.00-10.00  sec  17.2 MBytes  14.5 Mbits/sec                  sender
[SUM]   0.00-10.00  sec  15.5 MBytes  13.0 Mbits/sec                  receiver
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы