Konfigurasi DHCP Server Router Cisco Packet Tracert
Contoh topologi yang digunakan bisa dilihat pada gambar di bawah ini.
Setelah membuat topologi dan mengatur IP Address dari tiap kartu jaringan pada Router, masuk ke dalam mode CLI lalu ketikkan command berikut.
Router>enable
Router#configure terminal
Router(config)#ip dhcp pool dhcp0
Router(dhcp-config)#network 11.11.11.0 255.255.255.0
Router(dhcp-config)#default-router 11.11.11.1
Router(dhcp-config)#exit
Router(config)#ip dhcp pool dhcp1
Router(dhcp-config)#network 22.22.22.0 255.255.255.0
Router(dhcp-config)#default-router 22.22.22.1
Router(dhcp-config)#exit
Router(config)#ip dhcp pool dhcp2
Router(dhcp-config)#network 33.33.33.0 255.255.255.0
Router(dhcp-config)#default-router 33.33.33.1
Router(dhcp-config)#exit
Router(config)#ip dhcp pool dhcp3
Router(dhcp-config)#network 44.44.44.0 255.255.255.0
Router(dhcp-config)#default-router 44.44.44.1
Router(dhcp-config)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
<tekan ENTER>
Router#copy run start
Destination filename [startup-config]? <tekan ENTER>
Building configuration...
[OK]
Router#
Untuk menghubungkan semua network (11.11.11.0, 22.22.22.0, 33.33.33.0, dan 44.44.44.0) ketikkan command berikut.
Router#configure terminal
Router(config)#ip route 0.0.0.0 0.0.0.0 fa0/0
Router(config)#ip route 0.0.0.0 0.0.0.0 fa1/0
Router(config)#ip route 0.0.0.0 0.0.0.0 fa2/0
Router(config)#ip route 0.0.0.0 0.0.0.0 fa3/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
<tekan ENTER>
Router#copy run start
Destination filename [startup-config]? <tekan ENTER>
Building configuration...
[OK]
Router#
Leave a Comment