• Chat With Me

install dhcp3-server di ubuntu server 11.04

install dhcp3-server di ubuntu server 11.04

langsung aja
1.install paket apt-get install dhcp3-server
2.ubah file dhcpd.conf
sudo vi /etc/dhcp/dhcpd.conf

#sample configuration
ddns-update-style none;

option domain-name “bla2.com”;
option domain-name-server ns1.contoh.com, ns2.contoh2.com;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;

subnet 192.168.1.0 netmask 255.255.255.0; {
range 192.168.1.10 192.168.1.20;
option routers 192.168.1.254;
option broadcast-address 192.168.1.255;
}

3.ubah file isc-dhcp-server untk menentukan interface yg mana yg akan memberi ip ke client
sudo vi /etc/default/isc-dhcp-server cari tulisan INTERFACE=”"
contoh:
INTERFACE=”eth1″ # masukan interfacenya diantara tanda petik dua tsb

4.edit file sudo vi /etc/network/interfaces
auto eth1
iface eth1 inet static
address 192.168.1.254
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0

5.terakhir jalankan sudo /etc/init.d/isc-dhcp-server start
jika tampil *Starting ISC DHCP Server dhcpd [ OK ]
selamat anda berhasil,jika blum cba cek lgi konfigurasinya,, :D

created by : k0d0ks_unix :D

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.