LINUX.ORG.RU
ФорумAdmin

linux странное поведение с ядерным mpls

 , ,


1

1

Вот результаты скорости iperf3:

root@open-mesh:~# iperf3 -c 10.10.10.10
Connecting to host 10.10.10.10, port 5201
[  4] local 192.168.7.3 port 55702 connected to 10.10.10.10 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  49.5 KBytes   405 Kbits/sec    0   14.1 KBytes       
[  4]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   5.00-6.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   6.00-7.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   7.00-8.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
[  4]   9.00-10.00  sec  0.00 Bytes  0.00 bits/sec    0   14.1 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  49.5 KBytes  40.5 Kbits/sec    0             sender
[  4]   0.00-10.00  sec  0.00 Bytes  0.00 bits/sec                  receiver
iperf Done.

Вот tcpdump:

00:50:05.764023 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7147, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [S], cksum 0xdcde (correct), seq 166364882, win 29200, options [mss 1460,sackOK,TS val 24419641 ecr 0,nop,wscale 5], length 0
00:50:05.764065 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7148, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x5212 (correct), seq 166364883, ack 2415589725, win 913, options [nop,nop,TS val 24419641 ecr 24419641], length 0
00:50:05.764288 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7149, offset 0, flags [DF], proto TCP (6), length 89)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [P.], cksum 0x8227 (correct), seq 0:37, ack 1, win 913, options [nop,nop,TS val 24419641 ecr 24419641], length 37
00:50:05.764338 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7150, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x51ec (correct), seq 37, ack 2, win 913, options [nop,nop,TS val 24419641 ecr 24419641], length 0
00:50:05.764442 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7151, offset 0, flags [DF], proto TCP (6), length 56)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [P.], cksum 0x518d (correct), seq 37:41, ack 2, win 913, options [nop,nop,TS val 24419642 ecr 24419641], length 4
00:50:05.804474 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7152, offset 0, flags [DF], proto TCP (6), length 134)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [P.], cksum 0xf5b0 (correct), seq 41:123, ack 2, win 913, options [nop,nop,TS val 24419682 ecr 24419682], length 82
00:50:05.804709 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 50833, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.7.3.55706 > 10.10.10.10.5201: Flags [S], cksum 0x0385 (correct), seq 234380275, win 29200, options [mss 1460,sackOK,TS val 24419682 ecr 0,nop,wscale 5], length 0
00:50:05.804731 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 50834, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55706 > 10.10.10.10.5201: Flags [.], cksum 0x25cb (correct), seq 234380276, ack 2140036238, win 913, options [nop,nop,TS val 24419682 ecr 24419682], length 0
00:50:05.804829 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 50835, offset 0, flags [DF], proto TCP (6), length 89)
    192.168.7.3.55706 > 10.10.10.10.5201: Flags [P.], cksum 0x55e0 (correct), seq 0:37, ack 1, win 913, options [nop,nop,TS val 24419682 ecr 24419682], length 37
00:50:05.844381 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7153, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x511b (correct), seq 123, ack 3, win 913, options [nop,nop,TS val 24419722 ecr 24419682], length 0
00:50:05.844398 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7154, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x50f1 (correct), seq 123, ack 5, win 913, options [nop,nop,TS val 24419722 ecr 24419722], length 0
00:50:15.845647 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7155, offset 0, flags [DF], proto TCP (6), length 53)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [P.], cksum 0x25d7 (correct), seq 123:124, ack 5, win 913, options [nop,nop,TS val 24429723 ecr 24419722], length 1
00:50:15.845778 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7156, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x02cd (correct), seq 124, ack 6, win 913, options [nop,nop,TS val 24429723 ecr 24429723], length 0
00:50:15.845845 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7157, offset 0, flags [DF], proto TCP (6), length 56)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [P.], cksum 0x0202 (correct), seq 124:128, ack 6, win 913, options [nop,nop,TS val 24429723 ecr 24429723], length 4
00:50:15.885485 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7158, offset 0, flags [DF], proto TCP (6), length 243)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [P.], cksum 0x15e9 (correct), seq 128:319, ack 6, win 913, options [nop,nop,TS val 24429763 ecr 24429763], length 191
00:50:15.925466 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7159, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x018e (correct), seq 319, ack 10, win 913, options [nop,nop,TS val 24429803 ecr 24429763], length 0
00:50:15.925522 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7160, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x008e (correct), seq 319, ack 193, win 946, options [nop,nop,TS val 24429803 ecr 24429803], length 0
00:50:15.925614 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7161, offset 0, flags [DF], proto TCP (6), length 53)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [P.], cksum 0xf084 (correct), seq 319:320, ack 193, win 946, options [nop,nop,TS val 24429803 ecr 24429803], length 1
00:50:15.925770 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7162, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [F.], cksum 0x008c (correct), seq 320, ack 193, win 946, options [nop,nop,TS val 24429803 ecr 24429803], length 0
00:50:15.925936 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 7163, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.7.3.55704 > 10.10.10.10.5201: Flags [.], cksum 0x008b (correct), seq 321, ack 194, win 946, options [nop,nop,TS val 24429803 ecr 24429803], length 0
00:50:16.247476 MPLS (label 101, exp 0, [S], ttl 64)
	IP (tos 0x0, ttl 64, id 50870, offset 0, flags [DF], proto TCP (6), length 1488)
    192.168.7.3.55706 > 10.10.10.10.5201: Flags [P.], cksum 0xa4dc (correct), seq 37:1473, ack 2, win 913, options [nop,nop,TS val 24430125 ecr 24429924], length 1436

тестовый mpls у меня поднят в netns. В чём может быть проблема и как её исправить?

★★★★★

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.