how to install and configure dhcp server

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.

Bookmarks:
  • Facebook
  • Google Bookmarks
  • Digg
  • LinkedIn
  • Twitter

Related posts:

  1. how to install and configure nginx webserver on ubuntu caranya cukup mudah : install nginx user@computer:$ sudo apt-get install...
  2. how to install VMware-server-1.0.8 on Ubuntu Jaunty Jackalope pertama, download vmware server di http://download3.vmware.com/software/vmserver/VMware-server-1.0.8-126538.tar.gz. setelah itu lakukan proses...
  3. how to configure php as fastcgi on nginx install php user@computer:$ sudo apt-get install php5-cgi buat file...
  4. how to setting dns server pertama install bind9 : user@computer:$ sudo apt-get install bind9 kemudian...
  5. how to install wordpress mu on nginx setting dns server tambahkan zone sarunkgenk.com di file /etc/bind/named.conf user@computer:$...

Related posts brought to you by Yet Another Related Posts Plugin.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">