A FortiGate is configured with a site-to-site IPsec VPN to a remote peer. The VPN is up, but traffic is not passing. You run 'diagnose vpn tunnel list' and see that the tunnel is up, but the phase-2 selectors show no traffic. You suspect a routing issue. Which command would you use to verify that traffic is being routed correctly through the tunnel?
Trap 1: diagnose vpn ike gateway list
This command displays IKE gateway information, such as phase-1 status, remote gateway, and encryption details. It does not show routing or traffic flow through the tunnel. While useful for verifying phase-1, it does not help diagnose why traffic is not passing through the tunnel due to routing. Therefore, it is not the correct command for this scenario.
Trap 2: diagnose ip route list
This command lists the routing table, which can help verify if routes are present. However, it does not show which route a specific packet would take. It only shows the static and dynamic routes. To verify that traffic for a specific destination is routed through the tunnel, you need a more specific command that shows the route lookup for a given IP address.
Trap 3: diagnose firewall iprope list
This command lists the firewall's IP rope, which includes policy routes and other routing information. It is not the standard command to check the routing table for a specific IP. It may show some route information, but it is not as direct as using 'diagnose ip route list' or 'get router info routing-table'. For verifying routing of specific traffic, a more precise command is needed.
- A
diagnose vpn ike gateway list
Why it fails: This command displays IKE gateway information, such as phase-1 status, remote gateway, and encryption details. It does not show routing or traffic flow through the tunnel. While useful for verifying phase-1, it does not help diagnose why traffic is not passing through the tunnel due to routing. Therefore, it is not the correct command for this scenario.
- B
diagnose ip route list
Why it fails: This command lists the routing table, which can help verify if routes are present. However, it does not show which route a specific packet would take. It only shows the static and dynamic routes. To verify that traffic for a specific destination is routed through the tunnel, you need a more specific command that shows the route lookup for a given IP address.
- C
diagnose firewall iprope list
Why it fails: This command lists the firewall's IP rope, which includes policy routes and other routing information. It is not the standard command to check the routing table for a specific IP. It may show some route information, but it is not as direct as using 'diagnose ip route list' or 'get router info routing-table'. For verifying routing of specific traffic, a more precise command is needed.
- D
get router info routing-table details <destination-ip>
This command displays the routing table entry that would be used for a specific destination IP. It shows the next-hop, interface, and other details. By specifying the remote subnet's IP, you can verify that the route points to the IPsec tunnel interface. If the route is missing or incorrect, traffic will not pass. This is the correct command to diagnose routing issues for VPN traffic.