Langkah-langkah Konfigurasi DHCP server :
1. Install DHCP server
> yast > Software > Software Management
2. Masuk ke folder /etc :
> cd /etc
3. Backup data dhcpd.conf :
> mv dhcpd.conf dhcpd.conf.backup
4. Buat file dhcpd.conf baru :
> touch dhcpd.conf
5. Isi file dhcpd.conf yang baru itu :
> vim dhcpd.conf
> Isinya sebagai berikut :
=====================================================
ddns-update-style interim ;
ignore client-updates ;
subnet 172.19.21.168 netmask 255.255.255.248
{
option routers 172.19.21.169 ;
option subnet-mask 255.255.255.248 ;
option domain-name "conscription.net" ;
option domain-name-servers 202.134.0.155 ;
range dynamic-bootp 172.19.21.172 172.19.21.174 ;
default-lease-time 21600; max-lease-time 43200;
}
=====================================================
> Save : :wq
6. Edit file dhcpd di /etc/sysconfig :
> vim /sysconfig/dhcpd
> Edit DHCP Interface = "eth1"
> save : :wq
7. Restart dhcpd server :
> /etc/init.d/dhcpd restart
Tidak ada komentar:
Posting Komentar
Komentar menggunakan bahasa yang baik dan benar.