How can I see all IPs assigned by DHCP for all Firewall vLans? I used pfSense a lot and there is an option in the Menu with DHCP leases. Is there this option in Fortigate?
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi @ememachado,
You may find helpful the article https://community.fortinet.com/t5/FortiGate/Technical-Tip-DHCP-address-leases-on-a-FortiGate/ta-p/19...
With the command 'execute dhcp lease-list' in CLI you should see the DHCP leases.
Best regards,
Running this command, it doesn't show all of them. I've already tried.
When you say "it doesn't show all of them" do you mean that some IP within the same VLAN/subnet is missing or that some interface/VLAN is missing in the list (so no IPs are showed for that subnet)?
Which FortiGate firmware version are you running? Are you using VDOMs?
Best regards,
It's strange... It should show everything. There are IPs in the vLans that are not listed.
FortiOS 7.0 GUI Tips and Tricks
Note: I was able to find the IP and machine I needed. So I'll take my time to see why I'm not listing it. Now I'm going to work on the machine solution. Thank you very much for now!
From CLI: exec dhcp lease-list
From GUI: Dashboard > Network, add DHCP widget, the expend it.
All vLans IPs do not appear on the Dashboard, the view is limited. Is there somewhere that shows all IPs?
FG GUI and CLI show all IPs assigned by FG's DHCP servers in all VLANs.
If some IP is not listed it means FG didn't assign this IP.
You are sure. I will analyze the client's network. I don't think he gave me all the information I needed about his environment. I think that in addition to FortiGate there is another DHCP there.
FortiOS 7.0 GUI Tips and Tricks
Note: I was able to find the IP and machine I needed. So I'm going to take my time to see why I'm not listing it. Now I'm going to work on the machine solution. Thank you very much for now!
Hi @ememachado ,
Please specify the FortiOS version that you are running.
For more details follow the doc and above KBs - https://docs.fortinet.com/document/fortigate/7.4.1/administration-guide/38214/dhcp-monitor
Best regards,
Erlin
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1663 | |
1077 | |
752 | |
446 | |
220 |
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 2024 Fortinet, Inc. All Rights Reserved.