(ASK) DHCP server di Ubuntu server 10.04

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
pakcamat
Posts: 5
Joined: 22 Nov 2010, 16:35
Location: camat
Contact:

(ASK) DHCP server di Ubuntu server 10.04

Postby pakcamat » 22 Nov 2010, 16:37

Dear kk semua,

Saya mo tanya, Begini ceritanya :
Saya dah insall Ubuntu 10.04 yang server edition, nah pertama kali saya mo coba2 jadiin DHCP server,

pada saat proses penginstallan terjadi fail kayak gini...

root@indonesia:/home# aptitude -y install dhcp3-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
dhcp3-server
0 packages upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
Need to get 0B/377kB of archives. After unpacking 885kB will be used.
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package dhcp3-server.
(Reading database ... 44339 files and directories currently installed.)
Unpacking dhcp3-server (from .../dhcp3-server_3.1.3-2ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up dhcp3-server (3.1.3-2ubuntu3) ...
* Starting DHCP server dhcpd3
* check syslog for diagnostics. [fail]
invoke-rc.d: initscript dhcp3-server, action "start" failed.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

root@indonesia:/home#


syslognya seperti ini....

root@indonesia:/home# cat /var/log/syslog | grep dhcp | tail
Nov 22 15:40:21 indonesia dhcpd: Wrote 0 leases to leases file.
Nov 22 15:40:21 indonesia dhcpd:
Nov 22 15:40:21 indonesia dhcpd: No subnet declaration for eth1 (203.135.180.148).
Nov 22 15:40:21 indonesia dhcpd: ** Ignoring requests on eth1. If this is not what
Nov 22 15:40:21 indonesia dhcpd: you want, please write a subnet declaration
Nov 22 15:40:21 indonesia dhcpd: in your dhcpd.conf file for the network segment
Nov 22 15:40:21 indonesia dhcpd: to which interface eth1 is attached. **
Nov 22 15:40:21 indonesia dhcpd:
Nov 22 15:40:21 indonesia dhcpd:
Nov 22 15:40:21 indonesia dhcpd: Not configured to listen on any interfaces!
root@indonesia:/home#



kira - kira kenapa ya kk semua, mohon bantuannya....
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: (ASK) DHCP server di Ubuntu server 10.04

Postby thrvers » 22 Nov 2010, 16:44

'
sudah di konfigurasi belum dhcp-server nya :D

= :o =
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: (ASK) DHCP server di Ubuntu server 10.04

Postby MasDjo » 22 Nov 2010, 19:25

edit /etc/dhcp3/dhcpd.conf jadi kira2 seperti ini (IP sesuaikan dg jaringan anda):

Code: Select all

ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
option domain-name "local.domain"; #sesuaikan keinginan
option routers 192.168.0.1;
option netbios-name-servers 192.168.0.1;
default-lease-time 600;
max-lease-time 604800;
log-facility local7;
range 192.168.0.100 192.168.0.200;
}


karena dari eror syslog yg dipakai eth1 edit /etc/default/dhcp3-server, dijadikan :

Code: Select all

INTERFACES="eth1"


terakhir, restart dhcp server :

Code: Select all

sudo /etc/init.d/dhcpd3-server restart


Sebenarnya step2 untuk membuat server ubuntu secara detail & lengkap sudah ada di Tutorial Server Ubuntu dan sudah beberapa kali dimuat di forum ini
User avatar
pakcamat
Posts: 5
Joined: 22 Nov 2010, 16:35
Location: camat
Contact:

Re: (ASK) DHCP server di Ubuntu server 10.04

Postby pakcamat » 23 Nov 2010, 15:21

thrvers wrote:'
sudah di konfigurasi belum dhcp-server nya :D

= :o =



blm .. baru install dah fail gitu..

MasDjo wrote:edit /etc/dhcp3/dhcpd.conf jadi kira2 seperti ini (IP sesuaikan dg jaringan anda):

Code: Select all

ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
option domain-name "local.domain"; #sesuaikan keinginan
option routers 192.168.0.1;
option netbios-name-servers 192.168.0.1;
default-lease-time 600;
max-lease-time 604800;
log-facility local7;
range 192.168.0.100 192.168.0.200;
}


karena dari eror syslog yg dipakai eth1 edit /etc/default/dhcp3-server, dijadikan :

Code: Select all

INTERFACES="eth1"


terakhir, restart dhcp server :

Code: Select all

sudo /etc/init.d/dhcpd3-server restart


Sebenarnya step2 untuk membuat server ubuntu secara detail & lengkap sudah ada di Tutorial Server Ubuntu dan sudah beberapa kali dimuat di forum ini


makasih2 inponya kk semua, saya coba dlu ya...
User avatar
pakcamat
Posts: 5
Joined: 22 Nov 2010, 16:35
Location: camat
Contact:

Re: (ASK) DHCP server di Ubuntu server 10.04

Postby pakcamat » 17 Dec 2010, 17:31

kakak.. tolong lagi..

dah jalan DHCPnya...

Di kompi klien.. ngeping gatwey nya replay...

nah sekarang.. gak bisa ngeping DNS server.. padahal kompi klien dapet DNS dari server, tapi kenapa gak bisa ngeping DNS server ya.... ??
User avatar
pakcamat
Posts: 5
Joined: 22 Nov 2010, 16:35
Location: camat
Contact:

Re: (ASK) DHCP server di Ubuntu server 10.04

Postby pakcamat » 05 Jan 2011, 15:33

kok gak ada yang jawab ya.. :P
User avatar
c0jack
Posts: 743
Joined: 12 Jan 2010, 10:33
Location: Jogjakarta, Indonesia
Contact:

Re: (ASK) DHCP server di Ubuntu server 10.04

Postby c0jack » 07 Jan 2011, 10:05

DNS server letaknya dmn bro? di DNS server ada rule iptables buat blok paket ICMP ga?


regards,
c0jack
User avatar
khairulannas
Posts: 3
Joined: 09 Jan 2011, 13:27
Location: Magelang
Contact:

Re: (ASK) DHCP server di Ubuntu server 10.04

Postby khairulannas » 09 Jan 2011, 14:01

kalo pertama install sih emang failed gitu...
abis di install harusnya di setting dulu dhcpnya,, trus di restart dhcpnya... gitu..

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests