Fortinet 100, 50A/50B manual Adding a default route, To add a default route

Models: 100 50B 50A/50B

1 84
Download 84 pages 47.25 Kb
Page 41
Image 41

 

 

 

Configuring the FortiGate unit

NAT/Route mode installation

100

50B

WiFi-50B

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

Adding a default route

Add a default route to configure where the FortiGate unit sends traffic that should be sent to an external network (usually the Internet). Adding the default route also defines which interface is connected to an external network. The default route is not required if the interface connected to the external network is configured using DHCP or PPPoE.

To add a default route

Set the default route to the Default Gateway IP address. Enter:

config router static edit <seq_num>

set dst <class_ip&net_netmask> set gateway <gateway_IP>

set device <interface>

end

Example

If the default gateway IP is 10.10.1.2 and this gateway is connected to the external interface:

config router static edit 1

set dst 0.0.0.0 0.0.0.0 set gateway 10.10.1.2 set device external

end

Verify the connection

To verify the connection, try the following:

ping the FortiGate unit

browse to the web-based manager GUI

retrieve or send email from your email account

If you cannot browse to the web site or retrieve/send email from your account, review the previous steps to ensure all information was entered correctly and try again.

You are now finished the initial configuration of the FortiGate unit.

FortiGate-50A/50B, FortiWiFi-50B and FortiGate-100 FortiOS 3.0 MR4 Install Guide

41

01-30004-0265-20070831

Page 41
Image 41
Fortinet 100, 50A/50B manual Adding a default route, To add a default route