Halaman

Selasa, 19 Juli 2011

dhcp server

Sebelumnya, selamat bagi anda yang telah berhasil Mengkonfigurasi web server. Langkah terakhir yang akan kita lakukan adalah mengkonfigurasi DHCP Server.. Silahkan ikuti langkah berikut:
* Kata2 yang bercetak tebal adalah perintah yang dijalankan pada komputer server.
* Kata2 yang berwarna merah adalah yang harus anda ubah atau buat.

1) apt-get install dhcp3-server
Non-authoritative version of DHCP server OK

2) pico /etc/dhcp3/dhcpd.conf
         # option definitions common to all supported networks...
         option domain-name "smkbisa.co.cc";
         option domain-name-servers 192.168.3.1;


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

        subnet 192.168.3.0 netmask 255.255.255.0 {
        range 192.168.3.50 192.168.3.100;
        option routers  192.168.3.254
        }
         * Untuk kata yang tidak saya cantumkan, jangan diubah/dihapus.
3) Reboot
4) Sambil menunggu komputer server hidup kembali. Ubah settingan TCP/IP di client windows menjadi Automatic.
5) Kemudian ping dari komp windows ke komp server.
C:\Users\antoro>ping 192.168.3.1
         Pinging 192.168.3.1 with 32 bytes of data:
         Reply from 192.168.3.1: bytes=32 time<1ms TTL=64
         Reply from 192.168.3.1: bytes=32 time<1ms TTL=64
         Reply from 192.168.3.1: bytes=32 time<1ms TTL=64
         Reply from 192.168.3.1: bytes=32 time=1ms TTL=64
         Ping statistics for 192.168.3.1:
         Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
         Approximate round trip times in milli-seconds:
         Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\Users\antoro>ping 192.168.3.51
         Pinging 192.168.3.51 with 32 bytes of data:
         Reply from 192.168.3.51: bytes=32 time=1ms TTL=64
         Reply from 192.168.3.51: bytes=32 time<1ms TTL=64
         Reply from 192.168.3.51: bytes=32 time<1ms TTL=64
         Reply from 192.168.3.51: bytes=32 time<1ms TTL=64
         Ping statistics for 192.168.3.51:
         Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
         Approximate round trip times in milli-seconds:
         Minimum = 0ms, Maximum = 1ms, Average = 0ms
6) maka dhcp server anda sudah berhasil
    setelah itu kita konfigurasi ftp server

Tidak ada komentar:

Posting Komentar