{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Linux » Verry Small DHCP Server Sebagai Alternatif Pengganti DHCP daemon
Verry Small DHCP Server Sebagai Alternatif Pengganti DHCP daemon
hari ini,paket DHCP server di mesin router / Proxy yang selama ini menggunakan dhcp3-server dan dhcp-server mulai aku singkirkan, dengan alasan karena aplikasi ini CPU-Load dan Network jaringan-ku menjadi sangat sibuk.
Akibatnya,IPX-SPX yang ada di Netware kadang kadang nggak bisa diakses (intermiten)
penyebabnya sudah jelas sekali, DHCP dan IPX-SPX sama sama menjalankan paket broadcast.
Step 1. 
root@ptpn-xi:~# apt-cache search udhcp
udhcpc – very small DHCP client
udhcpd – very small DHCP server
root@ptpn-xi:~#
Step 2.
root@ptpn-xi:~#  apt-get install udhcpd udhcpc
Step 3.
Create file configurasi (misal di set pada segment 16)
root@ptpn-xi:~# joe /etc/udhcpd/udhcpd.conf.16
# Sample udhcpd configuration file (/etc/udhcpd.conf)
# The start and end of the IP lease block
start               192.168.16.2    #default: 192.168.0.20
end                 192.168.16.200  #default: 192.168.0.254
interface          eth1.16
max_leases      199
option     dns       192.168.16.254 192.168.16.1
option     subnet  255.255.255.0
option     router    192.168.16.1
option     domain  client-dhcp16.ptpn-11.com
option     lease     864000          # 10 days of seconds…
dan Pada Segment lain, silahkan dibuat konfigurasinya masing-masing, perhatikan interface pada VLAN.
Step 4.
load file configurasi.
/usr/sbin/udhcpd /etc/udhcpd/udhcpd.conf.16
—-
.:Good Luck:. 
Filed under: Linux







