FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
akawade
Staff
Staff
Article Id 196849

Description


DHCP server has the ability to include DHCP codes and options.
Voice over IP devices, such as IP phones need to be able to retrieve their configuration name files
from a Management voice server on the network.
Sometimes, this is required to use more than one TFTP server by the client.
The client (example: IP Phone ) will send a request to the DHCP server to obtain the information.

 

Scope

 

FortiGate.

This article describes how to set up DHCP for TFTP servers list.

For more information refer to the RFC5859.

Solution
Configure multiple TFTP servers for a Dynamic Host Configuration Protocol (DHCP) server.
For example,a main TFTP server and a backup TFTP server.
The tftp-server command permits to configure the TFTP servers, using either their host names or IP addresses.

Separate multiple server entries with spaces.

Server1: 192.168.1.1 
Server2:  192.168.1.2

To configure TFTP servers from CLI use the following command:
# config system dhcp server
     edit <server ID>
          set tftp-server <hostname/IP address> <hostname/IP address>
     next
end
Or detailed configuration as follows:
# config system dhcp server
    edit 1
        set dns-service default
        set default-gateway 1.1.1.1
        set interface "port1"
        config ip-range
            edit 1
                set start-ip 10.10.10.1
                set end-ip 10.10.10.50
            next
          end
        set timezone-option default
        set tftp-server 192.168.1.1 192.168.1.2
    next
end
It is possible to use the 'DHCP option' 150 for TFTP server on GUI as follows :
dhcp150.PNG
It is possible to expand 'Advanced' under 'DHCP Server'. Click on 'Create New' under 'Additional DHCP Options':
dhcpserver.PNG
Related link:
https://help.fortinet.com/fos60hlp/60/Content/FortiOS/fortigate-networking/Interfaces/DHCP%20servers...