# apt-get install dhcp3-serverEdit file konfigurasi di /etc/dhcp3/dhcpd.conf.
Setting default domain untuk client:
option domain-name "emnaz.org";Setting default name server:
option domain-name-servers 192.168.4.253, 192.168.4.252;Alokasikan alamat IP dan gateway (router) :
subnet 192.168.4.0 netmask 255.255.255.0 {Mengalokasikan IP khusus untuk MAC address tertentu
range 192.168.4.100 192.168.4.250;
option routers 192.168.4.254;
}
host www {Aktifkan konfigurasi:
hardware ethernet 00:0D:87:B3:AE:A6;
fixed-address 192.168.4.6;
}
# /etc/init.d/dhcp3-server restartKalau ada pesan kesalahan periksa:
# tail /var/log/syslog | grep dhcpd
Links:
Debian DHCP Server
No comments:
Post a Comment