Skip to content

Commit 98371c2

Browse files
andyz422copybara-github
authored andcommitted
Add comment about NAT in netperf_benchmark external IP.
PiperOrigin-RevId: 843421797
1 parent 98bc86c commit 98371c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

perfkitbenchmarker/linux_benchmarks/netperf_benchmark.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,8 @@ def RunClientServerVMs(client_vm, server_vm):
765765
netperf_benchmark,
766766
[server_vm.ip_address],
767767
num_streams,
768+
# NAT translates internal to external IP when remote server IP is
769+
# external.
768770
[client_vm.GetInternalIPs()[0]],
769771
)
770772
for external_ip_result in external_ip_results:

0 commit comments

Comments
 (0)