Network configuration

Configuring DHCP services

 

 

Configuring a DHCP server

As a DHCP server, the FortiGate unit dynamically assigns IP addresses to hosts located on connected subnets. You can configure a DHCP server for any FortiGate interface. You can also configure a DHCP server for more than one FortiGate interface. For each DHCP server configuration you can add multiple scopes (also called address scopes) so that the DHCP server can assign IP addresses to computers on multiple subnets.

Use these procedures to configure an interface as a DHCP server:

Adding a DHCP server to an interface

Adding scopes to a DHCP server

Adding a reserve IP to a DHCP server

Viewing a DHCP server dynamic IP list

Adding a DHCP server to an interface

To add a DHCP server to an interface

1Go to System > Network > DHCP.

2Select Service.

3Select an interface.

4Select DHCP Server.

5Select Apply.

Adding scopes to a DHCP server

If you have configured an interface as a DHCP server, the interface requires at least one scope (also called an address scope). The scope designates the starting IP and ending IP for the range of addresses that the FortiGate unit assigns to DHCP clients.

You can add multiple scopes to an interface so that the DHCP server added to that interface can supply IP addresses to computers on multiple subnets.

Add multiple scopes if the DHCP server receives DHCP requests from subnets that are not connected directly to the FortiGate unit. In this case, the DHCP requests are sent to the FortiGate unit through DHCP relay. DHCP relay packets contain DHCP relay IP, which is the IP address of the subnet from which the DHCP relay received the request.

If the DHCP request received by the DHCP server is not forwarded by a DHCP relay, the DHCP server decides which scope to use based on the IP address of the interface that received the DHCP request; usually the scope with the same subnet as the interface.

If the DHCP request received by the server is forwarded by a DHCP relay, the relay IP is used to select the scope.

To add a scope to a DHCP server

1Go to System > Network > DHCP.

2Select Address Scope.

FortiGate-50A Installation and Configuration Guide

105

Page 105
Image 105
Fortinet 50A Configuring a Dhcp server, Adding a Dhcp server to an interface, Adding scopes to a Dhcp server, 105