Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
sagvan
Contributor

FortiGate DHCP Reservations Missing for Company Machines (LAN)

I've reserved specific IP addresses for our company machines based on their MAC addresses in FortiGate's Network > Interfaces > LAN > DHCP > Advanced > Reservations. However, these reserved entries aren't showing up in the DHCP Monitor tool.

Key Points:

  • Reservations made for company machines (not smartphones)
  • Machines have connectivity from PC and Server via LAN
  • Reservations confirmed in LAN DHCP settings
  • PC reservation on LAN visible in DHCP Monitor
  • Smartphone reservation on Wi-Fi visible in DHCP Monitor

Why are reserved IPs for company machines not showing up in the FortiGate DHCP Monitor? Any suggestions for troubleshooting? Does it even matter when they have connectivity? What does it mean?

I appreciate any insights and assistance you can offer. Thank you in advance for your time and expertise!

Sincerely,

Sagvan Saleem
Sagvan Saleem
2 Solutions
ede_pfau
SuperUser
SuperUser

1- these hosts use static IPs

or

2- these hosts obtain their IPs from a different DHCP server on the network

As DHCP uses broadcasts for detection you might find a (rogue/second) DHCP server by sniffing:

in CLI: "diag sniffer packet any 'port 67 or port 68' " 6 0 a l (lowercase "L")

 

Ede Kernel panic: Aiee, killing interrupt handler!

View solution in original post

Ede Kernel panic: Aiee, killing interrupt handler!
AEK

If the clients have static IP they will not appear in DHCP monitor even if they are reserved.

They will be displayed only if they are dynamic.

AEK

View solution in original post

AEK
8 REPLIES 8
AEK
SuperUser
SuperUser

DHCP monitor shows only non-expired clients. Once lease time expires for a client it is not shown anymore even if it has reserved IP.

AEK
AEK
sagvan
Contributor

@AEK 
But some of the machines are up, and I can even ping them and access their web interfaces.
I am confused as DHCP monitor does not even show them as leased out.

Sagvan Saleem
Sagvan Saleem
AEK
SuperUser
SuperUser

I have the same and all DHCP clients are displayed correctly in DHCP monitor as shown below (FortiOS 6.2.15).

Which FortiOS do you have?

It also possible that you have another DHCP server in your network. In that case FG will not show the clients that acquire IP from a DHCP server other than FG.

 

dhcp_mon.png

AEK
AEK
ede_pfau
SuperUser
SuperUser

1- these hosts use static IPs

or

2- these hosts obtain their IPs from a different DHCP server on the network

As DHCP uses broadcasts for detection you might find a (rogue/second) DHCP server by sniffing:

in CLI: "diag sniffer packet any 'port 67 or port 68' " 6 0 a l (lowercase "L")

 

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
sagvan
Contributor

@AEK @ede_pfau 

I am only using FG DHCP. We don't have a dedicated DHCP server.

Also, those machines are using static addresses, but I reserved them so no other device would (with low chance) get the address.

Sagvan Saleem
Sagvan Saleem
AEK

If the clients have static IP they will not appear in DHCP monitor even if they are reserved.

They will be displayed only if they are dynamic.

AEK
AEK
sagvan
Contributor

@ede_pfau @AEK 
Thank you.

I just tested it again, and I learned that even with reservation, static addresses are not shown on DHCP monitor.

 

God bless you!

Sagvan Saleem
Sagvan Saleem
ede_pfau
SuperUser
SuperUser

That's not a problem at all.

Just before a DHCP server offers an IP address lease, it sends out an arp request to learn the MAC address (or just the existence) of a host with the offered IP address. If somehost answers, the server offers the next available address. If not, all is good, and the address is offered.

 

So, in order to protect your statically assigned addresses, you don't need to do anything. The DHCP server will respect any existing address. CAVEAT: that is, as long as that host is online. Usually not a problem with servers, but might be with, for instance, printers.

Therefore, a best practice that I follow is to use the one-digit host addresses for static assignment, and to start the DHCP range at .20 (and not at .1 which ALWAYS is the firewall's port).

 

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors