<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VDOM on Renn's Blog</title><link>https://sleepmaple.com/tags/vdom/</link><description>Recent content in VDOM on Renn's Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 03 Dec 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://sleepmaple.com/tags/vdom/index.xml" rel="self" type="application/rss+xml"/><item><title>FortiGate - VDOM</title><link>https://sleepmaple.com/posts/fortigate/fortigate_vdom/</link><pubDate>Thu, 03 Dec 2026 00:00:00 +0000</pubDate><guid>https://sleepmaple.com/posts/fortigate/fortigate_vdom/</guid><description>&lt;h3 id="reference">Reference
&lt;/h3>&lt;pre tabindex="0">&lt;code>https://support.fortinet.com.cn/vdom/vdom_basic
https://support.fortinet.com.cn/vdom/vdom_comm#%E7%BD%91%E7%BB%9C%E9%9C%80%E6%B1%82
&lt;/code>&lt;/pre>&lt;h3 id="situation">Situation
&lt;/h3>&lt;pre tabindex="0">&lt;code># 切了兩個VDOM要互通
Configured two VDOMs and need to establish inter-VDOM communication.
&lt;/code>&lt;/pre>&lt;h3 id="introduction">Introduction
&lt;/h3>&lt;pre tabindex="0">&lt;code># 全局的功能有HA、SNMP、Cerficate
config global
config system snmp sysinfo
set status enable
end
end
# root vdom是預設的虛擬防火牆
&lt;/code>&lt;/pre>&lt;h3 id="basic-vdom-setup">Basic VDOM Setup
&lt;/h3>&lt;pre tabindex="0">&lt;code>[1]
# 開啟VDOM功能
config system global
set vdom-mode multi-vdom
end
[2]
# 開起建立VDOM提示
config global
config system global
set edit-vdom-prompt enable
end
end
# 新增一個VDOM，預設是NAT模式
FGT WebGUI &amp;gt; Global VDOM &amp;gt; System &amp;gt; VDOM &amp;gt; Create OA VDOM
or
config vdom
edit OA
end
[3]
# 新增Port進入VDOM
FGT WebGUI &amp;gt; Global VDOM &amp;gt; Network &amp;gt; Interface &amp;gt; &amp;#34;Port8&amp;#34; &amp;gt; Virtual Domain &amp;gt; OA VDOM
or
config global
config system interface
edit port8
set vdom OA
next
end
end
&lt;/code>&lt;/pre>&lt;h3 id="solution-1-實體互接">Solution 1. 實體互接
&lt;/h3>&lt;pre tabindex="0">&lt;code>[1]
# 將兩個VDOM的實體接線(Port3, Port4)連接
# 測試這兩個vlink有沒有通(要進兩個VDOM互相測試)
exe ping 10.1.1.1
exe ping 10.1.1.2
[2]
# 新增路由和政策
&lt;/code>&lt;/pre>&lt;h3 id="solution-2-npu-link">Solution 2. NPU Link
&lt;/h3>&lt;pre tabindex="0">&lt;code>[1]
# 設定npu0_vlink0, npu0_vlink1 IP
FGT WebGUI &amp;gt; network &amp;gt; interface &amp;gt; NPU VDOM &amp;gt; npu0_vlink0 or npu0_vlink1
# 新增這兩個vlink進入各自的VDOM
vpu0_vlink0 : 加到VDOM root
vpu0_vlnik1 : 加到VDOM OA
# 測試這兩個vlink有沒有通(要進兩個VDOM互相測試)
exe ping 10.1.1.1
exe ping 10.1.1.2
[2]
# 新增路由和政策
&lt;/code>&lt;/pre>&lt;h3 id="solution-3-透過外接l3轉送打通">Solution 3. 透過外接L3轉送打通
&lt;/h3>&lt;pre tabindex="0">&lt;code>[1]
# 將兩個VDOM的實體接線(Port3, Port4)連接外接L3
[2]
# 新增路由和政策
&lt;/code>&lt;/pre></description></item></channel></rss>