Dec 27, 2009

DHCP Server ( Dynamic Host Configuration Protocol ) "dhcp3-server"









---------------------------------------------------------------------------------------

1. Install paket dhcp server

# apt-get install dhcp3-server

2. Konfigurasi dhcp server

# pico /etc/dhcp3/dhcp.conf

cari kode :

------------------------------------------------------------------------------------------------

optiondomain-name-servers 192.168.254.1; (...Ket : IP DNS)
subnet 192.168.1.0 netmask 255.255.255.0 { (...Ket : NET ID dan NETMASK)
range 192.168.1.50 192.168.1.100; (...Ket : Range IP)
optiondomain-name-servers 192.168.254.1; (...Ket : IP DNS)
option domain-name “erickiso.com”; (...Ket : domain)
option routers 192.168.1.254; (...Ket : IP GATEAWAY)
option broadcast-address 192.168.1.101; (...Ket : IP BROADCAST)
default-lease-time 3600;
max-lease-time 7200;
}

-----------------------------------------------------------------------------------------------

3. Konfigurasi interface default

# pico /etc/default/dhcp

cari kode :

-----------------------------------------------------------------------------------------------

INTERFACE=”eth0″

(interface yang digubakan sbg dhcp server)

-----------------------------------------------------------------------------------------------

Restart DHCP server

# /etc/init.d/dhcp3-server restart "jika tidak ada error, berarti konfigurasi benar dan lacar...

4. Konfigurasi interface card

auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254

----------------------------------------------------------------------------------------

konfigurasi pada client dengan DHCP ...

0 comments:

Post a Comment

Silahkan Jika ada Keluhan Atau Kurang Jelas!

Komentar anda merupakan inspirasi Kami

Twitter Delicious Facebook Digg Stumbleupon Favorites More