Download Games dan software Gratis Zulmi's Blog: Buat DHCP Server pada Red Hat 9 Download Games dan software Gratis

Minggu, 12 Desember 2010

Buat DHCP Server pada Red Hat 9

Ketentuan

Server:

IP ADDRESS 192.168.30.1

NETMSK 255.255.255.0 (/24)

GATEWAY 192.168.30.254

Client:

IP ADDRESS 192.168.30.10

NETMASK 255.255.255.0 (/24)

GATEWAY 192.168.30.254

DNS 192.168.30.1

  1. Siapkan PC yang sudah terinstall system operasi Red Hat 9
  2. Pastikan DNS Server sudah siap digunakan
  3. Setting file resolv.conf

# vi /etc/resolv.conf

search zulmi.net

nameserver 192.168.30.1

  1. install paket dhcp

# rpm -ivh dhcp-3.0pl1-23.i386.rpm

  1. copy file dhcpd.conf pada directory /usr/share/doc/dhcp-3.0pl1/

# cp dhcpd.conf.sample /etc/dhcpd.conf

  1. edit konfigurasi dhcp server

# vi /etc/dhcpd.conf

subnet 192.168.30.0 netmask 255.255.255.0 {

# --- default gateway

option routers 192.168.30.1;

option subnet-mask 255.255.255.0;

option domain-name "zulmi.net";

option domain-name-servers 192.168.30.1;

range dynamic-bootp 192.168.30.10 192.168.30.25;

hardware ethernet 00:0C:29:C9:D5:FD; รจ mac address PC server

  1. restart dhcpd

# service dhcpd restart

  1. cek pada client

Tidak ada komentar:

Posting Komentar