<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ethernet on Ilham Maulana</title><link>https://ilh.my.id/tags/ethernet/</link><description>Recent content in Ethernet on Ilham Maulana</description><generator>Hugo -- gohugo.io</generator><language>id-ID</language><managingEditor>slav.ilham@gmail.com</managingEditor><webMaster>slav.ilham@gmail.com</webMaster><copyright>Copyright © 2019</copyright><lastBuildDate>Mon, 03 Aug 2020 18:27:05 +0700</lastBuildDate><atom:link href="https://ilh.my.id/tags/ethernet/index.xml" rel="self" type="application/rss+xml"/><item><title>Apa Itu Ethertype</title><link>https://ilh.my.id/post/apa-itu-ethertype/</link><pubDate>Mon, 03 Aug 2020 18:27:05 +0700</pubDate><author>slav.ilham@gmail.com</author><guid>https://ilh.my.id/post/apa-itu-ethertype/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;How can you be an expert of routing, if you don&amp;rsquo;t know the detail of switching.&amp;rdquo;, quotes by me.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Itulah kutipan yang saya pikirkan sendiri belakangan ini dan saya tuliskan di artikel ini. #apasih&lt;/p&gt;
&lt;p&gt;Ok. Let&amp;rsquo;s dive in.&lt;/p&gt;
&lt;p&gt;Jika merujuk ke &lt;a href="https://en.wikipedia.org/wiki/EtherType" title="Ethertype" target="_blank" rel="noreferrer noopener"&gt;Wikipedia&lt;/a&gt;, berikut adalah penjelasannya:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;EtherType is a two-octet field in an Ethernet frame. It is used to indicate which protocol is encapsulated in the payload of the frame and is used at the receiving end by the data link layer to determine how the payload is processed. The same field is also used to indicate the size of some Ethernet frames.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Kalau bahasa sederhana dari saya, EtherType adalah field untuk menunjukan data yang di encap frame tersebut itu apa. Misalnya IPv4, ARP, Dot1Q, atau lainnya.&lt;/p&gt;
&lt;p&gt;Contohin? Boleh. Kita pake packet capture aja ya biar gampang bayanginnya.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;ARP menggunakan ethertype 0x0806.
&lt;figure&gt;
&lt;img src="https://ilh.my.id/img/arp-eth.webp" alt="ARP Ethertype" title="ARP Ethertype" loading="lazy"&gt;
&lt;figcaption&gt;ARP Ethertype&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;br&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;IPv4 menggunakan ethertype 0x0800.
&lt;figure&gt;
&lt;img src="https://ilh.my.id/img/ipv4-eth.webp" alt="IPv4 Ethertype" title="IPv4 Ethertype" loading="lazy"&gt;
&lt;figcaption&gt;IPv4 Ethertype&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;br&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Dot1Q tag menggunakan ethertype 0x8100.
&lt;figure&gt;
&lt;img src="https://ilh.my.id/img/dot1q.webp" alt="Dot1Q Ethertype" title="Dot1Q Ethertype" loading="lazy"&gt;
&lt;figcaption&gt;Dot1Q Ethertype&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Untuk QinQ, kalau ikut standar ethertype-nya adalah 0x88A8, sedangkan &lt;a href="https://www.embeddedsystemtesting.com/2012/09/vlan-standards-qinq.html" title="QinQ Standards" target="_blank" rel="noreferrer noopener"&gt;pre-standar-nya&lt;/a&gt; adalah 0x9100.
&lt;figure&gt;
&lt;img src="https://ilh.my.id/img/802.1ad.webp" alt="802.1ad Ethertype" title="802.1ad Ethertype" loading="lazy"&gt;
&lt;figcaption&gt;802.1ad Ethertype&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;br&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Beberapa vendor, Cisco misalnya, menggunakan ethertype yang sama dengan Dot1Q pada service QinQ yaitu 0x8100.
&lt;figure&gt;
&lt;img src="https://ilh.my.id/img/qinq-8100.webp" alt="QinQ Ethertype 8100" title="QinQ Ethertype 8100" loading="lazy"&gt;
&lt;figcaption&gt;QinQ Ethertype 8100&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Anyway, mau curhat lagi. Baru kemarin nih, saya coba setting ethertype 0x9100 di interface ke arah provider untuk pelanggan dengan service QinQ, eh taunya, koneksi saya ke perangkat tersebut mati. 😅&lt;/p&gt;
&lt;p&gt;Perangkat yang saya config tersebut ethertype default untuk QinQ nya adalah 8100.&lt;/p&gt;
&lt;p&gt;Waduh-waduh.. Untung ada yang standby ya di sana. Jadi confignya bisa dihapus via console.&lt;/p&gt;
&lt;p&gt;Sekian ya. Semoga bermanfaat.&lt;/p&gt;</description></item></channel></rss>