dhcp server debian 5

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 "tkj.com";
         option domain-name-servers ''adi.tkj.com'';

         # 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 172.16.1.0 netmask 255.255.255.192 {
         range 172.16.1.2 172.16.10.61;
         option domain-name-servers 172.16.1.62;
         option domain-name "situstkj.co.cc";
         option routers 172.16.1.0;
         option broadcast-address 172.16.1.63;
         default-lease-time 600;
         max-lease-time 7200;
         }



 * 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 172.16.1.62
         Pinging 172.16.1.62 with 32 bytes of data:
         Reply from 172.16.1.62: bytes=32 time<1ms TTL=64
         Reply from 172.16.1.62: bytes=32 time<1ms TTL=64
         Reply from 172.16.1.62: bytes=32 time<1ms TTL=64
         Reply from 172.16.1.62: bytes=32 time=1ms TTL=64
         Ping statistics for 172.16.1.62:
         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.1.1
         Pinging 192.168.1.1 with 32 bytes of data:
         Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
         Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
         Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
         Reply from 192.168.1.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
6) Check mulai dari DNS, Web, Mail, Ftp, Proxy. Jika bisa, berarti konfigurasi anda berhasil.

0 komentar:

Post a Comment

Powered by Blogger.

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Web Hosting Coupons