Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| networking:cisco:roas [2026/02/03 16:18] – [Syntax] ilyasa | networking:cisco:roas [2026/02/03 16:40] (current) – [Konfigurasi] ilyasa | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| | '' | | '' | ||
| - | < | + | < |
| Jangan lupa untuk mengaktifkan main interfaces (no sutshown) | Jangan lupa untuk mengaktifkan main interfaces (no sutshown) | ||
| </ | </ | ||
| ===== Topologi ===== | ===== Topologi ===== | ||
| - | Gambar topology | + | {{ : |
| - | Goals Topology | + | |
| + | Topologi merupakan lanjutan dari halaman sebelumnya dan untuk konfigurasi VLAN dan trunks bisa ke halaman sebelumnya [[vlan|]] [[trunk|]] | ||
| + | |||
| + | Goals dari configurasi kali ini adalah menghubungkan dua segment VLAN Yang pada halaman sebelumnya tidak dapat terhubung karena sudah disegmentasi. | ||
| ===== Konfigurasi ===== | ===== Konfigurasi ===== | ||
| - | * **Step 1 : Pembuatan VLANs** | + | * **Step 1 : Pada Switch SW1 set port yang menuju ke router sebagai trunks** |
| < | < | ||
| - | Switch(config)#vlan 10 | + | SW1(config)#interface g0/2 |
| - | Switch(config-vlan)#name BIRU | + | SW1(config-if)#switchport mode trunk |
| - | Switch(config-vlan)# | + | SW1(config-if)#switchport trunk allowed |
| - | + | ||
| - | Switch(config)#vlan 20 | + | |
| - | Switch(config-vlan)# | + | |
| - | Switch(config-vlan)# | + | |
| </ | </ | ||
| - | * **Step 2 : Assign VLANs ke Ports** | + | * **Step 2 : Konfigurasi Router On a Stick dan konfigurasi IP gate away (subinterface)** |
| + | subinterface vlan10 | ||
| < | < | ||
| - | Switch(config)# | + | R1(config)# |
| - | Switch(config-if)#switchport mode access | + | R1(config-subif)#encapsulation dot1Q 10 |
| - | Switch(config-if)# | + | R1(config-subif)#ip address 192.168.1.254 255.255.255.0 |
| - | Switch(config-if)#exit | + | </ |
| - | + | subinterface vlan20 | |
| - | Switch(config)# | + | < |
| - | Switch(config-if)#switchport mode access | + | R1(config)# |
| - | Switch(config-if)#switchport access vlan 10 | + | R1(config-subif)#encapsulation dot1Q 20 |
| - | Switch(config-if)# | + | R1(config-subif)#ip address 192.168.2.254 255.255.255.0 |
| </ | </ | ||
| + | * **Step 3 : Mengaktifkan Interface (no shutdown)** | ||
| + | < | ||
| + | R1(config)# | ||
| + | R1(config-if)# | ||
| + | </ | ||
| ===== Testing ===== | ===== Testing ===== | ||
| + | * **PC 1 to PC 8** | ||
| + | < | ||
| + | C: | ||
| + | |||
| + | FastEthernet0 Connection: | ||
| + | |||
| + | | ||
| + | | ||
| + | IPv6 Address....................: | ||
| + | IPv4 Address....................: | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | Bluetooth Connection: | ||
| + | |||
| + | | ||
| + | | ||
| + | IPv6 Address....................: | ||
| + | IPv4 Address....................: | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | C:\>ping 192.168.2.8 | ||
| + | |||
| + | Pinging 192.168.2.8 with 32 bytes of data: | ||
| + | |||
| + | Reply from 192.168.2.8: | ||
| + | Reply from 192.168.2.8: | ||
| + | Reply from 192.168.2.8: | ||
| + | Reply from 192.168.2.8: | ||
| + | |||
| + | Ping statistics for 192.168.2.8: | ||
| + | Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), | ||
| + | Approximate round trip times in milli-seconds: | ||
| + | Minimum = 0ms, Maximum = 12ms, Average = 3ms | ||
| + | </ | ||