Fortinet 60c manual To configure the management IP address, To configure the default gateway

Page 42

Using the command line interface

Transparent mode installation

 

 

The CLI displays the status of the FortiGate unit including the following line of text:

Operation mode: Transparent

To configure the management IP address

1Make sure that you are logged into the CLI.

2Set the management IP address and netmask to the IP address and netmask that you recorded in Table 9 on page 40. Enter:

config system manageip

set ip <address_ip> <netmask> end

Example

config system manageip

set ip 10.10.10.2 255.255.255.0 end

3Confirm that the address is correct. Enter:

get system manageip

The CLI lists the management IP address and netmask.

To configure DNS server settings

1Set 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

To configure the default gateway

1Make sure that you are logged into the CLI.

2Set the default route to the default gateway that you recorded in Table 9 on page 40. Enter:

config router static edit 1

set dst 0.0.0.0 0.0.0.0

set gateway <address_gateway> set device <interface>

end

42

01-28008-0018-20050128

Fortinet Inc.

Image 42
Contents Installation Guide January 01-28008-0018-20050128Trademarks Regulatory ComplianceTable of Contents Index Secure installation, configuration, and management IntroductionCommand line interface Web-based managerSetup wizard Document conventionsFortiGate Installation Guide FortiGate documentationComments on Fortinet technical documentation Related documentationFortinet Knowledge Center FortiManager documentationCustomer service and technical support FortiMail documentationFortiLog documentation Customer service and technical support Customer service and technical support Getting started Package contents MountingEnvironmental specifications Turning the FortiGate unit power on and offPower requirements To power on the FortiGate unitConnecting to the web-based manager To connect to the web-based managerBits per second 9600 Data bits Parity Connecting to the command line interface CLITo connect to the CLI Stop bits Flow controlQuick installation using factory defaults Go to System Network DNSFactory default FortiGate configuration settings Factory default Dhcp server configurationFactory default NAT/Route mode network configuration Administrative access Factory default Transparent mode network configurationFactory default firewall configuration Management IPFactory default protection profiles StrictScan Planning the FortiGate configuration NAT/Route modeNAT/Route mode with multiple external network connections Example NAT/Route mode network configurationTransparent mode Example NAT/Route multiple internet connection configurationConfiguration options Web-based manager and setup wizardNext steps NAT/Route mode installation Preparing to configure the FortiGate unit in NAT/Route modeUsing the web-based manager Dhcp or PPPoE configurationPPPoE settings User name Password To configure DNS server settings Go to System Network DNS Configuring basic settingsTo configure interfaces Go to System Network Interface To add a default routeTo add/change the administrator password Using the command line interfaceConfiguring the FortiGate unit to operate in NAT/Route mode To configure interfacesExample Get system interfaceUsing the setup wizard To configure DNS server settingsDhcp server Setup wizard settings PasswordExternal Interface Internal serversConnecting the FortiGate unit to the networks Starting the setup wizardSetup wizard settings Antivirus FortiGate-60 NAT/Route mode connections FortiGate-60Configuring the networks Configuring the Modem interfaceTo set the date and time Go to System Config TimeTo configure virus, attack, and spam definition updates To register the FortiGate unitGo to System Maintenance Update Center Transparent mode installation Preparing to configure Transparent modeTo change the Management IP Go to System Network Management Management IPReconnecting to the web-based manager To change to Transparent mode using the CLITo configure the management IP address To configure the default gatewayTo start the setup wizard Connecting the FortiGate unit to your network InternalTo register your FortiGate unit Go to System Maintenance Update Center High availability configuration settings High availability installationConfiguring FortiGate units for HA operation Priorities of heartbeat device and monitor prioritiesGroup ID MAC Address To change the FortiGate unit host name Configuring FortiGate units for HA using the CLI Config system global Set hostname namestr endConnecting the cluster to your networks To configure the FortiGate unit for HA operationHA network configuration To connect the clusterInstalling and configuring the cluster Installing and configuring the cluster Configuring the modem interface Selecting a modem modeRedundant mode configuration Standalone mode configuration To operate in standalone mode Go to System Network ModemAuto-dial Configuring modem settingsMode Redundant forConnecting and disconnecting the modem in Standalone mode To configure modem settings Go to System Network ModemTo connect to a dialup account Go to System Network Modem To disconnect the modem Defining a Ping ServerDead gateway detection ISPAdding firewall policies for modem connections Index CLIIndex