Jumat, 12 Oktober 2012

INSTALASI DHCP SERVER PADA UBUNTU SERVER



· Install DHCP server
sudo apt-get install isc-dhcp-server

· Menentukan interface / lan dhcp
sudo pico /etc/default/isc-dhcp-server

dan rubah /isi INTERFACESnya menjadi

INTERFACES = “eth1”

· konfigurasi dhcp

sudo pico /etc/dhcp/dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200 ;
option domain-name-servers 202.134.1.10, 203.130.209.242 ;
option domain-name “smkbhakti.net”;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0 ;
option routers 192.168.0.1;
default-lease-time 600;
max-lease-time 604800;
}

· menjalankan konfigurasi / restart dhcp
sudo /etc/init.d/isc-dhcp-server restart

Tidak ada komentar:

Posting Komentar