-install paket yang dibutuhkan
Debian:~#apt-get install isc-dhcp-server
-edit file dhcp.conf
Debian:~#nano /etc/dhcp/dhcpd.conf
Edit file dibawah ini
# A slightly different configuration for an internal subnet.
subnet 192.168.50.0 netmask 255.255.255.0 {
range 192.168.50.100 192.168.50.150;
option domain-name-servers 200.100.4.1;
option domain-name "anatsatkj.com";
option routers 200.100.4.2;
option broadcast-address 192.168.50.255;
default-lease-time 600;
max-lease-time 7200;
}
Kemudian simpan
-edit file
Debian:~#/nano /etc/default/dhcp3-server
Tambahkan scrip untuk mengasih settingan ini ke interfaces mana (client).
INTERFACES=”eth1”
Kemudian simpan
-restart daemon dhcp
Debian:~#/etc/init.d/isc-dhcp-server restart
0 komentar:
Posting Komentar