DHCP Server
Next, you will set-up DHCP Server, before its you must install dhcp3-server to make DHCP Server by using command apt-get install dhcp3-server. Afterwards, change IP in over there like hereunder:
# A slightly different configuration for an internal subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.10;
option domain-name-servers 192.168.1.1;
# option domain-name "internal.example.org";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
After that, you must exit and save its configuration. Now, you must restart dhcp by using command /etc/init.d/dhcp3-server restart. If you found problem, you must try again maybe your configuration is failed.
Tidak ada komentar:
Posting Komentar