Change Your Avatar --------------> admin
Rank : Admin
My Pets : Jumlah posting : 550 Point : 2147483647 Reputasi : 47 Join date : 2010-04-23 Age : 31 Lokasi : indonesia
| Subject: Setting DHCP Server di Debian dengan Client XP Fri 19 Nov 2010, 07:36 | |
| Langkah-langkahnya adalah :
1. setting IP server menjadi 192.168.2.1
#vi /etc/network/interfaces [enter]
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo iface lo inet loopback
# The primary network interface auto eth1 iface eth1 inet static address 192.168.2.1 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255
Kemudian aktifkan perubahan IP pada interface dengan perintah : #/etc/init.d/networking restart [enter] 2. Langkah kedua ini saya asumsikan kita menginstal file dhcp server dari usb flashdisk. #mkdir /tmp/flash #mount /dev/sda /tmp/flash #dpkg -i /tmp/flash/dhcp3-server_3.0.4-13_i386.deb 3. Edit file /etc/dhcp3/dhcpd.conf, tambahkan baris-baris berikut
# Sample /etc/dhcp3/dhcpd.conf # (add your comments here) default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option broadcast-address 192.168.2.255; option routers 192.168.2.254; option domain-name-servers 192.168.2.1; option domain-name “smkcikini-2009.sch.id”; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.100 192.168.2.200; }
Aktifkan perubahan dengan perintah #/etc/init.d/dhcp3-server restart 4. pada client XP anda ubah properties TCP/IP ke automatically |
|