| Description | This article describes the reason behind DHCP relay debugs showing a 'cannot find outgoing interface' error. |
| Scope | FortiOS. |
| Solution |
When a DHCP relay is configured on the FortiGate, there are scenarios where the clients do not get an IP address from the DHCP server.
During the troubleshooting process, the DHCP relay debugs show fthe ollowing type of errors:
diagnose debug application dhcprelay -1
spoke # 2025-10-15 08:00:22 (xid:224e9f81) received request message from 0.0.0.0:68 to 255.255.255.255 at port4
Looking at the above debug errors, it indicates that the FortiGate is not able to find the outgoing interface correctly. This is mostly because the DHCP server is not reachable from the FortiGate. In this example, the issue is because of the incorrect interface used as the source interface. This can also occur because of a routing issue.
Step 1: Making sure that a proper route to DHCP server is in the routing table on the firewall by running the below command:
get router info routing-table details 10.70.70.5 <----- DHCP server IP.
Routing table for VRF=0
In this case the correct route is via port 5 but debug states that its using port 6.
After checking the interface setting on which the DHCP relay is configured, the interface selection is set to 'specify' and a wrong port is specified instead of port 6:
spoke (port4) # show
Valid config:
spoke (port4) # show
After making this change, a DHCP request is seen forwarded to the DHCP server with no issues.
spoke # 2025-10-15 08:34:01 (xid:e526a7fb) received request message from 0.0.0.0:68 to 255.255.255.255 at port4 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.