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

DHCP option problem

How can I enable DHCP options for a single host? For example, I need to assign a different gateway to a specific host.

14 REPLIES 14
52000cc
New Contributor

I am currently using another device as a DHCP server because the Cisco equipment has been replaced. Below is an example where I assigned a different gateway for a specific host. If FortiGate can also achieve this, I can stop using that device as the DHCP server.

config host
option ip '192.168.10.xxx'
option mac 'xx:xx:xx:xx:xx:xx'
option dns '1'
option tag 'custom_gtwy'
 
config tag 'custom_gtwy'
list dhcp_option '3,192.168.10.1'
Toshi_Esumi

What gateway IP the other clients get in the same 192.168.10.0/24 subnet or broadcast domain? Is it like 192.168.10.2?
I don't think it's possible at least with FGT. I'm not sure how to do with Cisco either unless the sencond gateway is for the secondary IP of the same gateway device interface.

Toshi

52000cc
New Contributor

Yes, same vlan, like main is using 192.168.10.1, and the specific host will use 192.168.10.2.

Toshi_Esumi

With Cisco, or your current DHCP server, there seem to be a concept "nesting DHCP server/pool", or sub-pool under the main pool. So you can configure the same parameters like DNS, gateway, and so on in the sub-pool, which is for a host with a reserved IP.
I don't think FGT's DHCP server has the same concept.
You might need to keep the current DHCP server as is if the gateway arrangement can not be changed.

Toshi

52000cc
New Contributor

OK, thanks!

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