1. Install dhcp
# apt-get install dhcp3-server
2. edit seperti ini dan hilangkan tanda (#) di dhcp.conf :
# pico /etc/dhcp3/dhcp.conf
cari text ;
# A slightly different configuration for an internal subnet.
subnet 192.168.8.0 netmask 255.255.255.0 {
range 192.168.8.1 192.168.8.4;
range 192.168.8.6 192.168.8.254;
option domain-name-servers 192.168.7.13;
option domain-name “shine.com”;
option routers 192.168.8.5;
option broadcast-address 192.168.8.255;
default-lease-time 600;
max-lease-time 7200;
}
> Restart dhcp: # /etc/init.d/dhcp3-server restart
> Dan setting client dg ip dhcp.
NB: Untuk setingan Ip bisa disesuaikan sesuai kebutuhan....
0 komentar:
Posting Komentar