- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much @Atul_S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your feedback, i don't understand why when i use 'set mode dhcp' and 'next' i have this error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much @Atul_S
