lacp_802.3ad_구성시_hash_정책_고려

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

lacp_802.3ad_구성시_hash_정책_고려 [2026/08/21 01:13] – 만듦 koovlacp_802.3ad_구성시_hash_정책_고려 [2026/08/21 01:41] (현재) koov
줄 26: 줄 26:
 ''layer2''나 ''layer2+3''만 설정 한다면 동일 네트워크 또는 P2P(1:1) 통신에는 전혀 분산이 되지 않으므로 효과가 없다. ''layer2''나 ''layer2+3''만 설정 한다면 동일 네트워크 또는 P2P(1:1) 통신에는 전혀 분산이 되지 않으므로 효과가 없다.
  
 +
 +===== 설정 확인방법 =====
 +
 +서버쪽 설정은 리눅스에서 쉽게 확인 가능하다.
 +
 +<WRAP prewrap>
 +<code bash>
 +root@idpp-pve02:~# cat /proc/net/bonding/bond0 
 +Ethernet Channel Bonding Driver: v7.0.14-12-pve
 +
 +Bonding Mode: IEEE 802.3ad Dynamic link aggregation
 +Transmit Hash Policy: layer3+4 (1)                    <<<- 이부분에 해시 정책을 확인한다.
 +MII Status: up
 +MII Polling Interval (ms): 100
 +Up Delay (ms): 0
 +Down Delay (ms): 0
 +Peer Notification Delay (ms): 0
 +...
 +</code>
 +</WRAP>
 +
 +
 +하지만 이것은 서버쪽 설정이고 스위치에서 지원하는지 여부는 확인이 불가능하다.
 +실제 대역폭 테스트를 해보면 알 수 있다.
 +''iperf3''로 병렬 테스트를 해보면 된다.
 +
 +받는쪽
 +<WRAP prewrap>
 +<code bash>
 +$ iperf3 -s
 +</code>
 +</WRAP>
 +
 +보내는쪽
 +<WRAP prewrap>
 +<code bash>
 +$ iperf3 -c <받는쪽 서버IP> -P 8
 +
 +root@idpp-pve02:~# iperf3 -c 192.168.0.33 -P 8
 +Connecting to host 192.168.0.33, port 5201
 +[  5] local 192.168.0.52 port 57324 connected to 192.168.0.33 port 5201
 +[  7] local 192.168.0.52 port 57332 connected to 192.168.0.33 port 5201
 +[  9] local 192.168.0.52 port 57342 connected to 192.168.0.33 port 5201
 +[ 11] local 192.168.0.52 port 57344 connected to 192.168.0.33 port 5201
 +[ 13] local 192.168.0.52 port 57360 connected to 192.168.0.33 port 5201
 +[ 15] local 192.168.0.52 port 57370 connected to 192.168.0.33 port 5201
 +[ 17] local 192.168.0.52 port 57378 connected to 192.168.0.33 port 5201
 +[ 19] local 192.168.0.52 port 57394 connected to 192.168.0.33 port 5201
 +[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
 +[  5]   0.00-1.00   sec  16.0 MBytes   134 Mbits/sec   45    222 KBytes       
 +[  7]   0.00-1.00   sec  15.6 MBytes   131 Mbits/sec   46    218 KBytes       
 +[  9]   0.00-1.00   sec  15.6 MBytes   131 Mbits/sec   46    222 KBytes       
 +[ 11]   0.00-1.00   sec  15.0 MBytes   126 Mbits/sec   45    197 KBytes       
 +[ 13]   0.00-1.00   sec  15.4 MBytes   129 Mbits/sec   46    229 KBytes       
 +[ 15]   0.00-1.00   sec  15.0 MBytes   126 Mbits/sec   45    208 KBytes       
 +[ 17]   0.00-1.00   sec  14.6 MBytes   123 Mbits/sec   45    175 KBytes       
 +[ 19]   0.00-1.00   sec  14.8 MBytes   124 Mbits/sec   90    146 KBytes       
 +[SUM]   0.00-1.00   sec   122 MBytes  1.02 Gbits/sec  408             
 +- - - - - - - - - - - - - - - - - - - - - - - - -
 +...
 +- - - - - - - - - - - - - - - - - - - - - - - - -
 +[ ID] Interval           Transfer     Bitrate         Retr
 +[  5]   0.00-10.00  sec   142 MBytes   119 Mbits/sec  315            sender
 +[  5]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[  7]   0.00-10.00  sec   141 MBytes   118 Mbits/sec  299            sender
 +[  7]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[  9]   0.00-10.00  sec   141 MBytes   119 Mbits/sec  454            sender
 +[  9]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[ 11]   0.00-10.00  sec   141 MBytes   119 Mbits/sec  581            sender
 +[ 11]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[ 13]   0.00-10.00  sec   143 MBytes   120 Mbits/sec  242            sender
 +[ 13]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[ 15]   0.00-10.00  sec   141 MBytes   118 Mbits/sec  333            sender
 +[ 15]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[ 17]   0.00-10.00  sec   141 MBytes   118 Mbits/sec  383            sender
 +[ 17]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[ 19]   0.00-10.00  sec   141 MBytes   118 Mbits/sec  352            sender
 +[ 19]   0.00-10.04  sec   140 MBytes   117 Mbits/sec                  receiver
 +[SUM]   0.00-10.00  sec  1.11 GBytes   949 Mbits/sec  2959             sender
 +[SUM]   0.00-10.04  sec  1.09 GBytes   936 Mbits/sec                  receiver
 +
 +iperf Done.
 +
 +</code>
 +</WRAP>
 +
 +이렇게 체크했을때 대역폭이 확장되어 나와야 한다.
  • lacp_802.3ad_구성시_hash_정책_고려.1787274783.txt.gz
  • 마지막으로 수정됨: 2026/08/21 01:13
  • 저자 koov