Situation
在 FortiGate 與 FortiSwitch 採用 FortiLink 模式管理時,預設所有跨 VLAN 的流量都必須先回送至 FortiGate 處理,再返回 FortiSwitch。
將部分 L2/L3 流量處理工作下放(offload)到 FortiSwitch 端,讓本地交換更加高效,減少 FortiGate 的處理壓力,同時提升整體網路效能。
Configuration
config system interface
edit "Interface_Name"
set ip 10.1.1.1 255.255.255.0
set allowaccess ping
set interface "fortilink"
set vlanid 10
# 指令1: 開啟offload功能
set switch-controller-offload enable
# 指令2: 開啟offload-gw功能
set switch-controller-offload-gw enable
# 指令3: 設定offload-gw虛擬IP
set swtich-controller-offload-ip 10.1.1.2
Check
Fortigate WebUI > Log & Report > Forward Traffic