[ask]kenapa tidak bisa dhcp dengan ip 192.168.19.1

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
dieciel
Posts: 39
Joined: 09 May 2010, 20:43
Location: Palembang
Contact:

[ask]kenapa tidak bisa dhcp dengan ip 192.168.19.1

Postby dieciel » 28 Feb 2011, 23:21

oom ane mo nanya ne,knapa dengan ip 192.168.19.1 ane g bisa dhcp, klo di restart slalu muncul gini om
root@adogawe:/home/dieciel# /etc/init.d/dhcp3-server restart
* Stopping DHCP server dhcpd3 [fail]
* Starting DHCP server dhcpd3
* check syslog for diagnostics.
[fail]

ne settingan interface ny om
interfaces
auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.19.1
netmask 255.255.255.0
auto eth0


dan ini settingan dhcp nya
dhpcd.conf
ddns-update-style none;
subnet 192.168.19.0 netmask 255.255.255.0 {
option broadcast-address 192.168.19.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.19.1;
option domain-name "adogawe.net";
option routers 192.168.19.1;
option netbios-name-servers 192.168.19.1;
default-lease-time 600;
max-lease-time 604800;
range 192.168.19.10 192.168.19.20;
}


kalo ane rubah jadi 192.168.0.1 bisa oom,kira2 knapa ya oom, mastah?
User avatar
Soekarmana
Posts: 466
Joined: 23 May 2010, 22:34
Location: Denpasar
Contact:

Re: [ask]kenapa tidak bisa dhcp dengan ip 192.168.19.1

Postby Soekarmana » 01 Mar 2011, 07:54

ini pake ubuntu server apa desktop gan?
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: [ask]kenapa tidak bisa dhcp dengan ip 192.168.19.1

Postby thrvers » 01 Mar 2011, 08:09

'
dhcp3-server

edit 3 file :D
/etc/network/interfaces
/etc/dhcp3/dhcpd.conf
/etc/default/dhcp3-server

coba lagi, jangan lupa restart dhcp3 nya habis config2
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [ask]kenapa tidak bisa dhcp dengan ip 192.168.19.1

Postby sipelaut » 01 Mar 2011, 08:52

btw....
netmasknya gak kebanyakan brooo
coba yang ini nichh... [0] siapa tau lebih cepet :)


[0] http://ubuntu-indonesia.com/forums/ubbt ... #Post52863
User avatar
dieciel
Posts: 39
Joined: 09 May 2010, 20:43
Location: Palembang
Contact:

Re: [ask]kenapa tidak bisa dhcp dengan ip 192.168.19.1

Postby dieciel » 01 Mar 2011, 15:25

[quote=thrvers]'
dhcp3-server

edit 3 file :D
/etc/network/interfaces
/etc/dhcp3/dhcpd.conf
/etc/default/dhcp3-server

coba lagi, jangan lupa restart dhcp3 nya habis config2


maaf oom da ane coba
di config /etc/default/dhcp3-server nya di masukin "eth0"
INTERFACES="eth0"

tetep masih eror

pesan di syslog nya kek gini
syslog
root@adogawe:/home/dieciel# tail /var/log/syslog
Mar 1 15:25:00 adogawe dhcpd: Wrote 0 leases to leases file.
Mar 1 15:25:00 adogawe dhcpd:
Mar 1 15:25:00 adogawe dhcpd: No subnet declaration for eth0 (192.168.19.1).
Mar 1 15:25:00 adogawe dhcpd: ** Ignoring requests on eth0. If this is not what
Mar 1 15:25:00 adogawe dhcpd: you want, please write a subnet declaration
Mar 1 15:25:00 adogawe dhcpd: in your dhcpd.conf file for the network segment
Mar 1 15:25:00 adogawe dhcpd: to which interface eth0 is attached. **
Mar 1 15:25:00 adogawe dhcpd:
Mar 1 15:25:00 adogawe dhcpd:
Mar 1 15:25:00 adogawe dhcpd: Not configured to listen on any interfaces!