how to install and configure dhcp server

Sep 16th, 2009 | Posted by

salah satu cara untuk configure dhcp server adalah sbb :

  1. install dhcp server
    user@computer:$ sudo apt-get install dhcp3-server
  2. ubah file /etc/dhcp3/dhcpd.conf :
    user@computer:$ sudo vim /etc/dhcp3/dhcpd.conf

    ddns-update-style none;
    option domain-name "cuplis.lokal";
    option domain-name-servers 192.168.17.12;
    option routers 192.168.22.1;
    default-lease-time 42300;
    max-lease-time 84600;
    subnet 192.168.22.0 netmask 255.255.255.0 {
    range 192.168.22.1 192.168.22.10;
    }

note :
option domain-name “cuplis.lokal”; => untuk menentukan domain name untuk client DHCP
option domain-name-servers 192.168.17.12; => untuk menentukan ip DNS server untuk client DHCP
option routers 192.168.22.1; => untuk menentukan gateway untuk client DHCP
default-lease-time 42300; => untuk menentukan lama peminjaman atau sewa default ip address
max-lease-time 84600; => untuk menentukan lama maksimal peminjaman atau sewa ip address
range 192.168.22.1 192.168.22.10; => untuk menentukan range ip yang akan disewakan atau dipinjamkan oleh server DHCP

source : http://www.howtoforge.com/nat-gateway-iptables-port-forwarding-dns-and-dhcp-setup-ubuntu-8.10-server

Menentukan domain name untuk klient DHCP.

Related posts:

  1. how to install VMware-server-1.0.8 on Ubuntu Jaunty Jackalope
  2. how to setting dns server
  3. how to restore default panel on ubuntu
  4. how to install kpdf on ubuntu jaunty
  5. upload file ke server pada PHP
Tags: ,
No comments yet.
*