1.
apt-get install dhcp3-server
2.
nano /etc/dhcp/dhcp.conf
Beri tanda “#”
pada semua baris. Kecuali baris script di bawah ini. Sesuai alokasi ip dengan
topologi jaringan.
#.....
# A slightly different configuration for an
internal subnet.
subnet
192.168.10.0 netmask 255.255.255.0 {
range
192.168.10.1 192.168.10.10;
option
domain-name-servers harnanda.edu;
option
domain-name “harnanda.edu”;
option routers
192.168.10.254;
option
broadcast-address 192.168.10.254;
default-lease-time
600;
max-lease-time
7200;
}
#.....
3.
nano /etc/default/isc-dhcp-server
#Separate
multiple interfaces with spaces, e.g. “eth0 eth1”.
INTERFACES=”eth1”
4.
/etc/init.d/isc-dhcp-server restart
0 komentar:
Posting Komentar