Konfigurasi DHCP Server Debian
1) apt-get
install dhcp3-server
2) nano
/etc/dhcp3/dhcpd.conf
# option definitions common to all
supported networks...
#option domain-name "……………."; {tambahtandapagar}
#option domain-name-servers ………….; {tambahtandapagar}
# If this DHCP server is the official
DHCP server for the local
# network, the authoritative directive
should be uncommented.
authoritative; {hilangkantandapagar}
# A slightly different configuration for an
internal subnet.
subnet 126.127.5.64 netmask
255.255.255.240 {
range 126.127.5.66 126.127.5.78;
option domain-name-servers 192.168.5.130;
option domain-name "itservice5.co.id";
option routers 126.127.5.65;
option broadcast-address 126.127.5.79;
default-lease-time 600;
max-lease-time 7200;
}
3) nano
/etc/default/dhcp3-server
INTERFACES=”eth2” {tambahkan eth2 pada INTERFACES}
4)
/etc/init.d/dhcp3-server restart
Post a Comment