Debit 1G sur interface 10G
-
Bonjour à tous,
Je rencontre un soucis sur un lien entre 2 pfSense.
Ces firewalls sont connectés via un lien 10G, mais je n'arrive pas à dépasser le 1G lors d'un transfert.Voici la config de l'interface parente et des interfaces VLAN (On voit qu'elles sont en 10Gbase-T <full-duplex>):
ix0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=e500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> ether b4:96:91:64:c9:60 hwaddr b4:96:91:64:c9:60 inet6 fe80::b696:91ff:fe64:c960%ix0 prefixlen 64 scopeid 0x2 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (10Gbase-T <full-duplex>) status: active
ix0.3100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether b4:96:91:64:c9:60 inet6 fe80::b696:91ff:fe64:c960%ix0.3100 prefixlen 64 scopeid 0x8 inet 10.255.255.1 netmask 0xfffffffc broadcast 10.255.255.3 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (10Gbase-T <full-duplex>) status: active vlan: 3100 vlanpcp: 0 parent interface: ix0 groups: vlan
ix0.3100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether b4:96:91:26:12:c0 inet6 fe80::b696:91ff:fe26:12c0%ix0.3100 prefixlen 64 scopeid 0x8 inet 10.255.255.2 netmask 0xfffffffc broadcast 10.255.255.3 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (10Gbase-T <full-duplex>) status: active vlan: 3100 vlanpcp: 0 parent interface: ix0 groups: vlan
Et voici un test iperf entre les 2 pfSense, l'échange ne dépasse jamais les 1000 Mbits/sec:
iperf3 -c 10.255.255.2 -p 8080 Connecting to host 10.255.255.2, port 8080 [ 5] local 10.255.255.1 port 15738 connected to 10.255.255.2 port 8080 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 119 MBytes 999 Mbits/sec 1 257 KBytes [ 5] 1.00-2.00 sec 117 MBytes 980 Mbits/sec 26 296 KBytes [ 5] 2.00-3.00 sec 119 MBytes 1.00 Gbits/sec 28 278 KBytes [ 5] 3.00-4.00 sec 117 MBytes 983 Mbits/sec 3 295 KBytes [ 5] 4.00-5.00 sec 117 MBytes 981 Mbits/sec 0 321 KBytes [ 5] 5.00-6.00 sec 117 MBytes 979 Mbits/sec 3 247 KBytes [ 5] 6.00-7.00 sec 120 MBytes 1.01 Gbits/sec 6 248 KBytes [ 5] 7.00-8.00 sec 119 MBytes 997 Mbits/sec 12 191 KBytes [ 5] 8.00-9.00 sec 119 MBytes 999 Mbits/sec 12 214 KBytes [ 5] 9.00-10.00 sec 118 MBytes 986 Mbits/sec 16 74.0 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.15 GBytes 991 Mbits/sec 107 sender [ 5] 0.00-10.03 sec 1.15 GBytes 989 Mbits/sec receiver
En revanche en testant plusieurs connexion en meme temps cela dépasse au cumul les 1 Gbits/sec
iperf3 -c 10.255.255.2 -p 8080 -P5 Connecting to host 10.255.255.2, port 8080 [ 5] local 10.255.255.1 port 31380 connected to 10.255.255.2 port 8080 [ 7] local 10.255.255.1 port 51007 connected to 10.255.255.2 port 8080 [ 9] local 10.255.255.1 port 18563 connected to 10.255.255.2 port 8080 [ 11] local 10.255.255.1 port 22938 connected to 10.255.255.2 port 8080 [ 13] local 10.255.255.1 port 38652 connected to 10.255.255.2 port 8080 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 85.9 MBytes 718 Mbits/sec 3 124 KBytes [ 7] 0.00-1.00 sec 53.0 MBytes 443 Mbits/sec 0 176 KBytes [ 9] 0.00-1.00 sec 80.6 MBytes 674 Mbits/sec 1 106 KBytes [ 11] 0.00-1.00 sec 82.9 MBytes 693 Mbits/sec 1 109 KBytes [ 13] 0.00-1.00 sec 43.7 MBytes 365 Mbits/sec 0 161 KBytes [SUM] 0.00-1.00 sec 346 MBytes 2.89 Gbits/sec 5 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 1.00-2.01 sec 89.1 MBytes 745 Mbits/sec 0 273 KBytes [ 7] 1.00-2.01 sec 50.6 MBytes 423 Mbits/sec 0 194 KBytes [ 9] 1.00-2.01 sec 84.5 MBytes 707 Mbits/sec 0 209 KBytes [ 11] 1.00-2.01 sec 89.4 MBytes 748 Mbits/sec 0 224 KBytes [ 13] 1.00-2.01 sec 43.5 MBytes 363 Mbits/sec 0 225 KBytes [SUM] 1.00-2.01 sec 357 MBytes 2.99 Gbits/sec 0 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 2.01-3.00 sec 82.6 MBytes 698 Mbits/sec 0 273 KBytes [ 7] 2.01-3.00 sec 46.5 MBytes 393 Mbits/sec 0 194 KBytes [ 9] 2.01-3.00 sec 78.8 MBytes 666 Mbits/sec 1 1.41 KBytes [ 11] 2.01-3.00 sec 83.7 MBytes 708 Mbits/sec 9 36.8 KBytes [ 13] 2.01-3.00 sec 49.0 MBytes 414 Mbits/sec 0 225 KBytes [SUM] 2.01-3.00 sec 341 MBytes 2.88 Gbits/sec 10 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 3.00-4.00 sec 82.2 MBytes 689 Mbits/sec 13 2.85 KBytes [ 7] 3.00-4.00 sec 48.0 MBytes 403 Mbits/sec 0 194 KBytes [ 9] 3.00-4.00 sec 79.0 MBytes 663 Mbits/sec 13 32.5 KBytes [ 11] 3.00-4.00 sec 85.1 MBytes 714 Mbits/sec 18 91.9 KBytes [ 13] 3.00-4.00 sec 48.6 MBytes 408 Mbits/sec 0 225 KBytes [SUM] 3.00-4.00 sec 343 MBytes 2.88 Gbits/sec 44 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 4.00-5.00 sec 84.7 MBytes 710 Mbits/sec 13 2.85 KBytes [ 7] 4.00-5.00 sec 45.5 MBytes 382 Mbits/sec 0 209 KBytes [ 9] 4.00-5.00 sec 75.1 MBytes 630 Mbits/sec 3 224 KBytes [ 11] 4.00-5.00 sec 83.0 MBytes 697 Mbits/sec 7 17.0 KBytes [ 13] 4.00-5.00 sec 47.0 MBytes 395 Mbits/sec 0 225 KBytes [SUM] 4.00-5.00 sec 335 MBytes 2.81 Gbits/sec 23 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 5.00-6.00 sec 80.6 MBytes 676 Mbits/sec 6 50.9 KBytes [ 7] 5.00-6.00 sec 48.0 MBytes 403 Mbits/sec 0 209 KBytes [ 9] 5.00-6.00 sec 77.5 MBytes 650 Mbits/sec 7 112 KBytes [ 11] 5.00-6.00 sec 82.8 MBytes 695 Mbits/sec 6 130 KBytes [ 13] 5.00-6.00 sec 47.6 MBytes 399 Mbits/sec 0 225 KBytes [SUM] 5.00-6.00 sec 337 MBytes 2.82 Gbits/sec 19 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 6.00-7.00 sec 78.8 MBytes 661 Mbits/sec 7 272 KBytes [ 7] 6.00-7.00 sec 47.3 MBytes 397 Mbits/sec 0 216 KBytes [ 9] 6.00-7.00 sec 76.0 MBytes 638 Mbits/sec 2 56.6 KBytes [ 11] 6.00-7.00 sec 83.3 MBytes 699 Mbits/sec 9 258 KBytes [ 13] 6.00-7.00 sec 47.4 MBytes 398 Mbits/sec 0 225 KBytes [SUM] 6.00-7.00 sec 333 MBytes 2.79 Gbits/sec 18 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 7.00-8.00 sec 84.5 MBytes 708 Mbits/sec 4 136 KBytes [ 7] 7.00-8.00 sec 50.4 MBytes 422 Mbits/sec 0 225 KBytes [ 9] 7.00-8.00 sec 77.4 MBytes 648 Mbits/sec 6 225 KBytes [ 11] 7.00-8.00 sec 82.8 MBytes 693 Mbits/sec 4 129 KBytes [ 13] 7.00-8.00 sec 45.1 MBytes 376 Mbits/sec 0 225 KBytes [SUM] 7.00-8.00 sec 340 MBytes 2.85 Gbits/sec 14 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 8.00-9.00 sec 80.4 MBytes 676 Mbits/sec 5 55.6 KBytes [ 7] 8.00-9.00 sec 51.9 MBytes 436 Mbits/sec 0 225 KBytes [ 9] 8.00-9.00 sec 75.9 MBytes 638 Mbits/sec 1 113 KBytes [ 11] 8.00-9.00 sec 83.8 MBytes 704 Mbits/sec 2 129 KBytes [ 13] 8.00-9.00 sec 45.6 MBytes 385 Mbits/sec 0 225 KBytes [SUM] 8.00-9.00 sec 338 MBytes 2.84 Gbits/sec 8 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 9.00-10.00 sec 81.8 MBytes 686 Mbits/sec 9 135 KBytes [ 7] 9.00-10.00 sec 49.4 MBytes 415 Mbits/sec 0 225 KBytes [ 9] 9.00-10.00 sec 77.5 MBytes 650 Mbits/sec 9 2.85 KBytes [ 11] 9.00-10.00 sec 80.1 MBytes 672 Mbits/sec 3 2.85 KBytes [ 13] 9.00-10.00 sec 45.9 MBytes 385 Mbits/sec 0 225 KBytes [SUM] 9.00-10.00 sec 335 MBytes 2.81 Gbits/sec 21 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 831 MBytes 697 Mbits/sec 60 sender [ 5] 0.00-10.00 sec 830 MBytes 696 Mbits/sec receiver [ 7] 0.00-10.00 sec 491 MBytes 412 Mbits/sec 0 sender [ 7] 0.00-10.00 sec 490 MBytes 411 Mbits/sec receiver [ 9] 0.00-10.00 sec 782 MBytes 656 Mbits/sec 43 sender [ 9] 0.00-10.00 sec 782 MBytes 656 Mbits/sec receiver [ 11] 0.00-10.00 sec 837 MBytes 702 Mbits/sec 59 sender [ 11] 0.00-10.00 sec 837 MBytes 702 Mbits/sec receiver [ 13] 0.00-10.00 sec 463 MBytes 389 Mbits/sec 0 sender [ 13] 0.00-10.00 sec 463 MBytes 388 Mbits/sec receiver [SUM] 0.00-10.00 sec 3.32 GBytes 2.86 Gbits/sec 162 sender [SUM] 0.00-10.00 sec 3.32 GBytes 2.85 Gbits/sec receiver
Est ce qu'il existe une limitation de debit par session TCP coté PfSense ? Ou quelque chose que j'aurais oublié ?
Merci d'avance pour votre aide