Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| networking:cisco:vlan [2026/02/02 13:08] – [Konfigurasi] ilyasa | networking:cisco:vlan [2026/02/02 23:16] (current) – [Topologi] ilyasa | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| {{indexmenu_n> | {{indexmenu_n> | ||
| ====== Cisco : VLAN ====== | ====== Cisco : VLAN ====== | ||
| VLAN (Virtual Local Area Network) adalah sebuah metode untuk membagi satu jaringan komputer fisik menjadi beberapa jaringan virtual yang terpisah. Hal ini memungkinkan Anda untuk mengelompokkan komputer berdasarkan fungsi, departemen, atau proyek—tanpa harus mengubah kabel fisik yang sudah ada. | VLAN (Virtual Local Area Network) adalah sebuah metode untuk membagi satu jaringan komputer fisik menjadi beberapa jaringan virtual yang terpisah. Hal ini memungkinkan Anda untuk mengelompokkan komputer berdasarkan fungsi, departemen, atau proyek—tanpa harus mengubah kabel fisik yang sudah ada. | ||
| - | ==== Syntax ==== | + | ===== Syntax |
| - | === Membuat VLAN === | + | ==== Membuat VLAN ==== |
| ^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| | '' | | '' | ||
| Line 17: | Line 16: | ||
| name VLAN-Management | name VLAN-Management | ||
| </ | </ | ||
| - | === Assigning VLAN ke Interfaces === | + | ==== Assigning VLAN ke Interfaces |
| Setelah VLAN dibuat, port switch dapat ditetapkan ke VLAN tertentu. | Setelah VLAN dibuat, port switch dapat ditetapkan ke VLAN tertentu. | ||
| Line 37: | Line 36: | ||
| </ | </ | ||
| - | === Menghapus VLAN === | + | ==== Menghapus VLAN ==== |
| ^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| | '' | | '' | ||
| | '' | | '' | ||
| - | === Menghapus VLAN dari Interface=== | + | ==== Menghapus VLAN dari Interface |
| ^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| | '' | | '' | ||
| Line 50: | Line 49: | ||
| - | ==== Topologi ==== | + | ===== Topologi |
| {{ : | {{ : | ||
| " | " | ||
| Goalsnya adalah untuk memisahkan Devices sesuai VLAN pada topology | Goalsnya adalah untuk memisahkan Devices sesuai VLAN pada topology | ||
| * VLAN 10 - PC1,PC2 | * VLAN 10 - PC1,PC2 | ||
| - | * VLAN 10 - PC3,PC4 | + | * VLAN 20 - PC3,PC4 |
| - | ==== Konfigurasi ==== | + | ===== Konfigurasi |
| * **Step 1 : Pembuatan VLANs** | * **Step 1 : Pembuatan VLANs** | ||
| < | < | ||
| Line 102: | Line 101: | ||
| </ | </ | ||
| - | ==== Cheatsheet | + | ===== Testing ===== |
| - | < | + | |
| - | ip dhcp excluded-address | + | * **PC1 -> PC2, |
| - | ip dhcp pool LAN | + | < |
| - | | + | C: |
| - | | + | |
| - | exit | + | Pinging |
| + | |||
| + | Reply from 192.168.0.2: bytes=32 time<1ms TTL=128 | ||
| + | Reply from 192.168.0.2: bytes=32 time<1ms TTL=128 | ||
| + | Reply from 192.168.0.2: | ||
| + | Reply from 192.168.0.2: | ||
| + | |||
| + | Ping statistics for 192.168.0.2: | ||
| + | Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), | ||
| + | Approximate round trip times in milli-seconds: | ||
| + | Minimum = 0ms, Maximum = 0ms, Average = 0ms | ||
| + | |||
| + | C: | ||
| + | |||
| + | Pinging 192.168.0.3 with 32 bytes of data: | ||
| + | |||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | |||
| + | Ping statistics for 192.168.0.3: | ||
| + | Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), | ||
| + | |||
| + | C:\>ping 192.168.0.4 | ||
| + | |||
| + | Pinging 192.168.0.4 with 32 bytes of data: | ||
| + | |||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | |||
| + | Ping statistics for 192.168.0.4: | ||
| + | Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), | ||
| </ | </ | ||
| + | |||
| + | * **PC3 > PC1, | ||
| + | |||
| + | < | ||
| + | C:\>ping 192.168.0.1 | ||
| + | |||
| + | Pinging 192.168.0.1 with 32 bytes of data: | ||
| + | |||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | |||
| + | Ping statistics for 192.168.0.1: | ||
| + | Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), | ||
| + | |||
| + | C:\>ping 192.168.0.2 | ||
| + | |||
| + | Pinging 192.168.0.2 with 32 bytes of data: | ||
| + | |||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | Request timed out. | ||
| + | |||
| + | Ping statistics for 192.168.0.2: | ||
| + | Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), | ||
| + | |||
| + | C:\>ping 192.168.0.4 | ||
| + | |||
| + | Pinging 192.168.0.4 with 32 bytes of data: | ||
| + | |||
| + | Reply from 192.168.0.4: | ||
| + | Reply from 192.168.0.4: | ||
| + | Reply from 192.168.0.4: | ||
| + | Reply from 192.168.0.4: | ||
| + | |||
| + | Ping statistics for 192.168.0.4: | ||
| + | Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), | ||
| + | Approximate round trip times in milli-seconds: | ||
| + | Minimum = 0ms, Max | ||
| + | </ | ||
| + | |||