<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jung-En Wu on Medium]]></title>
        <description><![CDATA[Stories by Jung-En Wu on Medium]]></description>
        <link>https://medium.com/@jungenwu?source=rss-fa0ebecc61bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*0TGwqLeFwi4fZxvR.</url>
            <title>Stories by Jung-En Wu on Medium</title>
            <link>https://medium.com/@jungenwu?source=rss-fa0ebecc61bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:25:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jungenwu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Virtual Networks]]></title>
            <link>https://medium.com/@jungenwu/virtual-networks-ba3722813bae?source=rss-fa0ebecc61bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba3722813bae</guid>
            <dc:creator><![CDATA[Jung-En Wu]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 11:13:33 GMT</pubDate>
            <atom:updated>2024-03-30T11:13:33.033Z</atom:updated>
            <content:encoded><![CDATA[<p>Tunneling Protocols and Virtual Private Networks: <br>GRE</p><p>GRE Header</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*zHsECNZAP8OJngaWKn4XDw.png" /></figure><p>GRE Packet Flow: Example</p><p>Trace a packet from a node on the 192.168.1.0 network (192.168.1.10) to a <br>node on the 192.168.2.0 network (192.168.2.15).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*56-P14ags7LCqVbaVUbKHg.png" /></figure><p>GRE Packet Flow: Example, cont’d</p><p>The step-by-step tunnel establish procedure is presented in the following <br>table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*0UsS8m3Le4OC_ebYmKqReg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba3722813bae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtual Networks]]></title>
            <link>https://medium.com/@jungenwu/virtual-networks-fabdee164e33?source=rss-fa0ebecc61bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/fabdee164e33</guid>
            <dc:creator><![CDATA[Jung-En Wu]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 11:11:28 GMT</pubDate>
            <atom:updated>2024-03-30T11:11:28.435Z</atom:updated>
            <content:encoded><![CDATA[<p>Tunneling Protocols and Virtual Private Networks: <br>VXLAN</p><p>Why Virtual Extensible LAN (VXLAN)?</p><p>Provide VLANs over IP networks to support VLANs over geographically remote datacenters<br>Increase the length of a VLAN tag from 802.1Q’s 12 bits to 24 bits<br>Support migration of VMs between servers across layer-3 networks</p><p>VXLAN Frame Header</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*RRUAJ4v1dIgySkQrJ2APhg.png" /></figure><p>VxLAN Migration Example</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*8u_cXYcXB_kI9HYeGUtrSw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fabdee164e33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtual Networks]]></title>
            <link>https://medium.com/@jungenwu/virtual-networks-d358b132aad2?source=rss-fa0ebecc61bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/d358b132aad2</guid>
            <dc:creator><![CDATA[Jung-En Wu]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 11:08:07 GMT</pubDate>
            <atom:updated>2024-03-30T11:21:24.043Z</atom:updated>
            <content:encoded><![CDATA[<p>Tunneling Protocols and Virtual Private Networks: <br>VLAN</p><p>Tunneling Protocols (examples)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*UkEmTWhkmDMB2Moch_BvBg.png" /></figure><p>Virtual Local Area Networks (VLANS)</p><p>VLANs divide a single existing physical network into multiple logical <br>networks, in which VLANs are layer-2 overlay networking technologies.<br>|Two types of VLANs:<br>- Port-based VLANs (untagged)<br>- Tagged VLANs</p><p>VLAN Tagging</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*RHv7Yuxct2Mybgr-bJUaqg.png" /></figure><p>Ethernet MTU</p><p>The standard Ethernet MTU is 1500 bytes at the network layer or 1518 bytes at the link layer: <br>1500 bytes + 14 bytes (header) + 4 bytes (frame check sequence) =1518 bites<br>Add 4 bytes of tags , which can accommodated either by:<br>- changing MTU to 1522 (i.e., 1518+4) bytes, <br>or<br>- reducing the network layer MTU to 1496 (i.e., 1500–4) bytes</p><p>Port-Based VLANS</p><p>A single physical switch X is simply divided into multiple logical <br>switches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*x-ntvmqn7CwoeNkwrOi8BQ.png" /></figure><p>Port-Based VLANS for Two Switches</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*OevnGU4qReDSBe1kEy3_1w.png" /></figure><p>Tag, Trunk Port, and Port Configuration</p><p>Using tags to identify which logical switch a port belongs to<br>Using a single link to connect two ports on two switches, in which the <br>link is called trunk-link and it forwards all data frames between two <br>switches<br>- allows tagged traffic to be forwarded to the same VLAN physically residing on different switches<br>Port states</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*0z6iX5Dz4vDSSIvbFPXTBQ.png" /></figure><p>Tag-Based VLANS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*Pi-0Oi85ElUfjGqPL-MMpQ.png" /></figure><p>Q-In-Q</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*wXt118MUt_RsBqeSb_5EYw.png" /></figure><p>VLAN，全稱是虛擬局域網路（Virtual Local Area Network），是一種用於將一個物理網絡分割成多個虛擬網絡的技術，使得每個虛擬網絡在邏輯上是獨立的。這種分割使得每個VLAN內的設備就像是在同一個網絡中一樣，即使它們在物理上可能分布在不同的交換機或是網段上。</p><p>VLAN的主要優點包括：</p><p>提高安全性：通過將敏感設備或數據隔離在獨立的VLAN中，可以減少潛在的安全威脅。<br>改善性能：分割流量以減少廣播域的大小，從而減少不必要的網絡流量，提升網絡性能。<br>更靈活的網絡管理：可以根據需要而不是物理位置來組織網絡，使網絡管理更加靈活和方便。<br>支持廣播控制：由於每個VLAN都是一個獨立的廣播域，這有助於控制廣播流量並減少其對網絡的影響。<br>VLAN的工作原理基於802.1Q標準，該標準在乙太網框架中定義了一個特殊的標籤（VLAN標籤），用於標識該框架屬於哪個VLAN。當數據包在網絡中傳輸時，支持VLAN的交換機和路由器會檢查這個標籤，確定如何處理該數據包。這允許數據包在同一物理網絡的不同VLAN之間安全地隔離，同時也支持不同VLAN之間的數據交換（通過路由器或第三層交換機）。</p><ol><li>支持廣播控制：由於每個VLAN都是一個獨立的廣播域，這有助於控制廣播流量並減少其對網絡的影響。</li></ol><p>VLAN的工作原理基於802.1Q標準，該標準在乙太網框架中定義了一個特殊的標籤（VLAN標籤），用於標識該框架屬於哪個VLAN。當數據包在網絡中傳輸時，支持VLAN的交換機和路由器會檢查這個標籤，確定如何處理該數據包。這允許數據包在同一物理網絡的不同VLAN之間安全地隔離，同時也支持不同VLAN之間的數據交換（通過路由器或第三層交換機）。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d358b132aad2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtual Networks]]></title>
            <link>https://medium.com/@jungenwu/virtual-networks-8b8c2b72ba33?source=rss-fa0ebecc61bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b8c2b72ba33</guid>
            <dc:creator><![CDATA[Jung-En Wu]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 10:41:27 GMT</pubDate>
            <atom:updated>2024-03-30T10:41:27.633Z</atom:updated>
            <content:encoded><![CDATA[<p>Open Virtual Switch (OVS)</p><p><strong>Open Virtual Switch (OVS): Introduction</strong></p><p>Open vSwitch (OVS): A multilayer software switch licensed under the open <br>source Apache 2 license. <br>- Designed to support distribution across multiple physical servers<br>- Supports multiple Linux-based virtualization technologies — e.g., Xen/XenServer, KVM, <br>VirtualBox, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*rbAcKFBaznsmIPihXYN0Jw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*Jh8YOTJeuTV5KSQbkBn90Q.png" /></figure><p><strong>Packet Processing in OVS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*8fKICGg9LRIGyXh39HZZEQ.png" /></figure><p><strong>OVS Internal Modules</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*TDzxQ9GdSzIy3OivUvG9WA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b8c2b72ba33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Layer Layer-2 Virtual Networking: Ethernet, Switch and Bridge]]></title>
            <link>https://medium.com/@jungenwu/layer-layer-2-virtual-networking-ethernet-switch-and-bridge-3e880dd6b907?source=rss-fa0ebecc61bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e880dd6b907</guid>
            <dc:creator><![CDATA[Jung-En Wu]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 10:17:46 GMT</pubDate>
            <atom:updated>2024-03-30T10:17:46.995Z</atom:updated>
            <content:encoded><![CDATA[<p>Layer-2 Virtual Networking: Ethernet, Switch and Bridge</p><p>Ethernet</p><p>Ethernet by definition is a broadcast protocol<br>- Any signal can be received by all hosts (e.g., Hub is used)<br>- Switching enables individual hosts to communicate<br>Network layer packets are transmitted over an Ethernet by encapsulating Frame Format</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*xWK1y0VrXrKRWRBtyW19hg.png" /></figure><p>Data-Link Layer Networking: switch</p><p>Switch is a data-link layer device, where it recodes all the MAC <br>addresses of all the devices connected to it, then create a dedicated <br>link when forward data from one port to another port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*97sPhKk7tfbv0kUtQrGk4A.png" /></figure><p>Data-Link Layer Networking: bridge</p><p>Bridge is a data-link layer device, where it usually connects two LANs <br>to reduce the size of collision domains when the data-link protocol <br>share the communication media. A switch can be viewed as a <br>multiport-bridge (i.e., they are basically equivalent).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*KT4tqxBnx9DI1kmEsAToiA.png" /></figure><p>Spanning Tree Protocol (STP)</p><p>|Used by switches to turn a redundant topology into a spanning tree</p><p>STP defined by IEEE 802.1d<br>Rapid STP defined by IEEE 802.1w</p><p>Disables unwanted links by blocking ports<br>Switches run STP by default – no configuration needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*AZlDMv8wCFdx1pncOneQfA.png" /></figure><p>Spanning Tree Algorithm</p><p>The switches use this algorithm to decide which <br>ports should be shut down.<br>1. Choose one switch to be “root bridge”<br>2. Choose a “root port” on each other switch<br>3. Choose a “designated port” on each segment.<br>4. Close down all other ports.</p><ol><li>Choose one switch to be “root bridge.”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*6oUI0aADnWYNSFlJIISe5w.png" /></figure><p>2. Choose a “root port” on each other switch</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*luXnUNXIKyp9e70yXd1MRQ.png" /></figure><p>3. Choose a “designated port” on each segment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*P6eFGRmyygwdSC6ggHjU2A.png" /></figure><p>4. Close down all other ports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*6P0iZ-pKjNnrLeL_b9CZ6w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e880dd6b907" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[網絡虛擬化Network Virtualization]]></title>
            <link>https://medium.com/@jungenwu/%E7%B6%B2%E7%B5%A1%E8%99%9B%E6%93%AC%E5%8C%96network-virtualization-80e9e9590172?source=rss-fa0ebecc61bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/80e9e9590172</guid>
            <dc:creator><![CDATA[Jung-En Wu]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 08:17:09 GMT</pubDate>
            <atom:updated>2024-03-30T08:17:09.759Z</atom:updated>
            <content:encoded><![CDATA[<p>虛擬網絡<br><strong>Core Concepts 網絡虛擬化、隧道和專用網絡</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*GjFSYcZXyzeYkSXE19L6AA.png" /></figure><p>網絡虛擬化側重於創建覆蓋的網絡解決方案，以便邏輯隔離物理上共享相同網絡資源集或子集的多個網絡。</p><p>Network Virtualization focuses on creating overlaid networking solutions <br>to logically isolate multiple networks that are physically sharing the same <br>set or subset of networking resources.</p><p><strong>為什麽要將網絡虛擬化？Why Virtualizing Networks?</strong></p><p>資源管理和優化Resource management and optimization<br>多個執行環境Multiple execution environments<br>調試Debugging<br>移動性Mobility<br>設備（例如，安全性）Appliance (e.g., security)<br>測試/質量保證Testing/Quality assurance</p><p><strong>網絡虛擬化、隧道和專用網絡Virtualization, Tunneling, and Private Networks</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*meSVPgm2fHUc5lEbpr5dNQ.png" /></figure><p>基本上，隧道技術和專用網絡是虛擬化實現的“產品”。</p><p>Basically, tunneling approaches and private networks are “products” of<br>virtualization implementations.</p><p><strong>物理/邏輯/虛擬網絡Physical/logical/virtual Networks</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*EqMcmq7xEsdi_1IlaLni6A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*I4WFqejVFICA3OAsial4Ew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*Sc86GMbKz7J9Exirrbz2uQ.png" /></figure><p><strong>隧道的概念The Concept of Tunneling</strong></p><p>隧道：將整個數據包放入另一個數據包並通過網絡發送該數據包的流<br>程</p><p>Tunneling: The process of placing an entire packet within <br>another packet and sending it over a network.</p><p>隧道需要三種不同的協議：<br>- 運載協議：用於傳輸最終封裝（IP、TCP/UDP）的網絡協議<br>- 封裝協議：封裝原始數據的協議（GRE、IPSec、L2F、PPTP、L2TP）<br>- 乘客協議：運載原始數據（IPX、NetBeui、IP）</p><p>Tunneling requires three different protocols: <br>- Carrier protocol: The network protocol used to transport the final <br>encapsulation (IP, TCP/UDP)<br>- Encapsulating protocol: The protocol (GRE, IPSec, L2F, PPTP, L2TP) that <br>is wrapped around the original data <br>- Passenger protocol: The original data (IPX, NetBeui, IP) being carried</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*1Xpgkc_BkYZZk33UMxfLiQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*UtnBFDH_jYL9XXQqQwlztg.png" /><figcaption>三種隧道類型Three Types of Tunnels</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*GRuujDCxkc20ZZMe8cI85w.png" /><figcaption>網關到網關示例Gateway-to-Gateway Example</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*7Oz9gwEzcwxOyMn8d6ndlQ.png" /><figcaption>虛擬專用網絡 (VPN) Virtual Private Networks (VPNs)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*-Sr09P9jhwoIuWgf-5eekg.png" /><figcaption>網絡虛擬化分層方法Network Virtualization: Layered Approach</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80e9e9590172" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>