Senin, 20 Juni 2011

Langkah-langkah Konfigurasi DHCP Server di Ubuntu

KONFIGURASI DHCP SERVER
# apt-get install dhcp3-server
# pico /etc/dhcp3/dhcpd.conf
          # option definitions common to all supported networks...
          # option domain-name "situstkj.co.cc";
          # option domain-name-server antoro.situstkj.co.cc;

          # If this DHCP server is the official DHCP server for the local
          # network, the autoritative directive should be uncommented.
          authoritative;

          # A slightly different configuration for an internal subnet.
             subnet 192.168.1.0 netmask 255.255.255.0
             range 192.168.1.101 192.168.1.103;
             option domain-name-servers 192.168.1.100;
             option domain-name "desy.com";
             option routers 192.168.1.100;
             option broadcast-address 192.168.1.255;
             default-lease-time 600;
             max-lease-time 7200;
          }
Simpan dengan ctrl+o, keluar dangan ctrl+x
# /etc/init.d/dhcp3-server start
# ping desy.com

Tidak ada komentar:

Posting Komentar