Fortinet 1000 Manuale Utente

Pagina di 286
34
美国飞塔有限公司
将 FortiGate 连接到网络中
NAT/ 路由 模式安装
3
将外部网络接口的 IP 地址和网络掩码设置为您在 
中记录的外部 IP 地
址和网络掩码。输入:
set system interface external mode static ip <IP_ 地址 > < 网络掩码 >
例如
set system interface external mode static ip 204.23.1.5 
255.255.255.0
4
将网络接口 1、2、3 或 4/HA 的 IP 地址和网络掩码设置为您在
记录
的 IP 地址和网络掩码。
set system interface < 网络接口名称 _ 字符串 > mode static ip <IP 地址
> < 网络掩码 >
例如
要将接口 3 的 IP 地址设置为 192.45.56.73 并将网络掩码设置为 255.255.255.0,输

set system interface port3 mode static ip 192.45.56.73 
255.255.255.0
5
确认地址是正确的。输入:
get system interface
CLI 列出每个 FortiGate 网络接口的 IP 地址,网络掩码和其它设置信息。 
6
设置主 DNS 服务器的 IP 地址。输入
set system dns primary <IP 地址 >
例如
set system dns primary 293.44.75.21
7
还可以选择是否输入辅助 DNS 服务器 IP 地址,输入
set system dns secondary <IP 地址 >
例如
set system dns secondary 293.44.75.22
8
设置到默认路由的默认网关的 IP 地址。
set system route number < 路由编号 _ 整数 > dst 0.0.0.0 0.0.0.0 gw1 <
网关 IP 地址 >
例如
set system route number 0 dst 0.0.0.0 0.0.0.0 gw1 204.23.1.2
将 FortiGate 连接到网络中
在完成了初始配置之后,您可以在您的内部网络和互联网之间连接 FortiGate-
2000C 了。
FortiGate-2000C 有两个千兆铜缆接口:
·内部接口,用于连接到您的内部网络,
·外部接口 , 用于连接到您的公共交换机或集线器和互联网。