DHCP di Linux ( Red Hat )

–          Ketik “vi /etc/dhcpd.conf”

dhcpd

–          Di dalamnya tulis script seperti ini :

Ddns-update-style ad-hoc;

Subnet 192.168.7.0 netmask 255.255.255.0 {

Range 192.168.7.10 192.168.7.50;

Default-lease-time 60000;

Option subnet-mask 255.255.255.0;

Option broadcast-address 192.168.7.255;

Option routers 192.168.7.1;

Option domain-name-servers 192.168.7.7;

Option domain-name “vlail.com”;

}

–          Range = IP client awal sampai akhir, default-lease-time = waktu aktif, domain-name = domain.

–          Lalu save.

–          Lalu restart service dhcpd dengan mengetik “service dhcpd restart”.

–          Selesai.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: