Technical Tip: Specifying a source IP while doing an iPerf test from the FortiGate
| Description | This article describes how to specify a source IP while doing an iPerf test from the FortiGate. |
| Scope | FortiGate. |
| Solution | When doing an iPerf test from the FortiGate, by default it will use the IP of the egress interface as the source IP. In some cases (especially when over a VPN tunnel doing BGP), this source IP will not be routable and the iPerf test will not connect.
![]()
It uses the default address of the configured interface, in this case, port9:
  To specify a source IP, use the '-B' flag when running the iPerf command. For example:
It is also possible to see this source IP in the sniffer:
Note: |





