-->

Konfigurasi DHCP Server Menggunakan Cisco Packet Tracer

 Konfigurasi DHCP Server Menggunakan
Cisco Packet Tracer

Write Dia Putera 




Skenario

Skenario disini bertujuan membuat sebuah network untuk 5 Kota Yaitu Jogja-Bantul-Sleman-Gunung Kidul-Kulon Progo.Project Leader mengharuskan distribusi IP Secara Dynamic serta setiap kota harus dapat terhubung satu sama lain.IP Dynamic hanya dapat di bagikan oleh satu perangkat server.

Seluruh perihal yang ada pada post ini merupkan simulasi,bukan penerapan sejatinya.bertujuan sebagai edukasi

Alokasi IP


Jogja 192.168.10.1 – 192.168.10.254 /24

Bantul 192.168.20.1 – 192.168.20.254 /24

Sleman 192.168.30.1 – 192.168.30.254 /24

Kulon Progo 192.168.40.1 – 192.168.40.254 /24

Gunung Kidul 192.168.50.1 – 192.168.50.254 /24


Gambaran Topologi

Langkah Pengerjaan

  1. Konfigurasi Server DHCP

    1. IP Server adalah 10.10.10.10/24

      1. Inputkan Alokasi IP untuk setiap kota

        1. Pool name merupakan nama pool,pool disni bertugas sebagai tempat untuk menampng setiap ip yang ada pada dhcp.Kemudian Add.




  1. Konfigurasi Router

  1. Router Jogja

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int g0/0

Router(config-if)#ip ad

Router(config-if)#ip address 10.10.10.1 255.255.255.0

Router(config-if)#no sh

Router(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Router(config-if)#int g0/1

Router(config-if)#ip ad

Router(config-if)#ip address 192.168.10.1 255.255.255.0

Router(config-if)#no sh

Router(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

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

Router(config-if)#ip help

Router(config-if)#ip helper-address 10.10.10.10

Router(config-if)#end

Router#

%SYS-5-CONFIG_I: Configured from console by console

  1. Router Bantul

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hos

Router(config)#hostname Bantul

Bantul(config)#ip ad

Bantul(config)#ip add

Bantul(config)#int g0/0

Bantul(config-if)#ip ad

Bantul(config-if)#ip address 10.10.10.1 255.255.255.0

Bantul(config-if)#no sh

Bantul(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Bantul(config-if)#int g0/1

Bantul(config-if)#ip ad

Bantul(config-if)#ip address 192.168.20.1 255.255.255.9

Bad mask 0xFFFFFF09 for address 192.168.20.1

Bantul(config-if)#ip address 192.168.20.1 255.255.255.0

Bantul(config-if)#no sh

Bantul(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

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

Bantul(config-if)#ip help

Bantul(config-if)#ip helper-address 10.10.10.10

Bantul(config-if)#end

Bantul#

%SYS-5-CONFIG_I: Configured from console by console

Bantul#


  1. Router Sleman

Router(config)#hostname Sleman

Sleman(config)#int g0/0

Sleman(config-if)#ip ad

Sleman(config-if)#ip address 10.10.10.1 255.255.255.0

Sleman(config-if)#no sh

Sleman(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Sleman(config-if)#int g0/1

Sleman(config-if)#ip 192.168.30.1 255.255.255.0

^

% Invalid input detected at '^' marker.

Sleman(config-if)#ip address 192.168.30.1 255.255.255.0

Sleman(config-if)#no sh

Sleman(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

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

Sleman(config-if)#ip hel

Sleman(config-if)#ip help

Sleman(config-if)#ip helper-address 10.10.10.10

Sleman(config-if)#end

Sleman#

%SYS-5-CONFIG_I: Configured from console by console

Sleman#


  1. Router Kulon Progo

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ho

Router(config)#hostname Kulon-Progo

Kulon-Progo(config)#int g0/0

Kulon-Progo(config-if)#ip ad

Kulon-Progo(config-if)#ip address 10.10.10.1 255.255.255.0

Kulon-Progo(config-if)#no sh

Kulon-Progo(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Kulon-Progo(config-if)#int g0/1

Kulon-Progo(config-if)#ip ad

Kulon-Progo(config-if)#ip address 192.168.40.1 255.255.255.0

Kulon-Progo(config-if)#no sh

Kulon-Progo(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

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

Kulon-Progo(config-if)#ip help

Kulon-Progo(config-if)#ip helper-address 10.10.10.10

  1. Router Gunung Kidul

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hos

Router(config)#hostname Gunung-Kidul

Gunung-Kidul(config)#int g0/0

Gunung-Kidul(config-if)#ip ad

Gunung-Kidul(config-if)#ip address 10.10.10.1 255.255.255.0

Gunung-Kidul(config-if)#no sh

Gunung-Kidul(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Gunung-Kidul(config-if)#int g0/1

Gunung-Kidul(config-if)#ip ad

Gunung-Kidul(config-if)#ip address 192.168.50.1 255.255.255.0

Gunung-Kidul(config-if)#no sh

Gunung-Kidul(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

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

Gunung-Kidul(config-if)#ip help

Gunung-Kidul(config-if)#ip helper-address 10.10.10.10

Gunung-Kidul(config-if)#end

Gunung-Kidul#

%SYS-5-CONFIG_I: Configured from console by console

Gunung-Kidul#

Setelah Konfigurasi cek apakah konfigurasi berhasil atau belum,salah satunya dengan cara merubah IP configuration pada PC/Leptop dari Static menjadi DHCP, apabila berhasil maka DHCP akan sperti dibawah ini apabila belum maka IP akan berubah menjadi 169.xxx.xxx.xxx atau ada notifikasi IP dhcp failed apipa is being used packet tracer. 


Pada tahapan ini DHCP berhasil konfigurasi untuk setiap site atau kota mari coba lakukan ping terhadap IP kota lain,misal Jogja ke Sleman


Hal ini disebabkan Network pada Jogja dan Sleman belum di dikenalkan(konfigurasi)disini Routing perlu diterapkan.

 Download link pkt files : https://forum.seccodeid.com/archives  

1 komentar

  1. Mantap