dhcp server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

dhcp server

Postby sipelaut » 05 Sep 2013, 11:01

salam
konfigurasi dhcp server
Tampilkan
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
log-facility local7;

subnet 192.168.11.0
netmask 255.255.255.240
{
option broadcast-address 192.168.11.16;
option subnet-mask 255.255.255.240;
option domain-name-servers 192.168.11.1;
option domain-name "umum.net";
option routers 192.168.11.1;
option netbios-name-servers 192.168.11.1;
option netbios-node-type 8;
range 192.168.11.2 192.168.11.15;
}
host datacenter {
hardware ethernet 90:2b:34:04:4b:8c;
fixed-address 192.168.11.3;
}
host aurel {
hardware ethernet 90:2b:34:04:C8:FC;
fixed-address 192.168.11.2;
}


# untuk keluar
subnet 192.168.10.0
netmask 255.255.255.224
{
option broadcast-address 192.168.10.31;
option subnet-mask 255.255.255.224;
option domain-name-servers 192.168.10.1;
option domain-name "umum.net";
option routers 192.168.10.1;
option netbios-name-servers 192.168.10.1;
option netbios-node-type 8;
range 192.168.10.6 192.168.10.30;
}


konfigurasi network
Tampilkan
# 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

# Ke lokal Umum
auto eth0
iface eth0 inet static
address 192.168.11.1
network 192.168.11.0
netmask 255.255.255.240
broadcast 192.168.11.16
dns-nameserver 192.168.11.1
dns-search umum.net

# ke jaringan luar
auto eth1
iface eth1 inet static
address 192.168.10.1
network 192.168.10.0
netmask 255.255.255.224
broadcast 192.168.10.31
gateway 192.168.10.1
dns-nameserver 192.168.10.1
dns-search umum.net

# ke modem
auto eth2
iface eth2 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth2 up # line maintained by pppoeconf
provider dsl-provider

yang ingin saya tanyakan
untuk network ke jaringan luar 192.168.10.0/255.255.255.224 (30 host)
dhcp saya batasi hanya sampek 30
kira2 gimana caranya bila ip yang udah dipakek bila tidak ada aktifitas bisa dipakek sama user lain
soalnya meskipun udah dikecilin
seperti ini

Code: Select all

default-lease-time 600;
max-lease-time 7200;

tetap ngak ngaruh
kadang ada user yg ngak bisa konek..
karena ip sudah digunakan.
padahal usernya off atau pc/laptop mati
atau mungkin ada konfgursi saya yang salah
mohon bantuannya
makaish sebelumnya
wassalam
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: dhcp server

Postby sipelaut » 05 Sep 2013, 13:30

masih setia menunggu :grin:
User avatar
sr_aja
Posts: 603
Joined: 10 Dec 2012, 11:21
Location: Jakarta

Re: dhcp server

Postby sr_aja » 05 Sep 2013, 16:52

[quote=sipelaut]masih setia menunggu :grin:


gw temenin dah nungguin nya...
btw.. di kliennya ada error nya ngak??