52 01-28004-0028-20040830 Fortinet Inc.
Using the command line interface NAT/Route mode installation
4 To set the out of band management IP address and netmask, enter:
config system interface
edit oobm/ha
set ip <address_ip> <netmask>
end
Example
config system interface
edit oobm/ha
set ip 192.168.1.23 255.255.255.0
end
5 Use the same syntax to set the IP address of each FortiGate interface as required.
6 Confirm 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