* 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) nano /etc/dhcp3/dhcpd.conf
# option definitions common to all supported networks...
option domain-name "danang.net";
option domain-name-servers danang.net;
# 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 10.5.6.0 netmask 255.255.255.0 {
range 10.5.6.5 10.5.6.20;
option domain-name-servers 10.5.6.1;
option domain-name "danang.net";
option routers 10.5.6.1;
option broadcast-address 10.5.6.255;
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: 5) Kemudian ping dari komp windows ke komp server. C:\Users\antoro>ping 10.5.6.1 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 |
No comments:
Post a Comment