Packet Tracer ~ DHCP

KONFIGURASI DHCP~CISCO PACKET TRACER



Hei guys...apa kabar :D

Kali ini saya akan share tentang cara konfigurasi topologi DHCP menggunakan aplikasi cisco packet tracer. Sebelumnya, apa sih DHCP?? fungsinya untuk apa sih???


A. Pengertian



DHCP ( Dynamic Host Configuration Protocol ) adalah protokol yang bisa berfungsi untuk memberikan alamat IP secara otomatis kepada sebuah PC Client. 

B. Latar Belakang

Saat kita ingin terhubung ke jaringan internet, kita sering asal nyambung ke sebuah media/alat yang sudah terhubung ke jaringan internet, padahal itu belum bisa menjamin kita bisa langsung terhubung ke jaringan internet. Kita tidak tahu apa kita sudah mendapatkan IP apa belum. 

Pada penjelasan sebelumnya, kita sudah tahu bahwa DHCP memberikan akses IP secara otomatis kepada PC Client. Berarti jika setelah kita menyambungkan PC kita ke sebuah alat yang sudah terhubung ke internet ( Hub, Switch, Mikrotic, dll ) kita sudah mendapat IP secara otomatis, alat tersebut sudah setting menggunakan protocol DHCP.

C. Tujuan

Untuk mendapatkan IP secara otomatis dari sebuah Router.

D. Jangka Waktu Kegiatan

jam 08.30 s/d 09.45

E. Alat Dan Bahan

1. Laptop
2. Aplikasi cisco packet tracer

F. Tahap Pelaksanaan

1. Buka aplikasi cisco packet tracer terlebih dahulu.
2. Lalu buat topologi seperti ini.



3. Kita konfigurasi di kedua Router.

KONFIGURASI R1

R1> en
R1# conf t
R1(config)# int se2/0
R1(config-if)# ip add 12.12.12.2 255.255.255.0
R1(config-if)# no shut
R1(config-if)# int fa0/0
R1(config-if)# ip add 192.168.2.254 255.255.255.0
R1(config-if)# no shut

KONFIGURASI ROUTING DARI R1

R1(config)# ip route < network yang dituju > spasi <netmask> spasi < nex hop yang dilewati >

Nex hop : IP Address router yang dilewati.

R1(config)# ip route 192.168.3.0 255.255.255.0 12.12.12.0

atau bisa menggunakan Routing EIGRP

R1(config-if)# router eigrp 10
R1(config-if)# network 192.168.2.0
R1(config-if)# network 12.12.12.0
R1(config-if)# no auto-summary

KONFIGURASI R2

R2> en
R2# conf t
R2(config)# int se2/0
R2(config-if)# ip add 12.12.12.3 255.255.255.0
R2(config-if)# no shut
R2(config-if)# int fa0/0
R2(config-if)# ip add 192.168.3.254 255.255.255.0
R2(config-if)# no shut

KONFIGURASI ROUTING

R2(config-if)# ip route < network yang dituju > spasi <netmask> spasi < nex hop yang dilewati >

Nex hop : IP Address router yang dilewati.

R2(config-if)# ip route 192.168.2.0 255.255.255.0 12.12.12.0

atau bisa juga menggunakan Routing EIGRP

R2(config-if)# router eigrp 10
R2(config-if)# network 192.168.3.0
R2(config-if)# network 12.12.12.0
R2(config-if)# no auto-summary


4. Setelah itu, kita konfigurasi DHCP-nya.

KONFIGURASI DHCP R1

R1(config)# int fa0/0
R1(config-if)# ip dhcp excluded-address 192.168.2.10 192.168.2.50
R1(config-router)# ip dhcp pool Pool_R1
R1(config-router)# network 192.168.2.0 255.255.255.0
R1(config-router)# default-router 192.168.2.254
R1(config-router)# dns-server 192.168.2.254
R1(config-router)# end


KONFIGURASI DHCP R2

R2(config)# int fa0/0
R2(config-if)# ip dhcp excluded-address 192.168.3.10 192.168.3.50
R2(config-router)# ip dhcp pool Pool_R2
R2(config-router)# network 192.168.3.0 255.255.255.0
R2(config-router)# default-router 192.168.3.254
R2(config-router)# dns-server 192.168.3.254
R2(config-router)# end


5. Ini tampilan setelah kita konfigurasi.



6. Setelah konfigurasi-konfigurasi tadi, kita kasih IP ke PC Client dengan cara DHCP.

PC 0


Laptop 0


PC 1


Laptop 1



Semoga bermanfaat guys..  :D

Terima kasih.



G. Hasil Yang Didapatkan

Semua PC/Laptop Client bisa mendapat IP secara otomatis tanpa perlu mengatur sacara manual.

H. Kesimpulan

DHCP adalah protocol yang memberikan IP secara otomatis tanpa perlu diatur secara manual.

I. Referensi

Ebook dari Nixtrain Bandung

Related Posts:

0 Response to "Packet Tracer ~ DHCP"

Posting Komentar