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.
jbindra
Staff
Staff
Article Id 270049
Description

This article describes where to see DHCP logs when a certain IP is reserved for a certain MAC address.

Scope FortiGate.
Solution

Whenever an IP is reserved for a certain MAC address under the advanced setting of the DHCP server available under the physical interface setting, it is possible to see the logs related to it in System Events logs with the message like 'Edit system.dhcp.server'.

 

In the given example,  192.168.1.10 IP has been reserved for 01:02:03:04:05:06 MAC address:

 

jbindra_0-1692822146894.png

 

CLI reference:

 

config system dhcp server
    edit 2
        set dns-service default
        set default-gateway 192.168.1.1
        set netmask 255.255.255.0
        set interface "port2"
    config ip-range
          edit 1
             set start-ip 192.168.1.2
             set end-ip 192.168.1.254
            next
        end
        config reserved-address
          edit 1
             set ip 192.168.1.10
             set mac 01:02:03:04:05:06
            next
          end
      next
end

 

It is possible to see the log related to it under Logs and Report -> System events:

 

jbindra_1-1692822146896.png

 

It is possible to expand this log and see the contents:

 

jbindra_2-1692822146898.png