Fortinet FortiGate FortiGate-400 Installation Manual page 30

Fortinet fortigate fortigate-400: install guide
Hide thumbs Also See for FortiGate FortiGate-400:
Table of Contents

Advertisement

Using the command line interface
30
To configure interfaces
1
Log in to the CLI.
2
To set the IP address and netmask of port1, enter:
config system interface
edit port1
set ip <address_ip> <netmask>
end
Example
To set the IP address of port1 to 192.168.20.99 and netmask to 255.255.255.0, enter:
config system interface
edit port1
set ip 192.168.20.99 255.255.255.0
end
3
To set the IP address and netmask of port2, enter:
config system interface
edit port2
set ip <address_ip> <netmask>
end
Example
To set the IP address of port 1 to 204.23.1.5 and netmask to 255.255.255.0, enter:
config system interface
edit port1
set ip 204.23.1.5 255.255.255.0
end
To set port2 to use DHCP, enter:
config system interface
edit port2
set mode dhcp
end
To set the port2 to use PPPoE, enter:
config system interface
edit port2
set mode pppoe
set username user@domain.com
set password mypass
set connection enable
end
4
Use the same syntax to set the IP address of each FortiGate interface as required.
01-28004-0022-20040830
NAT/Route mode installation
Fortinet Inc.

Advertisement

Table of Contents
loading

Table of Contents