• Home
  • About us
  • Contact

Welcome to www.DoitFixit.com

www.doitfixit.com

  • Microsoft
  • Fortinet
  • Symantec
  • Office 365
  • Azure
  • Others

FortiGate DHCP Advanced Options

December 9, 2013 By Damitha Anuradha 2 Comments

To enable a DHCP server, go to System > Network > Interface. Edit the interface, and select Enable for the DHCP Server row. In here we can assign the address range, sub net mask, default gateway and dns server.

Now check the IP confugration settings. As shown in below figure, lease period is set to 7 days and we can only assign one DNS Server in above settings.

To change lease time and add more dns servers we have to do modify the configuration through CLI.

First enter below command line.

config system dhcp server

Type get to list all DHCP Servers. As shown in below figure I have 4 DHCP Servers.

Type edit <server entry number> and hit enter. And see the current DHCP Server configuration.

DHCP Server default lease-time is 604800 = 1 Week = 7 Days

So I am going to change the DHCP Lease-time to 1 Day = 86400 Seconds

Type below command set the lease-time

set lease-time 86400

To add another DNS Server (Alternative) type below command.

set dns-server2 <IP Address>

Type end to end the current session and see the DHCP configuration on the interface.

Do ipconfig /release and ipconfig /renew and verify the new IP Configuration.

Missing DHCP Advanced options…? Refer Enable DHCP Advanced Options on FortiGate

Comments

  1. P.S.Sherin says

    November 1, 2016 at 4:42 pm

    Thanks Dear, its perfectly done.

    Reply
  2. Juan Sebastian Leguizamón says

    October 5, 2018 at 4:10 am

    Thanks! Excelent tutorial

    Reply

Leave a Reply to P.S.Sherin Cancel reply

Your email address will not be published. Required fields are marked *

LATEST ARTICLES

  • Slow Network Speed with Hyper-V Virtual Machines on Windows Server Server 2019
  • Block MS Exchange Server OWA access from Internet
  • Error 1168 – The specified product key could not be validated.
  • Unable to Enable Desktop Icons after Joining to the Domain
  • Veritas BackupExec – A backup set was created which contains no data 0xe00084b7

Copyright © 2020 · www.doitfixit.com · Log in