Pages

Kamis, 01 November 2012

Konfigurasi DHCP Debian Lenny 5

1) apt-get install dhcp3-server
2) pico /etc/dhcp3/dhcpd.conf
        
         # If this DHCP server is the official DHCP server for the local
         # network, the authoritative directive should be uncommented.
         # authoritative; (hilangkan pagar didepannya)

         # A slightly different configuration for an internal subnet.
        # subnet 200.20.6.0 netmask 255.255.255.248 {
         # range 200.20.6.2 200.20.6.6;
         # option domain-name-servers 200.20.6.1;   (hilangkan tanda pagar dari subnet sampai bawah)
         # option domain-name "ajar.com;
         # option routers 200.20.6.0;
         # option broadcast-address 200.20.6.7;
         # default-lease-time 600;
         # max-lease-time 7200;
          # }






3) simpan dengan CTRL + X - Y - enter

4) restart   /etc/init.d/dhcp3-server 

5) Kemudian ping dari komputer client.

C:\Users\king>ping 200.20.6.1
         Pinging 200.20.6.1 with 32 bytes of data:
         Reply from 200.20.6.1: bytes=32 time=1ms TTL=64
         Reply from 200.20.6.1: bytes=32 time<1ms TTL=64
         Reply from 200.20.6.1: bytes=32 time<1ms TTL=64
         Reply from 200.20.6.1: bytes=32 time<1ms TTL=64
         Ping statistics for 192.168.1.1:
         Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
         Approximate round trip times in milli-seconds:
         Minimum = 0ms, Maximum = 1ms, Average = 0ms

1 komentar: