104
Fortinet Inc.
Configuring DHCP services
Network configuration
Policy routing command syntax
Configure policy routing using the following CLI command.
set system route policy <route_int> src <source_ip>
<source_mask> iifname <source-interface_name>
dst <destination_ip> <destination_mask>
oifname <destination-interface_name> protocol <protocol_int>
port <low-port_int> <high-port_int> gw <gateway_ip>
Complete policy routing command syntax is described in
Volume 6: FortiGate CLI
Reference Guide
.
Configuring DHCP services
You can configure DHCP server or DHCP relay agent functionality on any FortiGate
interface.
A FortiGate interface can act as either a DHCP server or as a DHCP relay agent. An
interface cannot provide both functions.
This section describes the following:
•
Configuring a DHCP relay agent
•
Configuring a DHCP server
Configuring a DHCP relay agent
In a DHCP relay configuration, the FortiGate unit forwards DHCP requests from
DHCP clients through the FortiGate unit to a DHCP server. The FortiGate unit also
returns responses from the DHCP server to the DHCP clients. The DHCP server must
have a route to the FortiGate unit that is configured as the DHCP relay so that the
packets sent by the DHCP server to the DHCP client arrive at the FortiGate
performing DHCP relay.
To configure an interface as a DHCP relay agent
1
Go to
System > Network >
DHCP
.
2
Select Service.
3
Select the interface to be the DHCP relay agent.
4
Select DHCP Relay Agent.
5
Enter the DHCP Server IP address.
6
Select Apply.
Note:
To configure DHCP server or DHCP relay functionality on an interface, the FortiGate unit
must be in NAT/Route mode and the interface must have a static IP address.
Summary of Contents for FortiGate 50A
Page 12: ...Contents 12 Fortinet Inc ...
Page 32: ...32 Fortinet Inc Next steps Getting started ...
Page 40: ...40 Fortinet Inc Completing the configuration NAT Route mode installation ...
Page 72: ...72 Fortinet Inc Session list System status ...
Page 112: ...112 Fortinet Inc Configuring the modem interface Network configuration ...
Page 120: ...120 Fortinet Inc Adding RIP filters RIP configuration ...
Page 170: ...170 Fortinet Inc Content profiles Firewall configuration ...
Page 224: ...224 Fortinet Inc Logging attacks Network Intrusion Detection System NIDS ...
Page 230: ...230 Fortinet Inc Viewing the virus list Antivirus protection ...
Page 244: ...244 Fortinet Inc Exempt URL list Web filtering ...
Page 262: ...262 Fortinet Inc Glossary ...
Page 272: ...272 Fortinet Inc Index ...