Verifying the configuration
To verify the configuration:
On one of the VMs in VPC 1, ping the other VM.
In this example, the VM IP addresses are 10.138.0.8 and 10.138.0.9. The following shows successful communication between the VMs:
- If the packet mirroring configuration was successful, the packets are visible to the FortiGate. In FortiOS, run the
diagnose sniffer packet port3 'host <VM 1 IP address> and host <VM 2 IP address>' 4 0 3 command. Port3 is the FortiGate interface that is sitting in the mirror VPC. The output should look as follows: