Pages

Kamis, 28 April 2011

DHCP SERVER di UBUNTU 8.04


#apt-get install dhcp3-server
#pico /etc/dhcp3/dhcpd.conf
            # option definition common to all supported networks…
            # option domain-name “damai.co.cc;
            # option domain-name-servers damai.co.cc;

# if this DHCP server is the official DHCP server for the local
# network, the authoritative 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.15 192.168.1.20;
  option domain-name-servers 192.168.1.14;
  option domain-name “ipol.com”;
  option routers 192.168.1.14;
  option broadcast-address 192.168.1.255
  default-lease-time 600;
  max-lease-time 7200;
}
Simpan dengan ctel+o,keluar dengan ctrl+x
#/etc/init.d/dhcp3-sever restart


Harap maklum bila penulisan ada yang salah......makasih 

Tidak ada komentar:

Posting Komentar