<?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 JBlog on Medium]]></title>
        <description><![CDATA[Stories by JBlog on Medium]]></description>
        <link>https://medium.com/@jblog?source=rss-aeb915713610------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9CwVxeWMe3fE6gNSTsyJag.png</url>
            <title>Stories by JBlog on Medium</title>
            <link>https://medium.com/@jblog?source=rss-aeb915713610------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 11:22:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jblog/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[CCNA的學習歷程 — DAY9]]></title>
            <link>https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day9-139808f83f23?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/139808f83f23</guid>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Wed, 16 Sep 2020 07:46:54 GMT</pubDate>
            <atom:updated>2020-09-16T07:46:54.125Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA的學習歷程 — DAY9</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*EV8vKS0DpKuslJ8X" /></figure><p><strong>千里之行，始於足下，要學好網路，就得打好基礎！</strong></p><blockquote><em>前言 : 筆者本身工作為網路工程師，白紙一張，從來沒上過任何網路課程，憑藉著題庫及工作經驗，雖然在CCNA改版前僥倖pass (passing score 810 / my score 859)，但有感於自身基礎打得不夠穩，故決定掏錢去巨匠，將網路從頭學起。</em></blockquote><p>該課程總計22堂，筆者會以 DAY X 做課後回顧，以紀錄重點方式呈現</p><p>將內容分為</p><ol><li>理論：介紹當天課程老師講解的網路理論</li><li>實作：介紹當天課程老師出的題目</li><li>指令：以灰底字表示</li><li>心得：若當堂課有特別需額外紀錄之處，會紀錄於此</li></ol><p>有時可能以流水帳帶過，敬請見諒。 😆</p><p><strong>DAY9 第9堂課</strong></p><h3>理論</h3><ol><li>ospf</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WtzR2JGMvD1Azu23EDevzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PzQp6skbV6sfQ9-TRtnUgA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_UnxCuiOH97RhOHWOdtx1A.png" /></figure><h3>實作</h3><p>packet tracer</p><p><strong>Static route</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JmyH72DIP98Xa1W7Y8-mrQ.png" /></figure><pre>R0<br>ip route 172.16.4.0 255.255.254.0 10.10.10.18 <br>ip route 172.16.6.0 255.255.254.0 10.10.10.18 <br>ip route 192.168.200.0 255.255.255.0 10.20.20.10 <br>R1<br>ip route 192.168.100.0 255.255.255.192 10.10.10.17 <br>ip route 192.168.100.64 255.255.255.192 10.10.10.17 <br>ip route 192.168.100.128 255.255.255.192 10.10.10.17 <br>ip route 192.168.100.192 255.255.255.192 10.10.10.17 <br>ip route 10.20.20.8 255.255.255.252 10.10.10.17 <br>ip route 192.168.200.0 255.255.255.0 10.10.10.17 <br>R2<br>ip route 192.168.100.0 255.255.255.192 10.20.20.9 <br>ip route 192.168.100.64 255.255.255.192 10.20.20.9 <br>ip route 192.168.100.128 255.255.255.192 10.20.20.9 <br>ip route 192.168.100.192 255.255.255.192 10.20.20.9 <br>ip route 10.10.10.16 255.255.255.252 10.20.20.9 <br>ip route 172.16.4.0 255.255.254.0 10.20.20.9 <br>ip route 172.16.6.0 255.255.254.0 10.20.20.9</pre><p>以 show ip route 檢查各個router</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*v7HoV6Fp7YWHFw70Ec0IMQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*igP7gvZc92ScU1EFjmLJxg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*IHpKrnAB7Ta8RsQVl1DMag.png" /></figure><p>確認路由都有建立成功後，以PC6去ping其他台PC測試。</p><p><strong>OSPF</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JmyH72DIP98Xa1W7Y8-mrQ.png" /></figure><pre>R0<br>router ospf 100<br> log-adjacency-changes<br> network 10.10.10.17 0.0.0.0 area 0<br> network 10.20.20.9 0.0.0.0 area 0<br> network 192.168.100.0 0.0.0.255 area 0<br>R1<br>router ospf 100<br> log-adjacency-changes<br> network 172.16.5.254 0.0.0.0 area 0<br> network 172.16.7.254 0.0.0.0 area 0<br> network 10.10.10.18 0.0.0.0 area 0<br>R2<br>router ospf 100<br> log-adjacency-changes<br> network 192.168.200.254 0.0.0.0 area 0<br> network 10.20.20.10 0.0.0.0 area 0</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*ANJtOpS0N_Imu2ZiS2sm8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*NBSYpmgza68W8yFK2E7Wgw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*0eqAOa-zp537ZzH_KFL6AQ.png" /></figure><p>建立好後，等待一段時間讓router們去交換路由資訊，再以 show ip route 可看到前面有 “O” 的ospf route已經建立起來了。</p><p>再以PC6去ping其他台PC測試。</p><h3>指令</h3><ol><li>router#show ip ospf neighbor<br>router#show ip ospf database<br>router#show ip route ospf (只看ospf route)</li><li>ospf<br>router(config)#router ospf 100<br>router(config-router)#network X.X.X.X 0.0.0.0 area 0</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sx9tnGVfitCcrYZ7P3kGTQ.png" /></figure><p>3. ospf router id</p><p>loopback 是一個虛擬介面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDmL8zZgvhdTj9oKHNCjjg.png" /></figure><h3>心得</h3><p>本堂課講ospf路由協定，比起static route的設定，更為簡單且快速，且在多路由器的環境中，多使用此國際通用協定。</p><p>下一堂課將會從 Vlan/Trunk 開始講起，未完待續…</p><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=139808f83f23" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day9-139808f83f23">CCNA的學習歷程 — DAY9</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CCNA的學習歷程 — DAY8]]></title>
            <link>https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day8-50b332e2c08b?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/50b332e2c08b</guid>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Wed, 16 Sep 2020 06:14:05 GMT</pubDate>
            <atom:updated>2020-09-16T06:14:05.378Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA的學習歷程 — DAY8</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*EV8vKS0DpKuslJ8X" /></figure><p><strong>千里之行，始於足下，要學好網路，就得打好基礎！</strong></p><blockquote><em>前言 : 筆者本身工作為網路工程師，白紙一張，從來沒上過任何網路課程，憑藉著題庫及工作經驗，雖然在CCNA改版前僥倖pass (passing score 810 / my score 859)，但有感於自身基礎打得不夠穩，故決定掏錢去巨匠，將網路從頭學起。</em></blockquote><p>該課程總計22堂，筆者會以 DAY X 做課後回顧，以紀錄重點方式呈現</p><p>將內容分為</p><ol><li>理論：介紹當天課程老師講解的網路理論</li><li>實作：介紹當天課程老師出的題目</li><li>指令：以灰底字表示</li><li>心得：若當堂課有特別需額外紀錄之處，會紀錄於此</li></ol><p>有時可能以流水帳帶過，敬請見諒。 😆</p><p><strong>DAY8 第8堂課</strong></p><h3>理論</h3><ol><li>動態路由<br>IGP : RIP / OSPF / EIGRP<br>EGP : BGP</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jPCW1AxxyNlqgA3mg1LrNA.png" /></figure><h3>實作</h3><p>教室Lab機 IPV6 routeing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fx1w0eDwQcp62Mha7R9XVw.png" /></figure><h3>指令</h3><p>見圖示</p><h3>心得</h3><ol><li>本堂課動態路由僅提到理論，實作部分會在下堂課開始。</li><li>現今以國際通用協定 ospf 為主流，因RIP太舊，EIGRP只限定cisco。</li><li>動態路由：<br>在路由器中建立自己已有的介面ip位址table表，會將此表傳給其他路由器知道，互相紀錄著。<br>靜態路由：<br>在路由器中建立table表，告知要去的網段及該從哪個介面進去。<br>所以環境中router數量若多，用動態路由會比靜態路由方便很多。</li></ol><p>下一堂課將會從 OSPF 開始講起，未完待續…</p><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50b332e2c08b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day8-50b332e2c08b">CCNA的學習歷程 — DAY8</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CCNA的學習歷程 — DAY7]]></title>
            <link>https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day7-8f26bd9420df?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f26bd9420df</guid>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Tue, 15 Sep 2020 01:15:50 GMT</pubDate>
            <atom:updated>2020-09-16T06:38:49.269Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA的學習歷程 — DAY7</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*EV8vKS0DpKuslJ8X" /></figure><p><strong>千里之行，始於足下，要學好網路，就得打好基礎！</strong></p><blockquote><em>前言 : 筆者本身工作為網路工程師，白紙一張，從來沒上過任何網路課程，憑藉著題庫及工作經驗，雖然在CCNA改版前僥倖pass (passing score 810 / my score 859)，但有感於自身基礎打得不夠穩，故決定掏錢去巨匠，將網路從頭學起。</em></blockquote><p>該課程總計22堂，筆者會以 DAY X 做課後回顧，以紀錄重點方式呈現</p><p>將內容分為</p><ol><li>理論：介紹當天課程老師講解的網路理論</li><li>實作：介紹當天課程老師出的題目</li><li>指令：以灰底字表示</li><li>心得：若當堂課有特別需額外紀錄之處，會紀錄於此</li></ol><p>有時可能以流水帳帶過，敬請見諒。 😆</p><p><strong>DAY7 第7堂課</strong></p><h3>理論</h3><ol><li>IPV6介紹</li></ol><h3>實作</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8KcjLSabMoPX_n054Sd1hA.png" /></figure><h3>指令</h3><ol><li>ipv4<br>#ip route 0.0.0.0 0.0.0.0 100.140.1.1<br>ipv6<br>#ipv6 route ::/0 2019:1:1:1:1</li><li>可在router做ipv6路由<br>(config)#ipv6 unicast-routing</li></ol><h3>心得</h3><p>本堂課介紹ipv6並以packet tracer做一個簡單的ipv6 lab</p><p>下一堂課將會從 動態路由 開始講起，未完待續…</p><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f26bd9420df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day7-8f26bd9420df">CCNA的學習歷程 — DAY7</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[F5 retag vlan with cisco switch(EVE Lab)]]></title>
            <link>https://medium.com/jblog/f5-retag-vlan-with-cisco-switch-eve-lab-9b2506d31ff4?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b2506d31ff4</guid>
            <category><![CDATA[f5]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Wed, 09 Sep 2020 02:34:14 GMT</pubDate>
            <atom:updated>2020-09-09T02:39:41.884Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/434/0*lEed_YCo0OzN25B-.png" /></figure><h3>文章大綱</h3><ol><li>需求說明</li><li>架構圖</li><li>Cisco Switch設定</li><li>F5設定</li><li>PC設定</li><li>測試</li><li>參考資料</li></ol><h3>需求說明</h3><p>F5(transparent mode) retag vlan(內腳vlan801轉vlan601)</p><h3>架構圖</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yBBQG6kiuryFufPpNflJOw.png" /></figure><h3>Cisco Switch設定</h3><p>SW_1</p><pre><strong>設定interface 0/1–2</strong><br>SW_1(config)#interface range ethernet 0/1–2<br>SW_1(config-if-range)#shutdown #設定interface前，務必都先關閉介面<br>SW_1(config-if-range)#switchport trunk encapsulation dot1q<br>SW_1(config-if-range)#switchport mode trunk<br>SW_1(config-if-range)#switchport trunk allowed vlan 601<br>SW_1(config-if-range)#channel-group 1 mode on</pre><pre><strong>設定interface 0/0</strong><br>SW_1(config)#interface ethernet 0/0<br>SW_1(config-if)#switchport mode access<br>SW_1(config-if)#switchport access vlan 601</pre><pre><strong>設定port-channel</strong><br>SW_1(config)#interface port-channel 1<br>SW_1(config-if)#switchport trunk encapsulation dot1q<br>SW_1(config-if)#switchport mode trunk<br>SW_1(config-if)#switchport trunk allowed vlan 601</pre><pre><strong>設定default gw</strong><br>SW_1(config)#ip default-gateway 10.168.10.254</pre><pre><strong>no掉spanning tree</strong><br>SW_1(config)#no spanning-tree vlan 601</pre><pre><strong>no掉cdp</strong><br>SW_1(config)#no cdp advertise-v2</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*qZuu8zDUvbR9lUgaWar8KQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*sPisPnRtmMbbRx7FXp0B-A.png" /></figure><p>SW_2</p><pre><strong>設定interface 0/1–2</strong><br>SW_2(config)#interface range ethernet 0/1–2<br>SW_2(config-if-range)#shutdown #設定interface前，務必都先關閉介面<br>SW_2(config-if-range)#switchport trunk encapsulation dot1q<br>SW_2(config-if-range)#switchport mode trunk<br>SW_2(config-if-range)#switchport trunk allowed vlan 801<br>SW_2(config-if-range)#channel-group 1 mode on</pre><pre><strong>設定interface 0/0</strong><br>SW_2(config)#interface ethernet 0/0<br>SW_2(config-if)#switchport mode access<br>SW_2(config-if)#switchport access vlan 801</pre><pre><strong>設定port-channel</strong><br>SW_2(config)#interface port-channel 1<br>SW_2(config-if)#switchport trunk encapsulation dot1q<br>SW_2(config-if)#switchport mode trunk<br>SW_2(config-if)#switchport trunk allowed vlan 801</pre><pre><strong>設定default gw</strong>SW_2(config)#ip default-gateway 10.168.10.254</pre><pre><strong>no掉spanning tree</strong><br>SW_2(config)#no spanning-tree vlan 801</pre><pre><strong>no掉cdp</strong><br>SW_2(config)#no cdp advertise-v2</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*JuUlOoYNX88Rq8NbsQWkPw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*IA1qLN3NFQGNoZYcq1lE8w.png" /></figure><p>都設定完，再將 SW_1 &amp; SW_2 的 interface 0/1 — 2 no shutdown</p><p><strong>檢查是否有設定成功</strong></p><p>SW_1 &amp; SW_2都要檢查</p><pre>SW_1#show interfaces etherchannel</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qSX2L3sqTeAgOP4TiheBDA.png" /></figure><pre>SW_1#show etherchannel port-channel</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*07cqcoPsXbe38hb3LboqxQ.png" /></figure><pre>SW_1#show ip interface brief</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3A1v_x-QpfyywHwV4FsVIA.png" /></figure><pre>SW_1#show interfaces trunk</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D66KwkdwR7Mk9mVdcrE3fQ.png" /></figure><pre>SW_1#show interfaces</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nZg6SO0Dx3TGHhIDxfxSew.png" /></figure><h3>F5設定</h3><p>新建內外腳的trunk list</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fG5yznTKGelYVpmzW6gkSA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UMKvy9yTJficeuLogq3GjA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*8qhbC7SGWdBpe1dkQhuAXw.png" /></figure><p>新建內外腳的vlan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3fqDm3-LliaPbMqbhEBWlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*WFOy4zrtcDSFixnKUIpmwg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*97s0jLuC_F20NHYjrbtSxg.png" /></figure><p>新建vlan group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*qIlMXsrlT9UPUlm9xYsjLg.png" /></figure><p>新建External self ip</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*pCNLsfGV0j02e5Q65H_cIA.png" /></figure><h3>PC設定</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*F-PBGTnFJvqZ3V2Uc4TkNw.png" /></figure><h3>測試</h3><p>ping F5 self ip &amp; 外網的default gw</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A9pnhnh8VuiivSRgYurEZQ.png" /></figure><h3>參考資料</h3><ol><li><a href="https://www.jannet.hk/zh-Hant/post/virtual-lan-vlan/#trunk">https://www.jannet.hk/zh-Hant/post/virtual-lan-vlan/#trunk</a></li><li><a href="https://www.jannet.hk/zh-Hant/post/etherchannel-pagp-lacp/#static">https://www.jannet.hk/zh-Hant/post/etherchannel-pagp-lacp/#static</a></li><li><a href="http://biangbiangmichael.blogspot.com/2012/02/cisco-port-channel.html">http://biangbiangmichael.blogspot.com/2012/02/cisco-port-channel.html</a></li></ol><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b2506d31ff4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/f5-retag-vlan-with-cisco-switch-eve-lab-9b2506d31ff4">F5 retag vlan with cisco switch(EVE Lab)</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CCNA的學習歷程 — DAY6]]></title>
            <link>https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day6-fb065db247ba?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb065db247ba</guid>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 02:36:56 GMT</pubDate>
            <atom:updated>2020-09-07T02:36:56.699Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA的學習歷程 — DAY6</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*EV8vKS0DpKuslJ8X" /></figure><p><strong>千里之行，始於足下，要學好網路，就得打好基礎！</strong></p><blockquote><em>前言 : 筆者本身工作為網路工程師，白紙一張，從來沒上過任何網路課程，憑藉著題庫及工作經驗，雖然在CCNA改版前僥倖pass (passing score 810 / my score 859)，但有感於自身基礎打得不夠穩，故決定掏錢去巨匠，將網路從頭學起。</em></blockquote><p>該課程總計22堂，筆者會以 DAY X 做課後回顧，以紀錄重點方式呈現</p><p>將內容分為</p><ol><li>理論：介紹當天課程老師講解的網路理論</li><li>實作：介紹當天課程老師出的題目</li><li>指令：以灰底字表示</li><li>心得：若當堂課有特別需額外紀錄之處，會紀錄於此</li></ol><p>有時可能以流水帳帶過，敬請見諒。 😆</p><p><strong>DAY6 第六堂課</strong></p><h3>理論</h3><ol><li>Router如何設定<br>-進入介面、設定ip、開啟(no shutdown)介面</li><li>如何看介面間的狀態<br> show ip interface brief #查看line status</li><li>Cisco設備獨有的“ＣＤＰ”協定：可探索直連的鄰居<br>Hello time : 60sec (60秒發一次封包)<br>Hold time : 180sec (超過180秒，移出表格)<br>show cdp neighbors details #可看到對方ip<br>PS. 可利用此指令，畫出網路拓墣圖</li><li>承上，其他設備使用“LLDP”協定<br>-必須在設備內啟用<br>-只支援實體介面<br>-one device per port<br>-Linux server也可被探索</li><li>封包傳遞流程<br>L2 : 學來源端，查目的端<br>L3 : 只看目的端</li><li>如何看路由<br>(Router)#show ip route #看路由資訊表<br>(Switch)#show mac address-table #看mac表</li><li>用”ARP”探索其它設備mac address<br>1. client丟ARP request(broadcast) → switch → device<br>2. device回ARP request(Unicast)→ switch → client<br>3. client記入ARP cache<br>arp -a<br>show ip arp<br>show arp</li><li>如何基本的故障排除<br>1. ping ip #檢查能否ping通<br>2. traceroute ip #看斷在哪<br>3. telnet<br>PS. 謹記”Follow the pass”的觀念，按照路線一段段trobleshooting</li><li>Static route<br>-適合不容易更動的小型網路<br>-臨時性路由<br>-單一方向性<br>-手動輸入、手動更新<br> Router(config)#ip route 192.168.10.0 255.255.255.0 192.168.10.1<br> Router(config)#ip route 遠端網段 遠端網段遮罩 下一家的Address<br> Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.10.1 #網段及遮罩為固定形式，此為連Internet用</li><li>Dynamic route<br>-適合大公司或是持續擴增中的環境<br>-動態學習路由<br>-路由器會發現新網路，並自動更新拓墣且彼此分享路由表資訊</li></ol><h3>實作</h3><p>packet tracer Lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*dOBzfNr0SikkbZlboNMRqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*oaV59EkBfyVIk-_OZ7UIkQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*3p1VTb-E6ooWMcuxyp2afw.png" /></figure><p>實體設備Lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pzwPRZBJMV3l5xnA9GHrQ.png" /></figure><h3>指令</h3><p>同實體設備Lab中提到的指令</p><h3>心得</h3><p>本堂課上的是網路世界非常重要的路由觀念，目前講到靜態路由的部分，指令也逐漸加深，從上一課的DHCP到這一課ip route。</p><p>務必重複練習，熟悉指令，以免未來的課程跟不上腳步。</p><p>下一堂課將會從 IPV6 開始講起，未完待續…</p><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb065db247ba" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day6-fb065db247ba">CCNA的學習歷程 — DAY6</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CCNA的學習歷程 — DAY5]]></title>
            <link>https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day5-dc553205c8a9?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc553205c8a9</guid>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 02:36:37 GMT</pubDate>
            <atom:updated>2020-09-07T02:36:37.974Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA的學習歷程 — DAY5</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*EV8vKS0DpKuslJ8X" /></figure><p><strong>千里之行，始於足下，要學好網路，就得打好基礎！</strong></p><blockquote><em>前言 : 筆者本身工作為網路工程師，白紙一張，從來沒上過任何網路課程，憑藉著題庫及工作經驗，雖然在CCNA改版前僥倖pass (passing score 810 / my score 859)，但有感於自身基礎打得不夠穩，故決定掏錢去巨匠，將網路從頭學起。</em></blockquote><p>該課程總計22堂，筆者會以 DAY X 做課後回顧，以紀錄重點方式呈現</p><p>將內容分為</p><ol><li>理論：介紹當天課程老師講解的網路理論</li><li>實作：介紹當天課程老師出的題目</li><li>指令：以灰底字表示</li><li>心得：若當堂課有特別需額外紀錄之處，會紀錄於此</li></ol><p>有時可能以流水帳帶過，敬請見諒。 😆</p><p><strong>DAY5 第五堂課</strong></p><h3>理論</h3><ol><li>Router<br>-設定ip dhcp<br>-查看ip route(show ip route)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7yHiaXDfi-8O7P6fqKJ9w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ew9tOlYt37IHKVPVylG7_w.png" /></figure><p>2. TCP三向交握</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*kuFMSl_J13RquQsGW-GTFA.png" /></figure><p>完成三向交握，才會開始傳session</p><h3>實作</h3><p>Packet tracer Lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*Za8HbHK_rDgwkCv797d_pw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*A0G1tCJzohc4VLMOIqW5gw.png" /><figcaption>ip dhcp 禁止發送的ip for 1F~4F</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*Cjq1DNyPRentFSu2fbIFWA.png" /><figcaption>ip dhcp pool for 1~4F</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*2JLSlPVIXQK5DQgw1AFLhg.png" /><figcaption>Router 上四個interface的設定</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*VauY7gBg1fow8W-AimgblA.png" /><figcaption>到PC3選擇DHCP，等待數秒後，會重新抓到IP</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*gNX7hq4O8FSehh_QUHvIrg.png" /><figcaption>DNS server新增一個供測試的網頁</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*OLOGlnUJObWXIoKP535CVA.png" /><figcaption>開啟web瀏覽器，輸入DNS的URL，可成功get裡頭的web page</figcaption></figure><h3>指令</h3><ol><li>Router<br>-四個介面ip<br>-ip dhcp pool &amp; 不想要發送的ip</li><li>Switch<br>-vlan1的ip<br>-default GW</li><li>PC<br>-預設為static ip改為dhcp ip，讓他自動抓Router派發的ip</li></ol><h3>心得</h3><p>本堂課介紹如何設定dhcp pool，其他部分設定承襲上一堂課所教，並無太大差異。</p><p>下一堂課將會從 ip route 開始講起，未完待續…</p><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc553205c8a9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day5-dc553205c8a9">CCNA的學習歷程 — DAY5</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[F5 APM Parsing with ELK 6]]></title>
            <link>https://medium.com/jblog/f5-apm-parsing-with-elk-6-deac112ff1e0?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/deac112ff1e0</guid>
            <category><![CDATA[f5]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Thu, 03 Sep 2020 05:36:00 GMT</pubDate>
            <atom:updated>2020-09-03T05:44:32.700Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/434/0*SOhG5jztgo0bGzFJ.png" /></figure><h3>文章大綱</h3><ol><li>需求說明</li><li>架構圖</li><li>ELK設定及測試</li><li>參考資料</li></ol><p><strong>需求說明</strong></p><p>前次我們已經學習如何基本安裝及設定ELK6</p><p>本次我們將使用 F5 APM log 丟給 ELK 處理，變成方便觀看的格式。</p><p><strong>架構圖</strong></p><p>data.txt → demo.log → filebeat → logstash → elasticsearch → kibana</p><p><strong>ELK設定及測試</strong></p><p>查看filebeat.yml</p><pre><em>cd /etc/filebeat/<br>ls<br>vi filebeat.yml</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7jfx2aGLqIWTu7wnluzABA.png" /><figcaption>Filebeat inputs 原始設定</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sAa9b329gWX9cq2yiP_i-Q.png" /><figcaption>Filebeat inputs 修改為</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GgAb5L4c4MSHY0cqp4MuDw.png" /><figcaption>ES output &amp; Logstash output 原始設定</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PKj-9An4eIUZKgFsENroeA.png" /><figcaption>ES output &amp; Logstash output 修改為</figcaption></figure><p>修改完後，用 “ :wq! “ 存檔</p><p>查看logstash conf檔</p><pre><em>cd /etc/logstash/conf.d/<br>ls #可以發現目前還沒有任何conf檔<br>vi demo.conf #新增一個 demo.conf</em></pre><p>logstash conf檔內有三個主要設定，input / filter / output</p><pre>input {<br>  beats {<br>    port =&gt; 6010 #此處port number要與filebeat.yml內logstash output相同<br>    type =&gt;&quot;demo&quot;<br>  }<br>}</pre><pre>output {<br>  if [type] == &quot;demo&quot; {<br>    elasticsearch {<br>      hosts =&gt; [&quot;localhost:9200&quot;]<br>      index =&gt; &quot;demo-%{+YYYY.MM.dd}&quot;<br>    }<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*GF9PVRTgvV9T-tdweK_xmQ.png" /></figure><p>先不加入filter。做到此處，先以 ” :wq! “存檔退出</p><p>用 “ cd ~ “ 回到最上層，輸入</p><pre>vi data.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*4sOqu1mAL_rQNQXRSuNM4Q.png" /></figure><p>PS1. 因為此lab並無filebeat server主動一直送log，所以我們用創建一個data.txt檔輔以指令，讓資料可以固定時間持續往logstash送。</p><p>PS2. 將已事先準備好的 F5 APM log 貼入 data.txt 內，如下圖所示。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rKHngu5d6RZ9_460Oj34Qw.png" /></figure><p>做到此處，先以 ” :wq! “存檔退出</p><pre>cat data.txt #確認可正常print data</pre><pre>#手動送資料</pre><pre>cat data.txt &gt;&gt; /var/log/demo.log #將 data.txt 送至 demo.log，可重複輸入多次</pre><pre>cat /var/log/demo.log #依照前次輸入的次數，可用此指令看到被輸入了多少data</pre><pre>#自動化送資料(固定時間)</pre><pre>crontab -e</pre><p>crontab 中輸入該行指令，完成後以 “ :wq! “ 存檔</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*KV1J7Sb7BFZi0rHN2I-VaQ.png" /><figcaption>* * * * * 為每分鐘自動執行輸入data</figcaption></figure><pre>tail -f /var/log/demo.log #以此指令檢查是否有成功持續輸入</pre><p>可以看到每分鐘持續在輸入data</p><pre>tail -f /var/log/logstash/logstash-plain.log #logstash除錯</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A9zth0Kg4bvUOrPTxWh7HA.png" /><figcaption>成功示意圖</figcaption></figure><p>接下來去到 kibana web 介面<br>Management → ES → Index Management</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*8x-okZh6Fw9hXA0cyfx5nw.png" /></figure><p>可以看到有一份新的 demo log 進來</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KTwTROOgBpr2Kqd6UPrdBg.png" /></figure><p>再來去到 kibana → Index Patterns → Create Index Pattern 輸入名稱 → Next step</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TzHNUAZxubROQTNvRa3pzg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJrdJZg9EoMPYvZS65UthQ.png" /></figure><p>就能初步看到一些基本的欄位</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aVBsLnrExLtiXeIrWfFaMw.png" /></figure><p>回到左側bar條的 Disconver，可以看到demo log的資料</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bl_NzOjLaQUkmJd25FZTiA.png" /></figure><p>點開任意一條，可發現 F5 APM log 尚未被 filter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L33ld-FqT_8vzpmDJH6k_g.png" /></figure><p>回到 /etc/logstash/conf.d/demo.conf ，加入 filter，過濾F5 APM log。</p><p>PS. 此處已 grok 事先處理好，在此文章中不多加介紹。</p><pre>filter {<br>  if [type] == &quot;demo&quot; {<br>    grok { match =&gt; [ &quot;message&quot;, &quot;hostname=\&quot;%{DATA:hostname}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;errdefs_msgno=\&quot;% {DATA:errdefs_msgno}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;partition_name=\&quot;%{DATA:partition_name}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;session_id=\&quot;%{DATA:session_id}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Access_Profile=\&quot;%{DATA:Access_Profile}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Partition=\&quot;%{DATA:Partition}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Session_Id=\&quot;%{DATA:Session_Id}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Logon_Attempt_Number=\&quot;%{DATA:Logon_Attempt_Number}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;User_Name=\&quot;%{DATA:User_Name}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Auth_Status=\&quot;%{DATA:Auth_Status}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Executed_Agent=\&quot;%{DATA:Executed_Agent}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Return_Value=\&quot;%{DATA:Return_Value}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;result_str=\&quot;%{DATA:result_str}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;logstr=\&quot;%{DATA:logstr}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Session_Variable_Name=\&quot;%{DATA:Session_Variable_Name}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Session_Variable_Value=\&quot;%{DATA:Session_Variable_Value}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;result_str=\&quot;%{DATA:result_str}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Current_Node=\&quot;%{DATA:Current_Node}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;message&quot;, &quot;Next_Node=\&quot;%{DATA:Next_Node}\&quot;&quot; ] }<br>    grok { match =&gt; [ &quot;Session_Variable_Value&quot;, &quot;%{GREEDYDATA:header}; %{GREEDYDATA:msg}&quot; ] }<br>   }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-qwtKRfeywIpUztkiX6SZA.png" /></figure><p>完成後以 “ :wq! “ 存檔</p><pre>systemctl restart logstash #將logstash restart，新的設定才會啟用</pre><p>再次回到 kibana web → Discover 查看 log，會發現多出很多新欄位，但中間有三角形帶有！的符號</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xI6NbOITE5bkRUXjMKvYeQ.png" /></figure><p>讓我們去 Management → kibana → Index Patterns → 找到該筆conf，按下右上角的“重整”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pHNSkdTLBFJvPRwiiqWoSw.png" /></figure><p>可看到Fields從46變成86，回到Discover，三角形帶有！的符號也隨之消失</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6U1ZPrSbOJd--166QlwiQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7XkcMGKLpw-agATcfQsoIA.png" /></figure><p>過程中若有問題，可使用以下指令，查看錯誤出在哪</p><pre>tail -f /var/log/logstash/logstash-plain.log</pre><p>也別忘了每次修改完記得重啟設定</p><pre>systemctl restart kibana<br>systemctl restart logstash<br>systemctl restart elasticsearch</pre><p>若有port number重疊問題，可用此指令檢查</p><pre>netstat -tunlp</pre><p>以上即為將 F5 APM log 丟給 ELK 處理的設定流程。</p><p><strong>參考資料</strong></p><ol><li><a href="https://www.itread01.com/content/1548929169.html">https://www.itread01.com/content/1548929169.html</a></li></ol><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=deac112ff1e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/f5-apm-parsing-with-elk-6-deac112ff1e0">F5 APM Parsing with ELK 6</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ELK 6 安裝與設定]]></title>
            <link>https://medium.com/jblog/elk-6-%E5%AE%89%E8%A3%9D%E8%88%87%E8%A8%AD%E5%AE%9A-2402262b4e5f?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/2402262b4e5f</guid>
            <category><![CDATA[open-source-software]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Wed, 02 Sep 2020 07:20:34 GMT</pubDate>
            <atom:updated>2020-09-21T03:11:59.109Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XY5Ue4PEFWj27EpP" /></figure><p>文章大綱</p><ol><li>ELK簡介</li><li>本次目標及架構</li><li>ELK安裝</li><li>測試</li><li>參考資料</li></ol><h3><strong>ELK簡介</strong></h3><p>安裝EKL之前，需要先簡單瞭解ELK個別代表什麼，以及他們能做什麼。</p><p>Elasticsearch : 負責數據儲存、分析、索引<br>Logstash : 負責資料收集、過濾、儲存到 Elasticsearch<br>Kibana : 負責 Web 介面，讓 Elasticsearch 內容來圖表化</p><p>下圖可了解他們之間的對應關係<br>所以真正在實作中，會以log蒐集資料、es儲存分析、再由kibana呈現圖表。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/0*9OpoTNFodiyfyZ2f.png" /></figure><p>本次Lab會再多介紹一項小工具 “beats”</p><p>Beats : 輕量化 Logstash 的角色，佔用資源更少。<br>成員有 Filebeat / Metricbeat / Packetbeat / Winlogbeat / Heartbeat ，用於不同情境的資料抓取</p><p>下圖可了解他們之間的對應關係</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KVtyEuFuIM_ekqaZ.jpeg" /></figure><h3>本次目標及架構</h3><ol><li>ELK6安裝與設定</li><li>架構<br>host → Filebeat → Logstash → Elasticsearch → Kibana</li></ol><p>前置作業</p><p>安裝一台CentOS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AhFeBOuWBfwgpzcTjpRxTg.png" /></figure><p>修改網卡設定(設成自己的網段)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*nahQY1hS04rNOk0wbd9ENw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*YcxHJAIFCzUa-YWQivt-sg.png" /></figure><p>重新啟動網路</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0geZUEB_68mcAAFf1Cut9Q.png" /></figure><p>安裝ELK流程(斜體字為指令部分，可直接複製貼上)</p><p>此套件服務需要 Java 套件來執行服務，因此先安裝開源的 OpenJDK 套件。<br><em>yum -y install java-openjdk-devel java-openjdk</em></p><p><strong>Elasticsearch</strong><br>首先到 <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html">Elasticsearch 官方</a> 下載公共密鑰<br><em>rpm — import </em><a href="https://artifacts.elastic.co/GPG-KEY-elasticsearch"><em>https://artifacts.elastic.co/GPG-KEY-elasticsearch</em></a></p><p>新增 ELK 來源庫<br><strong>for Elasticsearch 7.x</strong><br><em>cat &lt;&lt;EOF | sudo tee /etc/yum.repos.d/elasticsearch.repo<br>[elasticsearch-7.x]<br>name=Elasticsearch repository for 7.x packages<br>baseurl=</em><a href="https://artifacts.elastic.co/packages/7.x/yum"><em>https://artifacts.elastic.co/packages/7.x/yum</em></a><em><br>gpgcheck=1<br>gpgkey=</em><a href="https://artifacts.elastic.co/GPG-KEY-elasticsearch"><em>https://artifacts.elastic.co/GPG-KEY-elasticsearch</em></a><em><br>enabled=1<br>autorefresh=1<br>type=rpm-md<br>EOF</em></p><p><strong>for Elasticsearch 6.x</strong><br><em>cat &lt;&lt;EOF | sudo tee /etc/yum.repos.d/elasticsearch.repo<br>[elasticsearch-6.x]<br>name=Elasticsearch repository for 6.x packages<br>baseurl=</em><a href="https://artifacts.elastic.co/packages/6.x/yum"><em>https://artifacts.elastic.co/packages/6.x/yum</em></a><em><br>gpgcheck=1<br>gpgkey=</em><a href="https://artifacts.elastic.co/GPG-KEY-elasticsearch"><em>https://artifacts.elastic.co/GPG-KEY-elasticsearch</em></a><em><br>enabled=1<br>autorefresh=1<br>type=rpm-md<br>EOF</em></p><p>加入來源庫之後導入 GPG 密鑰<br><em>rpm — import </em><a href="https://artifacts.elastic.co/GPG-KEY-elasticsearch"><em>https://artifacts.elastic.co/GPG-KEY-elasticsearch</em></a></p><p>更新 YUM 套件包索引<br><em>yum clean all<br>yum makecache</em></p><p>開始安裝 Elasticsearch 服務<br><em>yum -y install elasticsearch</em></p><p>設定 JVM 選項，（例如：記憶體限制）/etc/elasticsearch/jvm.options<br>預設的記憶體最小值及最大值<br>-Xms1g<br>-Xmx1g<br>如果記憶體不足可以修改成如下<br>-Xms256m<br>-Xmx512m</p><p>啟動服務<br><em>systemctl enable — now elasticsearch.service</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9pD8LJeKVAuEErvGtWDV8A.png" /></figure><p>測試是否有正常運行<br><em>curl </em><a href="http://127.0.0.1:9200/"><em>http://127.0.0.1:9200</em></a><em><br></em>PS. 若上方指令無回應，可改成<br><em>curl </em><a href="http://127.0.0.1:9200/"><em>http://localhost:9200</em></a></p><p>正常運行如下<br>{<br> “name” : “CentOS7-ELK”,<br> “cluster_name” : “elasticsearch”,<br> “cluster_uuid” : “04nHZJcnRQypvdnrLlGBOQ”,<br> “version” : {<br> “number” : “7.5.2”,<br> “build_flavor” : “default”,<br> “build_type” : “rpm”,<br> “build_hash” : “8bec50e1e0ad29dad5653712cf3bb580cd1afcdf”,<br> “build_date” : “2020–01–15T12:11:52.313576Z”,<br> “build_snapshot” : false,<br> “lucene_version” : “8.3.0”,<br> “minimum_wire_compatibility_version” : “6.8.0”,<br> “minimum_index_compatibility_version” : “6.0.0-beta1”<br> },<br> “tagline” : “You Know, for Search”<br>}</p><p>建立一個測試索引<br><em>curl -X PUT “</em><a href="http://127.0.0.1:9200/mytest_index"><em>http://127.0.0.1:9200/mytest_index</em></a><em>&quot;<br></em>PS. 若前一指令改為localhost，此處需建立為<br><em>curl -X PUT “</em><a href="http://127.0.0.1:9200/mytest_index"><em>http://localhost:9200/mytest_index</em></a><em>&quot;</em></p><p>執行結果如下<br>{“acknowledged”:true,”shards_acknowledged”:true,”index”:”mytest_index”}</p><p><strong>Kibana<br></strong>下指令安裝<br><em>yum -y install kibana</em></p><p>設定 kibana.yml 設定檔<br><em>vim /etc/kibana/kibana.yml</em></p><p>將下面這三個註解(#字號)刪掉<br>server.port: 5601<br>server.host: “localhost”<br>elasticsearch.hosts: [“<a href="http://localhost:9200/">http://localhost:9200</a>&quot;]</p><p>啟動服務<br><em>systemctl enable — now kibana</em></p><p><strong>Logstash<br></strong>下指令安裝<br><em>yum -y install logstash</em></p><p><strong>其它套件</strong></p><ul><li>Filebeat：用於日誌的輕量型採集器，通過提供一種轉發和匯總日誌與文件的輕量級方法，讓簡單的事情不再繁雜。</li><li>Metricbeat：用於從系統和服務收集指標。 Metricbeat 能夠以一種輕量型的方式，傳送各種系統和服務統計數據，從 CPU 到記憶體，從 Redis 到 Nginx ，不一而足。</li><li>Packetbeat：輕量型網路數據收集器，用於深挖網線上傳輸的數據，了解應用程序動態。 Packetbeat 是一款輕量型網路數據包分析器，能夠將數據發送至 Logstash 或 Elasticsearch 。</li><li>Heartbeat：用於正常運行時間監視的輕量型收集器，它通過主動控測幫助您監視服務的可用性。</li><li>Auditbeat：輕量型審計日誌收集器，可幫助您審核系統上用戶和進程的活動。</li></ul><p>套件安裝指令<br><em>yum install filebeat auditbeat metricbeat packetbeat heartbeat-elastic -y</em></p><p>修改elasticsearch.yml<br><em>vim /etc/elasticsearch/elasticsearch.yml</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qf8wbEdJTcdgbZbc6q--Sg.png" /></figure><p>修改kibana.yml<br><em>vim /etc/kibana/kibana.yml</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iVUxjCPMIYpLhxlg7rQz4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U1Xopt1ZuntR5vXXJZEhrA.png" /></figure><p>重啟ELK服務</p><p>systemctl restart kibana<br>systemctl restart logstash<br>systemctl restart elasticsearch</p><p>檢查服務是否開啟</p><p>systemctl status logstash<br>systemctl status elasticsearch<br>systemctl status kibana<br>systemctl status firewalld #在模擬環境下需關閉</p><h3>測試</h3><p>測試kibana &amp; es 網頁能否正常開啟</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BeokYG6YJBZJ94XYLd3lyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*RsmWgbP_PDlXYYSfpqpV8w.png" /></figure><h3>參考資料</h3><ol><li><a href="https://wiki.freedomstu.com/books/%E9%96%8B%E6%BA%90%E8%BB%9F%E9%AB%94%E5%AE%89%E8%A3%9D%E6%B5%81%E7%A8%8B/page/elk-centos-%E5%AE%89%E8%A3%9D%E6%95%99%E5%AD%B8">https://wiki.freedomstu.com/books/%E9%96%8B%E6%BA%90%E8%BB%9F%E9%AB%94%E5%AE%89%E8%A3%9D%E6%B5%81%E7%A8%8B/page/elk-centos-%E5%AE%89%E8%A3%9D%E6%95%99%E5%AD%B8</a></li><li><a href="https://ssorc.tw/8011/%E5%B8%82%E9%9D%A2%E4%B8%8A%E6%B5%81%E8%A1%8C%E7%9A%84-elk-%E5%B0%B1%E6%98%AF-elasticsearch-logstash-kibana-%E7%B4%A2%E5%BC%95-%E6%94%B6%E9%9B%86-%E5%9C%96%E8%A1%A8%E5%8C%96/">https://ssorc.tw/8011/%E5%B8%82%E9%9D%A2%E4%B8%8A%E6%B5%81%E8%A1%8C%E7%9A%84-elk-%E5%B0%B1%E6%98%AF-elasticsearch-logstash-kibana-%E7%B4%A2%E5%BC%95-%E6%94%B6%E9%9B%86-%E5%9C%96%E8%A1%A8%E5%8C%96/</a></li></ol><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2402262b4e5f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/elk-6-%E5%AE%89%E8%A3%9D%E8%88%87%E8%A8%AD%E5%AE%9A-2402262b4e5f">ELK 6 安裝與設定</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CCNA的學習歷程 — DAY4]]></title>
            <link>https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day4-e24375129577?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/e24375129577</guid>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Fri, 28 Aug 2020 04:34:27 GMT</pubDate>
            <atom:updated>2020-08-28T04:38:01.813Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA的學習歷程 — DAY4</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*UARMxQzlN09hl24N" /></figure><p><strong>千里之行，始於足下，要學好網路，就得打好基礎！</strong></p><blockquote><em>前言 : 筆者本身工作為網路工程師，白紙一張，從來沒上過任何網路課程，憑藉著題庫及工作經驗，雖然在CCNA改版前僥倖pass (passing score 810 / my score 859)，但有感於自身基礎打得不夠穩，故決定掏錢去巨匠，將網路從頭學起。</em></blockquote><p>該課程總計22堂，筆者會以 DAY X 做課後回顧，以紀錄重點方式呈現</p><p>將內容分為</p><ol><li>理論：介紹當天課程老師講解的網路理論</li><li>實作：介紹當天課程老師出的題目</li><li>指令：以灰底字表示</li><li>心得：若當堂課有特別需額外紀錄之處，會紀錄於此</li></ol><p>有時可能以流水帳帶過，敬請見諒。 😆</p><p><strong>DAY4 第四堂課</strong></p><h3>理論</h3><ol><li>LAN Connecting types<br>Unicast : 一對多<br>Broadcase : 一對所有<br>Mutlicast : 一對某群組<br>PS. 以上傳輸時，都只丟一個Frame</li><li>Frame Switching 如何交換<br>1. 當Frame進入Switch時，學SA(來源)到mac addr table中<br>2. Switch查DA(目的)有無在mac addr table中<br> → if “有”就Forward(傳給單一個port)<br> → if “沒有” 就Flooding(傳給所有port)</li><li>十進位/二進位 介紹<br>十進位 : 0~9 , A~F<br>二進位 : 1 and 2</li><li>二進位轉十進位<br>Q : 二進位 00001001，十進位為多少？<br>A : <br>要二轉十進位，就得講到一個神秘的數字串…<br>(2的0,1,2,3,4,5,6,7次方) ＝ 1,2,4,8,16,32,64,128</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMd7R5GnvhcWlRLYlbK9kg.png" /></figure><p>所以…十進位為1+8=9</p><ol><li>十進位轉二進位<br>Q : 十進位73，二進位為多少？<br>A : 用“整數轉換”算法，如下示意圖</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*dkdv_CAFFo0_oDKS6DGT9g.png" /></figure><p>73/2 = 36 餘 1<br>36/2 = 18 餘 0<br>18/2 = 9 餘 0<br>9/2 = 4 餘 1<br>4/2 = 2 餘 0<br>2/2 = 1 餘 0</p><p>橘色部分要”由下往上“算回為 1001001<br>但不足8bits，前面要補0，所以答案為 01001001</p><h3>實作</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQZRTZg8wamQ&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQZRTZg8wamQ&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/68e38259daee2b5702fcacbc05d745eb/href">https://medium.com/media/68e38259daee2b5702fcacbc05d745eb/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2QgFobxAViY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2QgFobxAViY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2QgFobxAViY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cd73fd9ec1c51cf19fb45ef4ec2731ec/href">https://medium.com/media/cd73fd9ec1c51cf19fb45ef4ec2731ec/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVVkyOm7ClDg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVVkyOm7ClDg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVVkyOm7ClDg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/16d6a2b258b20924f732c8821bfbd988/href">https://medium.com/media/16d6a2b258b20924f732c8821bfbd988/href</a></iframe><p>Q : 192.168.100.0/26 分割成四個子網段</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z05ENkEtQNtxrXz0nrTN_g.png" /><figcaption>Router設定四個port的ip/mask</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DmwRqpw6O0LxnhpObxLx3w.png" /><figcaption>1FL_SW設定Vlan 1介面ip(該子網段的最後一位數減5) &amp; Default GW</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zWvDB1H7hmgu-Bf1rA1sEQ.png" /><figcaption>2FL_SW設定Vlan 1介面ip(該子網段的最後一位數減5) &amp; Default GW</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y-mjMQMUeqsdU6rrwUfteQ.png" /><figcaption>3FL_SW設定Vlan 1介面ip(該子網段的最後一位數減5) &amp; Default GW</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pVXRBj5W7LK-hwyrJR0L6w.png" /><figcaption>4FL_SW設定Vlan 1介面ip(該子網段的最後一位數減5) &amp; Default GW</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-yWcX5A2Ngp_AaqhIKlVQ.png" /><figcaption>PC0設定ip/mask/default gw</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*skehC8IhF1ft7CtcAp0pIg.png" /><figcaption>PC1設定ip/mask/default gw</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y8alGp9rwoHCWN2ki5xXUw.png" /><figcaption>PC2設定ip/mask/default gw</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L9TTJwJJP6WNIezdD3XtxA.png" /><figcaption>PC3設定ip/mask/default gw</figcaption></figure><h3>指令</h3><p>此堂課lab用到的指令為前幾堂課的延伸，大致上為數字不同，在此便不贅述</p><h3>心得</h3><p>此堂課的重點在於二轉十、十轉二進位的計算，需額外多練習。</p><p>指令的輸入若在前幾堂課有學好，在此堂課便無太大困難之處。</p><p>下一堂課將會從 此堂課延伸的進階設定 開始講起，未完待續…</p><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e24375129577" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/ccna%E7%9A%84%E5%AD%B8%E7%BF%92%E6%AD%B7%E7%A8%8B-day4-e24375129577">CCNA的學習歷程 — DAY4</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[F5 VE Demo — different Vlan with Vswitch / 以ESXI環境模擬F5 VE 帶不同Vlan tag]]></title>
            <link>https://medium.com/jblog/f5-ve-demo-different-vlan-with-vswitch-%E4%BB%A5esxi%E7%92%B0%E5%A2%83%E6%A8%A1%E6%93%ACf5-ve-%E5%B8%B6%E4%B8%8D%E5%90%8Cvlan-tag-a0365b0e98b5?source=rss-aeb915713610------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0365b0e98b5</guid>
            <category><![CDATA[f5]]></category>
            <dc:creator><![CDATA[JBlog]]></dc:creator>
            <pubDate>Wed, 26 Aug 2020 08:12:29 GMT</pubDate>
            <atom:updated>2020-09-02T08:17:23.512Z</atom:updated>
            <content:encoded><![CDATA[<h3>F5 VE Demo — different Vlan with Vswitch / 以ESXI環境模擬F5 VE 帶不同Vlan tag</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/0*GBhYEaTgGTO8U9Cm.png" /></figure><h3>文章大綱</h3><ol><li>需求說明</li><li>架構圖</li><li>環境設定<br>ESXI設定<br>F5設定</li><li>測試</li><li>結語</li><li>參考資料</li></ol><p><strong>需求說明</strong></p><p>用ESXI環境模擬，以 F5 Virtual Edition 內外腳帶不同Vlan tag，內外Client端可以相互ping通</p><p><strong>架構圖</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*1akWuJqsn0GzNdwDK5DkWw.png" /></figure><p><strong>環境設定</strong><br>ESXI設定<br>1. 首先要設定ESXI的網路部分，設定好後，再分派給Ubuntu、F5、Win Srv</p><p>需要 “4” 個連接埠、“2” 個虛擬交換器，參考以下圖示</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EQgCCrzts_tq4PfliqL6aw.png" /><figcaption>連接埠群組</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sq6g0M47SUwgiXj0uQpZtg.png" /><figcaption>連接埠群組內皆設定“從Vswitch繼承“</figcaption></figure><p>其他連接埠群組設定皆相同</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-mNU3JB8bOYJ_lsn-hAuRA.png" /><figcaption>虛擬交換器</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UfDVc3BTVUok08x55SueDw.png" /><figcaption>概觀</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2yIFcCyzzg_VDv6FYfBvOA.png" /><figcaption>細部設定</figcaption></figure><p>其他虛擬交換器設定皆相同</p><p>2. 虛機<br>Ubuntu<br>IP : 192.168.20.1/24</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sg5PUpXigiD6Ig-XNgMELw.png" /></figure><p>F5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fbKKFFNYjaDov-kSqGoJ7w.png" /></figure><p>Win Server<br>IP : 192.168.20.2/24</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fcid3j_vLmAGQzQ8L8CPNA.png" /></figure><p>F5設定<br>1. Vlan &amp; Vlan Group<br>vlan_Ext tag vlan 801<br>vlan_Ext tag vlan 601</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dtnWQE_xcsbQ-fXcUOnyJw.png" /><figcaption>Vlan</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tm0JtYZPFQsXzvxhNKzDSA.png" /><figcaption>Vlan Group</figcaption></figure><p>2. Self IP<br>sip_Ext : 192.168.20.3/24</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wl1MZHYCZ7rEgB9tIW2g7w.png" /></figure><p><strong>測試</strong></p><ol><li>從F5對上下ping ip</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VzbJKC6TRi0gfMs5dupPfg.png" /></figure><p>2. 從Win Server ping Ubuntu</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*UELuypxlqlIoyhy-AkKkww.png" /></figure><p><strong>結語</strong></p><ol><li>F5 對接的Vswitch vlan識別碼切記要設定為 ”4095&quot;，代表 “全部“，以將帶標籤的幀傳遞給F5。這樣，F5會刪除標籤並將流量轉發到相關的VLAN，這也稱為VGT（虛擬訪客標籤）</li></ol><p><strong>參考資料</strong></p><ol><li><a href="https://netport.org/how-to-pass-802-1q-tagged-frames-from-vmware-switch-to-big-ip-ve-f5/">https://netport.org/how-to-pass-802-1q-tagged-frames-from-vmware-switch-to-big-ip-ve-f5/</a></li></ol><p><strong>文章皆為個人學習歷程之紀錄，歡迎有志者一起學習與討論！</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0365b0e98b5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jblog/f5-ve-demo-different-vlan-with-vswitch-%E4%BB%A5esxi%E7%92%B0%E5%A2%83%E6%A8%A1%E6%93%ACf5-ve-%E5%B8%B6%E4%B8%8D%E5%90%8Cvlan-tag-a0365b0e98b5">F5 VE Demo — different Vlan with Vswitch / 以ESXI環境模擬F5 VE 帶不同Vlan tag</a> was originally published in <a href="https://medium.com/jblog">jblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>