Hello community,
I need yours help, when i make
FortiGate-VM64-AWS (interface) #
edit port1
set mode dhcp
then i getting this error
This interface is being used by one or more dhcp servers.
attribute set operator error, -236, discard the setting
Command fail. Return code 1
Solved! Go to Solution.
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.
Hello Koumbia,
As per your config and the error message, it seems like you are trying to set the port 1 as DHCP client whereas port 1 is configured to serve a DHCP pool within DHCP configuration. You either have to change the interface within DHCP setting or use another port as DHCP client.
Thanks,
To elaborate a bit on Atul's comment:
- port1 is configured to work as DHCP server
- that means currently it provides IPs for connecting clients
- it must have a static IP itself to act as DHCP server
So, one of two options:
1. Delete any DHCP server under 'config system dhcp server' that references port1
-> any hosts connecting to port1 and receiving IPs from it might lose connection!
2. Leave port1 to have a static IP
Cheers,
Debbie
Thank you so much @Atul_S
Hi Koumbia
Download the Fortigate configuration, open it using notepad or notepad++ and search by port1.
See where port1 is used. You might need to fix/change some of the firewall configuration.
Thank you for your feedback, i don't understand why when i use 'set mode dhcp' and 'next' i have this error
Hello Koumbia,
As per your config and the error message, it seems like you are trying to set the port 1 as DHCP client whereas port 1 is configured to serve a DHCP pool within DHCP configuration. You either have to change the interface within DHCP setting or use another port as DHCP client.
Thanks,
Hi Kumbia,
Follow Atul's advice and probably you will find the issue. Just to add to his comment, the DHCP server settings can be found under 'conf system dhcp server'.
To elaborate a bit on Atul's comment:
- port1 is configured to work as DHCP server
- that means currently it provides IPs for connecting clients
- it must have a static IP itself to act as DHCP server
So, one of two options:
1. Delete any DHCP server under 'config system dhcp server' that references port1
-> any hosts connecting to port1 and receiving IPs from it might lose connection!
2. Leave port1 to have a static IP
Cheers,
Debbie
Thank you so much @Atul_S
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 |
---|---|
1688 | |
1087 | |
752 | |
446 | |
226 |
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.