24 Des 2008

Install Konfigurasi DHCP Server Di Fedora Core 6

Download Paket RPM untuk DHCP di :
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/dhcp-3.0.2-34.FC6.i386.rpm

Atau gunakan perintah wget jika terkoneksi ke internet :
wget http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/dhcp-3.0.2-34.FC6.i386.rpm

Ketikkan Perintah :
[root@localhost] rpm -ivh dhcp-3.0.2-34.FC6.i386.rpm

Edit File dhcpd.conf.
[root@localhost] vi /etc/dhcpd.conf

Isi dengan perintah dibawah ini :

#Definisi Subnet
subnet 192.168.0.0 netmask 255.255.255.0
{
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.200;

range dynamic-bootp 192.168.0.111 192.168.0.195;
default-lease-time 21600;
max-lease-time 43200;

#Seting Reservation IP
host jumali {
hardware ethernet 00:50:BA:7B:56:78:21;
fixed-address 192.168.0.119;
}

}

Dengan Asumsi :

* Range IP Address : 192.168.0.111 - 192.168.0.195
* Default Gateway : 192.168.0.1
* DNS : 192.168.0.200
* Komputer Dengan Nama Jumali diberi IP 192.168.0.119

Untuk menyimpan dan keluar dari editor vi ketikkan perintah :wq!

Aktifkan DHCP Service :

[root@localhost] dhcpd
atau
root@localhost] /etc/init.d/dhcpd start

Semoga Membantu