Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 冲浪技巧 > Creating redundant network interfaces with os 3.0
【标  题】:Creating redundant network interfaces with os 3.0
【关键字】:Creating,redundant,network,interfaces,with,os,3.0
【来  源】:http://www.cublog.cn/u/18307/showart.php?id=155096

Creating redundant network interfaces with os 3.0

Your Ad Here

About redundant interfaces

You can combine two or more physical interfaces to provide link redundancy, to ensure that Internet services remain active if one physical interface fails.

You can set up this feature on any FortiGate unit that has two spare interfaces.

For example, if you have two Internet services connected to a FortiGate unit, T1 on Wan 1 and DSL on Wan 2, you can configure Wan 2 to take over Internet traffic if Wan 1 fails.

FortiGate firmware on models 800 and higher implements redundant interfaces, and the procedure to create redundant interfaces is different from models up to 500. See the procedure for models 800 and above.

Creating redundant interfaces in models up to 500

Creating redundant interfaces includes these steps:

  • Creating new static routes
  • Configuring a ping server on each interface
  • Setting route preferences
  • Creating a firewall policy

Creating new static routes

The redundant interfaces will use these static routes.

The distance value specifies the priority of every route going to the same destination. The route with the lower distance is added to the route table and used first. The second route will not be used until the first route fails. Thus, the route using the primary interface must have a lower distance value, so that it will be used instead of the route using the secondary interface.

To create new static routes

  1. Go to Router > Static.
  2. Select Create New.
  3. Enter the destination IP for the primary route.
  4. Select the interface for the primary route.
  5. Set a distance of 10.
  6. select OK.
  7. Enter the same destination IP for the secondary route.
  8. Select the device for the secondary route.
  9. Set a distance of 11.
  10. Go to Router > Monitor to confirm the new routes.

Configuring a ping server

The FortiGate unit tests the connection through an interface by sending a ping to a reliable server. If the connection is active, the server will send a ping back to the FortiGate unit. If a ping test repeatedly fails, the FortiGate unit considers that connection to have failed, and will select an alternate connection. You can set the interval between pings and the number of times the ping test can fail before a connection is considered failed in Network Options.

To test a connection, a ping must be sent to a reliable server, usually a DNS server. The local gateway or a common website are not reliable enough to confirm a connection.

To configure a ping server

  1. Go to System > Network > Interface.
  2. Select the Edit icon for the devices using the two new static routes.
  3. Enter an IP address for Ping Server.
  4. Select Enable for Ping Server.

Verifying and setting the route preference

You can set up multiple routes to a destination in the network. The FortiGate unit uses the best route for each destination, specified by the lowest priority value.

To verify the route preference

  1. Open the Command Line Interface (CLI).
  2. Log in to the FortiGate unit.
  3. To verify the route preferences, enter the following:

    config router static
       show

The main route should have a lower priority value than the secondary route. If this is not the case, you can set priority values manually.

To set the route preference in the CLI, enter the following:


  config router static
     edit 2
         set device <secondary device>
         set gateway <secondary IP>
      next
      edit 2
         set device <primary device>
         set gateway <primary IP>
   end

Creating a firewall policy

You must define a firewall policy for the new route from your primary device to the secondary device to function.

To create a firewall policy

  1. Go to Firewall > Policy.
  2. Select Create New
  3. Select the primary interface for Source
  4. Select the secondary interface for Destination.
  5. Select the IP address of the primary interface for Source.
  6. Select the IP address of the secondary interface for Destination.
  7. Leave other options at the default settings.
  8. Select OK.

Creating redundant interfaces for FortiGate-800 and higher

In models 800 and above, adding redundant interfaces is a one step process. The FortiGate firmware implements redundant interfaces.

To create redundant interfaces

  1. Go to System > Network > Interface.
  2. Select Create New
  3. Enter a name for the redundant interface.
    The interface name must not be the same as any other interface, zone or VDOM.
  4. Select Redundant Interface for Type.
  5. Select an interface included in the redundant interface from Available Interfaces.
  6. Select the right arrow button to move the interface to the Selected Interface list.
  7. Repeat the selection procedure for all interfaces you want to include in the redundant interface.
  8. Enter the destination IP for the redundant interfaces in IP/Netmask.
  9. Enter an IP address for Ping Server.
  10. Select Enable for Ping Server.
  11. Configure other interface options as required.
  12. Select OK.
Creating redundant network interfaces with os 2.8:【上一篇】
(非计算机系学生)如何入门篇(1)---改变思维方式从第一本书开始:【下一篇】
【相关文章】
  • Creating redundant network interfaces with os 2.8
  • [转载]Posix线程编程指南
  • programming interfaces using raw socket
  • 《设计模式》学习笔记--组合模式Composite
  • 基于JBoss的J2EE应用
  • JBossAS性能优化和瘦身系列(6):Deployment Scanner & Connection Pools
  • 删除POSIX 注册表项目
  • 一个C语言小程序,有10几个命令和MSDOS一样哦:)
  • ghost后自动修改IP和计算机名的VBS脚本
  • PRADO V3.0.3发布了
  • 【随机文章】
  • 关于java字符输出到界面时的问题
  • 并行算法的一般设计过程
  • 矩阵系统初步构想
  • 帝国CMS整合Discuz5.0通行证接口已发布
  • Subject CN中的下划线与IIS Client Cert Mapping
  • 一种计算CD标识的算法
  • 骑士漫游和八皇后
  • 无线实时仓库管理系统 (ADO+ACCESS)
  • 富爸爸
  • ORACLE DBA不定时更新小知识(如有不同请指正)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.