Pages

Subscribe:
  • Rasmus Lerdorf

    I really don't like programming. I built this tool to program less so that I could just reuse code.

    PHP is about as exciting as your toothbrush. You use it every day, it does the job, it is a simple tool, so what? Who would want to read about toothbrushes?

    There are people who actually like programming. I don't understand why they like programming.

  • Steve Jobs

    Computers themselves, and software yet to be developed, will revolutionize the way we learn.

    Design is a funny word. Some people think design means how it looks. But of course, if you dig deeper, it's really how it works.

    Design is not just what it looks like and feels like. Design is how it works.

  • Bill Gates

    Every day were saying, 'How can we keep this customer happy?' How can we get ahead in innovation by doing this, because if we don't, somebody else will..

    The success of my company is only two years away from failure.

    It's fine to celebrate success but it is more important to heed the lessons of failure.

Saturday, February 23, 2013

Konfigurasi Devices


1. Pendahuluan

       Switch adalah perangkat/komponen jaringan yang berperan sebagai jembatan untuk perangkat-perangkat jaringan sehingga masing-masing perangkat dapat terhubung satu dengan yang lain (menghubungkan komputer satu dengan yang lainnya). Switch memiliki sejumlah port ethernet untuk menghubungkan dirinya dengan perangkat-perangkat lain di jaringan.

       Switch terbagi dalam 2 tipe utama: switch layer-2 dan layer-3. Switch layer-2 beroperasi pada layer data-link model OSI dan berdasarkan teknologi bridging (melakukan fungsi sebagai bridge antara segmen-segmen jaringan LAN, karena mereka meneruskan frame Ethernet berdasarkan alamat tujuannya tanpa mengetahui protokol jaringan apa yang digunakan). Switch tipe ini membangun koneksi logika antar port berdasarkan pada alamat MAC (alamat fisik).

       Layer 3 switch atau Multilayer Switch adalah switch yang bekerja pada layer 2 dan juga bekerja pada layer 3 yang mempunyai fungsi routing. switching layer 3 bekerja dengan menganalisis informasi packet dan meneruskannya berdasar pada alamat IP. Switch tipe ini membangun koneksi logika antar port berdasarkan alamat jaringan. Switch-switch ini dapat digunakan untuk menghubungkan jaringan-jaringan yang berbeda di dalam suatu internetwork.  

       Router adalah perangkat jaringan yang berfungsi untuk menghubungkan beberapa jaringan atau network, baik jaringan yang menggunakan teknologi sama atau yang berbeda, misalnya menghubungkan jaringan topologi Bus, topologi Star atau topologi Ring.

       Karena router ini menghubungkan beberapa jaringan tentunya router berbeda dengan Switch. Switch hanya perangkat yang digunakan untuk menghubungkan beberapa komputer sehingga membentuk LAN atau local area network. Sedangkan router adalah perangkat yang menghubungkan satu LAN dengan banyak LAN lainnya.

       Router dapat digunakan untuk menghubungkan banyak jaringan kecil ke sebuah jaringan yang lebih besar, yang disebut dengan internetwork, atau untuk membagi sebuah jaringan besar ke dalam beberapa subnetwork untuk meningkatkan kinerja dan juga mempermudah manajemennya. Router juga kadang digunakan untuk mengoneksikan dua buah jaringan yang menggunakan media yang berbeda atau berbeda arsitektur jaringan.

2. Alat dan Bahan

      Dalam proses praktikum pengkonfigurasian device ini menggunakan aplikasi software Cisco Packet Tracer 5.3.3. Dengan tools yang disediakan seperti :

3 Buah PC devices
1 Buah Router
1 Buah Switch
1 Buah Crossover Cable, dan
3 Buah Straight-through Cable

 
3. Langkah Praktikum

       Praktikum kali ini akan melakukan pengkonfigurasian device pada router, switch dan komputer. Dengan topologi diagaram seperti berikut :

Gambar 3.1 Topologi Diagram

LANGKAH PERTAMA

--> Sediakan tools yang diperlukan dalam pengkonfigurasian ini!.

     Pertama-tama ambil 3 buah tools PC dari select device box pada bagian end devices dengan cara di drop(ditarik) lalu tempatkan ke logical workspace seperti terlihat pada gambar dibawah ini.


Gambar 3.2 PC devices
     Ambil 1 buah Switch(2950-24) dari select device box pada bagian Switches dan 1 buah Routers(1841) dari select device box pada bagian Routers, dengan cara di drop(ditarik) lalu tempatkan ke logical workspace seperti terlihat pada gambar dibawah ini.

Gambar 3.3 Router&Switch

    Pilih 1 buah kabel cross-over dari select device box pada bagian Connections. Kemudian hubungkan  PC0 ke Router yang sudah disediakan(fa0/0). Selanjutnya Pilih 3 buah kabel straight dari select device box pada bagian Connections. Dengan masing-masing kabel di hubungkan dari Router ke Switch(fa0/1). Dan dari switch ke PC1(fa0/2) dan PC2(fa0/3). Untuk lebih jelasnya dapat dilihat pada gambar berikut :

Gambar 3.4 Cable Devices


LANGKAH KEDUA

--> Mulai melakukan konfigurasi Router dan Konfigurasi Switch!.

Konfigurasi jaringan dimaksudkan untuk memberikan nama dan identitas yang unik dalam jaringan corporate anda.

Dengan scenario :

    IP yang telah ditentukan yaitu 192.133.219.0/24 dengan 4 bit lainnya di pinjam untuk subnet,  sehingga jaringan subnet menjadi :
  1. 192.133.219.0/28
  2. 192.133.219.16/28
  3. 192.133.219.32/28
  4. 192.133.219.48/28
  5. 192.133.219.64/28
  6. 192.133.219.80/28
  7. 192.133.219.96/28
  8. 192.133.219.112/28
  9. 192.133.219.128/28
  10. 192.133.219.144/28
  11. 192.133.219.160/28
  12. 192.133.219.176/28
  13. 192.133.219.192/28
  14. 192.133.219.208/28
  15. 192.133.219.224/28
  16. 192.133.219.240/28
Untuk kasus ini, menggunakan IP address dari no. 8 dan 9, yaitu 192.133.219.112/28 untuk IP Router1 dan 192.133.219.128/28 untuk IP Switch1. Masing-masing angka terakhir IP tersebut dikurangi 2 untuk digunakan sebagai IP network dan IP broadcast.
Konfigurasi Router1 fa0/0. Klik Router -> menu tab CLI. Kemudian ketiklah syntax konfigurasi  router seperti dibawah ini :

Press RETURN to get started!
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Router1
Router1(config)#banner motd %
Enter TEXT message.  End with the character '%'.
"Welcome to the Configuration Devices"
%
Router1(config)#enable secret password cisco123
Router1(config)#line console 0
Router1(config-line)#password class
Router1(config-line)#login
Router1(config-line)#line vty 0 4
Router1(config-line)#password class
Router1(config-line)#login
Router1(config-line)#exit

Router1(config)#interface fa0/0
Router1(config-if)#description Connection to Host1 with crossover cable
Router1(config-if)#ip address 192.133.219.110 255.255.255.240
Router1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router1(config-if)#end
Router1#
%SYS-5-CONFIG_I: Configured from console by console

       Ketik syntak dibawah ini untuk melakukan penyimpanan config atau syntax terakhir:
Router1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]      
Router1#

Kemudialn lakukan konfigurasi Router1 fa0/1. Klik Router -> menu tab CLI. Kemudian ketiklah syntax konfigurasi  router seperti dibawah ini :

Router1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router1(config)#interface fa0/1
Router1(config-if)#description Connection to switch with straight-through cable
Router1(config-if)#ip address 192.133.219.126 255.255.255.240
Router1(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Router1(config-if)#end
Router1#
%SYS-5-CONFIG_I: Configured from console by console

Router1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Router1#
Terakhir Konfigurasikan Switch ke Router1, PC2 dan PC3. Klik Switch -> menu tab CLI. Kemudian ketiklah syntax konfigurasi  router seperti dibawah ini :

Switch>en
Switch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname Switch1
Switch1(config)#enable secret cisco       
Switch1(config)#line console 0
Switch1(config-line)#password class
Switch1(config-line)#login
Switch1(config-line)#line vty 0 15
Switch1(config-line)#password class
Switch1(config-line)#login
Switch1(config-line)#interface fa0/1
Switch1(config-if)#description Connection to Router1
Switch1(config-if)#interface fa0/2
Switch1(config-if)#description Connection to host computer 2
Switch1(config-if)#interface fa0/3
Switch1(config-if)#description Connection to host computer 3
Switch1(config-if)#end
Switch1#
%SYS-5-CONFIG_I: Configured from console by console

Switch1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]

     Ketik syntax di bawah ini untuk melihat hasil penyimpanan dari syntax copy run start :

Switch1#show run
Building configuration...

Current configuration : 1197 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch1
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
 description Connection to Router1
!
interface FastEthernet0/2
 description Connection to host computer 2
!
interface FastEthernet0/3
 description Connection to host computer 3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
 no ip address
 shutdown
!
!
line con 0
 password class
 login
!
line vty 0 4
 password class
 login
line vty 5 15
 password class
 login
!
!
end
Switch1#

LANGKAH TERAKHIR

--> Tentukan IP address untuk masing-masing device PC (PC0,PC1 dan PC3)!.

      Untuk mengatur IP Host pada device PC, Klik PC-menu tab Desktop. Perhatikan gambar berikut!.
  •  Pengaturan IP address untuk PC0
Gambar 3.5 IP address PC0

  •  Pengaturan IP address untuk PC1
Gambar 3.6 IP address PC1
  •  Pengaturan IP address untuk PC2 
   Gambar 3.7 IP address PC2

Catatan! : untuk IP pada default gateway menggunakan IP Router. Seperti pada IP address yang telah ditentukan diatas yaitu menggunakan /24 maka IP yang tersedia adalah 16 IP. Maka untuk Subnetmasknya adalah /24 – bit(/24) = 256 – 16 = 240, sehingga subnet masknya menjadi 255.255.255.240.

4. HASIL PRAKTIKUM
-> Tes Koneksi dari PC0 ke IP addressnya

Gambar 4.1 Ping PC0 ke IP PC0

 
-> Tes Koneksi dari PC0 ke IP address Router1


Gambar 4.2 Ping PC0 ke IP Router1

 
-> Tes Koneksi dari PC0 ke IP address Switch


Gambar 4.3 Ping PC0 ke IP Switch

 
-> Tes Koneksi dari PC0 ke IP address PC1&PC2

 Gambar 4.4 Ping PC0 ke IP PC1&PC2


-> Tes Koneksi dari PC1 ke IP addressnya

Gambar 4.5 Ping PC1 ke IP addressnya


-> Tes Koneksi dari PC1 ke IP Router

 Gambar 4.6 Ping PC1 ke IP address Router1


-> Tes Koneksi dari PC1 ke IP Switch

Gambar 4.7 Ping PC1 ke IP address Switch

-> Tes Koneksi dari PC1 ke IP PC2&PC0

 Gambar 4.8 Ping PC1 ke IP address PC2&PC0


-> Tes Koneksi dari PC2 ke IP Addressnya

 Gambar 4.9 Ping PC2 ke IP addresnya 


-> Tes Koneksi dari PC2 ke IP Address Router1


Gambar 4.10 Ping PC2 ke IP Router1 


-> Tes Koneksi dari PC2 ke IP Address Switch

 Gambar 4.11 Ping PC2 ke IP Switch 


-> Tes Koneksi dari PC2 ke IP Address PC1&PC0

 Gambar 4.11 Ping PC2 ke IP PC1&PC0

 -------------------------------------------------------------------------------------------------------------------------------------------------

Oleh :
Nama                        : Deviana Astika Sari 
Jurusan                     : Teknologi Informasi
Kelas                         : 2A
Perguruan Tinggi      : Politeknik Negeri Samarinda
Dosen Pembimbing  : Bapak Andrijasa
 

1 comments: