Fortinet black logo

User Guide

1.2.0

Setting up Network IP configuration

Setting up Network IP configuration

Log in to the device from the console using the default username and password (admin/no password). Set up a new password and log in to the device using the new credentials.

Viewing/ Updating Configuration

Run the show full-configuration command to view all of the configured commands in FortiGuest. After making changes, run the end or next command to commit your changes and make them effective.

Configuring IP Address

Run the following commands to set the IP address.

fguest # config system interface

fguest (interface) # edit port1

fguest (port1) # set mode static

fguest (port1) # set ip <IP/CIDR>

fguest (port1) # end

Run the following commands to set the gateway.

fguest # config router static

fguest (static) # edit 1

fguest (1) # set gateway <your_gateway>

fguest (1) # set device port1 #Same as the port mentioned in interface.

fguest (1) # end

Run the following commands to configure the DNS server.

fguest # config system dns

fguest (dns) # set primary <Primary_DNS_Server>

fguest (dns) # set secondary <Secondary_DNS_Server>

fguest (dns) # end

Note: When a FortiGuest instance is configured, the default IP address is 192.168.1.99/24.

Configuring Hostname

Run the following commands to configure hostname.

fguest # config system global

fguest (global) # set hostname <hostname>

fguest (dns) # end

Configuring NTP

Run the following commands to configure NTP.

fguest # config system ntp

fguest (ntp) # set ntpsync enable

fguest (ntp) # set ntpserver 0.in.pool.ntp.org 1.in.pool.ntp.org

fguest (ntp) # set syncinterval 60

fguest (ntp) # end

For complete list of supported commands, see Command Line Interface (CLI) Reference.

Setting up Network IP configuration

Log in to the device from the console using the default username and password (admin/no password). Set up a new password and log in to the device using the new credentials.

Viewing/ Updating Configuration

Run the show full-configuration command to view all of the configured commands in FortiGuest. After making changes, run the end or next command to commit your changes and make them effective.

Configuring IP Address

Run the following commands to set the IP address.

fguest # config system interface

fguest (interface) # edit port1

fguest (port1) # set mode static

fguest (port1) # set ip <IP/CIDR>

fguest (port1) # end

Run the following commands to set the gateway.

fguest # config router static

fguest (static) # edit 1

fguest (1) # set gateway <your_gateway>

fguest (1) # set device port1 #Same as the port mentioned in interface.

fguest (1) # end

Run the following commands to configure the DNS server.

fguest # config system dns

fguest (dns) # set primary <Primary_DNS_Server>

fguest (dns) # set secondary <Secondary_DNS_Server>

fguest (dns) # end

Note: When a FortiGuest instance is configured, the default IP address is 192.168.1.99/24.

Configuring Hostname

Run the following commands to configure hostname.

fguest # config system global

fguest (global) # set hostname <hostname>

fguest (dns) # end

Configuring NTP

Run the following commands to configure NTP.

fguest # config system ntp

fguest (ntp) # set ntpsync enable

fguest (ntp) # set ntpserver 0.in.pool.ntp.org 1.in.pool.ntp.org

fguest (ntp) # set syncinterval 60

fguest (ntp) # end

For complete list of supported commands, see Command Line Interface (CLI) Reference.