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.
Nishtha_Baria
Article Id 333604
Description This article describes how to create IP reservations for devices on a FortiGate acting as a DHCP server for an interface.
Scope FortiGate.
Solution

The MAC address of the device for which an IP address has to be allocated must be known in order to make the reservation. After ensuring the availability of the information, follow these steps to make a reservation:

 

From the GUI:

 

  1. Log in to the FortiGate.

  2. Select Network to expand the menu.

  3. Edit the interface for which the reservation must be assigned.

  4. Go to the DHCP Server settings and select Advanced.

 advanced.png

 

  1. Select IP Address Assignment Rules.

  2. To add an entry, select Create New and then input the necessary information fields for the reservation, such as MAC address and IP address. Select OK and Apply.

reservecorrect.png

 

Note: While adding the MAC address, the format to input is xx:xx:xx:xx:xx:xx and not xx-xx-xx-xx-xx-xx.

 

From the CLI:

 

config system dhcp server

edit 1

set dns-service default

set default-gateway 192.168.1.99

set netmask 255.255.255.0

set interface "lan"

config ip-range

edit 1

set start-ip 192.168.1.110

set end-ip 192.168.1.210

next

end

config reserved-address

edit 1

set ip 192.168.1.9

set mac c0:25:xx:xx:xx:xx

next

end

next

end