Konfigurasi DHCP Debian
DHCP
Masukkan DVD debian terlebih dahulu untuk penginstallan dhcp.
Lalu masukan perintah yang tercetak tebal
labtkj:~# apt-get install dhcp3-server
labtkj:~# nano /etc/dhcp3/dhcpd.conf
# A slightly different configuration for an internal subnet.
subnet 192.168.6.0 netmask 255.255.255.224 {
range 192.168.6.2 192.168.6.24;
option
domain-name-servers
4.4.4.4,192.168.6.1;
option domain-name "fiantkj.net";
option routers 192.168.6.1;
option
broadcast-address 192.168.6.254;
default-lease-time 600;
max-lease-time 7200;
labtkj:~# nano /etc/default/dhcp3-server
INTERFACES="eth1"
labtkj:~# /etc/init.d/dhcp3-server restart
0 komentar:
Posting Komentar