Jumat, 10 Februari 2012

Setting DHCP Server

,
Menggunakan OS Linux Ubuntu 10.04

Install DHCP
$ sudo apt-get install dhcp3-server

Edit setting di file dhcpd.conf
$ sudo gedit /etc/dhcp/dhcpd.conf

cari setting di bagian
 #slightly different configuration for an internal subnet
kemudian setting dibagian ini :


# A slightly different configuration for an internal subnet.
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.1 192.168.2.30;
option domain-name-servers 202.155.0.10,202.155.0.15;
option domain-name “kelompok2.com”;
option routers 192.168.2.1;
option broadcast-address 192.168.2.255;
default-lease-time 600;
max-lease-time 7200;
}

==> save

Restart DHCP
$ sudo service isc-dhcp-server restart

1 komentar:

Posting Komentar