EasyManua.ls Logo

Fortinet FortiGate FortiGate-3016B - Page 37

Fortinet FortiGate FortiGate-3016B
66 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuring NAT/Route mode installation
FortiGate-3016B, FortiGate-3600A and FortiGate-3810A FortiOS 3.0 MR5 Install Guide
01-30005-0343-20071113 37
Example
config system interface
edit port2
set mode static
set ip 192.168.120.99 255.255.255.0
end
3 Set the IP address and netmask of the external interface to the external IP
address and netmask you recorded in Table 7 on page 33.
config system interface
edit <interface>
set mode static
set ip <address_ip> <netmask>
end
Example
config system interface
edit port1
set mode static
set ip 204.28.1.5 255.255.255.0
end
To set the external interface to use DHCP, enter:
config system interface
edit <interface>
set mode dhcp
end
To set the external interface to use PPPoE, enter:
config system interface
edit <interface>
set mode pppoe
set connection enable
set username <name_str>
set password <psswrd>
end
4 Use the same syntax to set the IP address of each FortiGate interface as
required.
5 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.

Table of Contents

Related product manuals