Fortinet 800F manual Get system interface, To configure DNS server settings

Models: 800F 800

1 60
Download 60 pages 37.87 Kb
Page 33
Image 33

NAT/Route mode installation

Configuring the FortiGate unit to operate in NAT/Route mode

 

 

 

config system external

 

edit external

 

set mode static

 

set ip <address_ip> <netmask>

 

end

 

Example

 

config system external

 

edit external

 

set mode static

 

set ip <204.23.1.5> <255.255.255.0>

 

end

 

To set the external interface to use DHCP, enter:

 

config system interface

 

edit external

 

set mode dhcp

 

end

 

To set the external interface to use PPPoE, enter:

 

config system interface

 

edit external

 

set mode pppoe

 

set connection enable

 

set username <name_str>

 

set password <psswrd>

 

end

4Use the same syntax to set the IP address of each FortiGate interface as required.

5Confirm that the addresses are correct. Enter:

get system interface

The CLI lists the IP address, netmask, and other settings for each of the FortiGate interfaces.

To configure DNS server settings

Set the primary and secondary DNS server IP addresses. Enter

config system dns

set primary <address_ip> set secondary <address_ip>

end

Example

config system dns

set primary 293.44.75.21 set secondary 293.44.75.22

end

FortiGate-800/800F Installation Guide

01-28006-0024-20041026

33

Page 33
Image 33
Fortinet 800F manual Get system interface, To configure DNS server settings