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

FTG dhcp server

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

4 REPLIES 4
DPadula
Staff
Staff

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.

Regards
DPadula
Koumbia

 

Thank you for your feedback, i don't understand why when i use 'set mode dhcp' and 'next' i have this error

 

error.jpg

Atul_S
Staff
Staff

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,

Atul Srivastava
DPadula

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'.

Regards
DPadula
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