networking:cisco:lab1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:cisco:lab1 [2026/02/04 00:38] – [Topologi Jaringan] ilyasanetworking:cisco:lab1 [2026/02/04 00:44] (current) ilyasa
Line 19: Line 19:
 Anda sebagai Network Administrator diminta untuk mewujudkan kebutuhan tersebut. Direktur menyediakan perangkat berikut: Anda sebagai Network Administrator diminta untuk mewujudkan kebutuhan tersebut. Direktur menyediakan perangkat berikut:
  
-  1. 1 buah Router Cisco 2811 +  1 buah Router Cisco 2811 
-  2. 4 buah Switch Cisco 2960 +  4 buah Switch Cisco 2960 
-  3. 4 buah Wireless Access Point 802.11b (generic) +  4 buah Wireless Access Point 802.11b (generic) 
-  4. 4 buah Server +  4 buah Server 
-  5. Kabel UTP Cat.5e (4 box) +  Kabel UTP Cat.5e (4 box) 
-  6. 1 blok IP address 192.168.1.0/24 +  1 blok IP address 192.168.1.0/24 
-  7. 8 buah PC +  8 buah PC 
-  8. 4 buah Laptop (Wireless)+  4 buah Laptop (Wireless)
  
 **Tugas:** **Tugas:**
Line 52: Line 52:
 ===== Konfigurasi ===== ===== Konfigurasi =====
  
-==== Router R1 ==== +  * **R1**
 <code> <code>
-interface f0/0.10 +// vlan10 
- encapsulation dot1Q 10 +R1(config)#interface f0/0.10 
- ip address 192.168.1.1 255.255.255.192 +R1(config-subif)#encapsulation dot1Q 10 
- +R1(config-subif)#ip address 192.168.1.1 255.255.255.192 
-interface f0/0.20 +// vlan20 
- encapsulation dot1Q 20 +R1(config)#interface f0/0.20 
- ip address 192.168.1.65 255.255.255.192+R1(config-subif)#encapsulation dot1Q 20 
 +R1(config-subif)#ip address 192.168.1.65 255.255.255.192 
 +// vlan30 
 +R1(config)#interface f0/0.30 
 +R1(config-subif)#encapsulation dot1Q 30 
 +R1(config-subif)#ip address 192.168.1.129 255.255.255.192 
 +// vlan40 
 +R1(config)#interface f0/0.40 
 +R1(config-subif)#encapsulation dot1Q 40 
 +R1(config-subif)#ip address 192.168.1.193 255.255.255.192 
 +</code> 
 +<code> 
 +// dhcp L1 
 +R1(config)#service dhcp 
 +R1(config)#ip dhcp pool pemasaran 
 +R1(dhcp-config)#network 192.168.1.0 255.255.255.192 
 +R1(dhcp-config)#default-router 192.168.1.1   
 +R1(dhcp-config)#exit 
 +R1(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.2  
 +// dhcp L2 
 +R1(config)#service dhcp 
 +R1(config)#ip dhcp pool SDM       
 +R1(dhcp-config)#network 192.168.1.64 255.255.255.192 
 +R1(dhcp-config)#default-router 192.168.1.65 
 +R1(dhcp-config)#exit 
 +R1(config)#ip dhcp excluded-address 192.168.1.65 192.168.1.64 
 +// dhcp L3 
 +R1(config)#service dhcp 
 +R1(config)#ip dhcp pool teknik    
 +R1(dhcp-config)#network 192.168.1.128 255.255.255.192 
 +R1(dhcp-config)#default-router 192.168.1.129 
 +R1(dhcp-config)#exit 
 +R1(config)#ip dhcp excluded-address 192.168.1.129 192.168.1.130 
 +// dhcp L4 
 +R1(config)#service dhcp 
 +R1(config)#ip dhcp pool keuangan  
 +R1(dhcp-config)#network 192.168.1.192 255.255.255.192 
 +R1(dhcp-config)#default-router 192.168.1.193 
 +R1(dhcp-config)#exit 
 +R1(config)#ip dhcp excluded-address 192.168.1.193 192.168.1.194
  
-interface f0/0.30 +// noshutdown 
- encapsulation dot1Q 30 +R1(config)#interface f0/0 
- ip address 192.168.1.129 255.255.255.192 +R1(config)#no shutdown 
- +</code> 
-interface f0/0.40 +---- 
- encapsulation dot1Q 40 +  * **SWL1** 
- ip address 192.168.1.193 255.255.255.192+<code> 
 +SWL1(config)#vlan 10 
 +SWL1(config-vlan)#name pemasara 
 +SWL1(config-vlan)#vlan 20 
 +SWL1(config-vlan)#name SDM 
 +SWL1(config-vlan)#vlan 30 
 +SWL1(config-vlan)#name teknik 
 +SWL1(config-vlan)#vlan 40 
 +SWL1(config-vlan)#name keuangan 
 +SWL1(config-vlan)#exit 
 +SWL1(config)# 
 +SWL1(config)#interface range f0/1-10 
 +SWL1(config-if-range)#switchport mode access 
 +SWL1(config-if-range)#switchport access vlan 10 
 +SWL1(config-if-range)#exit 
 +SWL1(config)# 
 +SWL1(config)#interface range  g0/1-2 
 +SWL1(config-if-range)#switchport mode trunk 
 +</code> 
 +---- 
 +  * **SWL2** 
 +<code> 
 +SWL2(config)#vlan 10 
 +SWL2(config-vlan)#name pemasara 
 +SWL2(config-vlan)#vlan 20 
 +SWL2(config-vlan)#name SDM 
 +SWL2(config-vlan)#vlan 30 
 +SWL2(config-vlan)#name teknik 
 +SWL2(config-vlan)#vlan 40 
 +SWL2(config-vlan)#name keuangan 
 +SWL2(config-vlan)#exit 
 +SWL2(config)# 
 +SWL2(config)#interface range f0/1-10 
 +SWL2(config-if-range)#switchport mode access 
 +SWL2(config-if-range)#switchport access vlan 20 
 +SWL2(config-if-range)#exit 
 +SWL2(config)# 
 +SWL2(config)#interface range  g0/1-2 
 +SWL2(config-if-range)#switchport mode trunk
 </code> </code>
  
-==== DHCP Configuration ==== +  * **SWL3**
 <code> <code>
-service dhcp +SWL3(config)#vlan 10 
- +SWL3(config-vlan)#name pemasara 
-ip dhcp pool pemasaran +SWL3(config-vlan)#vlan 20 
- network 192.168.1.0 255.255.255.192 +SWL3(config-vlan)#name SDM 
- default-router 192.168.1.1 +SWL3(config-vlan)#vlan 30 
-ip dhcp excluded-address 192.168.1.1 192.168.1.2 +SWL3(config-vlan)#name teknik 
- +SWL3(config-vlan)#vlan 40 
-ip dhcp pool SDM +SWL3(config-vlan)#name keuangan 
- network 192.168.1.64 255.255.255.192 +SWL3(config-vlan)#exit 
- default-router 192.168.1.65 +SWL3(config)# 
-ip dhcp excluded-address 192.168.1.64 192.168.1.65 +SWL3(config)#interface range f0/1-10 
- +SWL3(config-if-range)#switchport mode access 
-ip dhcp pool teknik +SWL3(config-if-range)#switchport access vlan 30 
- network 19+SWL3(config-if-range)#exit 
 +SWL3(config)# 
 +SWL3(config)#interface range  g0/1-2 
 +SWL3(config-if-range)#switchport mode trunk 
 +</code>
  
 +  * **SWL4**
 +<code>
 +SWL4(config)#vlan 10
 +SWL4(config-vlan)#name pemasara
 +SWL4(config-vlan)#vlan 20
 +SWL4(config-vlan)#name SDM
 +SWL4(config-vlan)#vlan 30
 +SWL4(config-vlan)#name teknik
 +SWL4(config-vlan)#vlan 40
 +SWL4(config-vlan)#name keuangan
 +SWL4(config-vlan)#exit
 +SWL4(config)#
 +SWL4(config)#interface range f0/1-10
 +SWL4(config-if-range)#switchport mode access
 +SWL4(config-if-range)#switchport access vlan 40
 +SWL4(config-if-range)#exit
 +SWL4(config)#
 +SWL4(config)#interface range  g0/1-2
 +SWL4(config-if-range)#switchport mode trunk
 +</code>
  • networking/cisco/lab1.1770140304.txt.gz
  • Last modified: 2026/02/04 00:38
  • by ilyasa