Anda di halaman 1dari 15

LAPORAN PRAKTIKUM

(verdana size 12 bold)

KONFIGURASI DHCP SERVER DAN DNS SERVER


DEBIAN 6
(verdana size 14 bold)

Disusun Sebagai Salah Satu Tugas Praktikum


SK Mengadministrasi Server Dalam Jaringan
(Times size 14 bold)

Disusun Oleh :
1.

Bayu Setiawan S

1114275

TEKNIK KOMPUTER DAN JARINGAN


SEKOLAH MENENGAH KEJURUAN NEGERI 5 SEMARANG Jl.

Dr Cipto 121 (024) 8416335 8457160 Fax (024) 8447476 Semarang


50124 e-mail: info@smkn5smg.sch.id website: www.smkn5smg.sch.id

2013

KATA PENGANTAR

Bla

ii

DAFTAR ISI

HALAMAN JUDUL PRAKTIKUM ..............................................................


KATA PENGANTAR ....................................................................................
DAFTAR ISI ...................................................................................................
BAB I

BAB II

PENDAHULUAN
1.1 Latar Belakang Praktikum .......................................................
1.2 Manfaat Praktikum ..................................................................
1.3 Tujuan Praktikum ....................................................................
PROSES PENGERJAAN
2.1 Gambar Kerja ..........................................................................
2.2 Alat dan Bahan ........................................................................
2.3 Proses Kerja .............................................................................
2.4 Troubleshooting .......................................................................

BAB III TEMUAN


3.1 Faktor Pendukung dan Penghambat ........................................
3.2 Manfaat yang Dirasakan ..........................................................
BAB IV PENUTUP
4.1 Kesimpulan ..............................................................................
4.2 Saran ........................................................................................
LAMPIRAN
File dhcpd.conf
File dhcp.leases
File named.conf.default-zone
File db.(forward zone)
File db.(reverse.zone)

i
iii
iv

1
2
3

BAB I
PENDAHULUAN
1.1 Latar Belakang Praktikum
tugas pak Irvan
1.2 Manfaat Praktikum
Mempersiapkan ujian praktik
1.3 Tujuan Praktikum
1. mengumpulkan tugas

BAB II
PROSES PENGERJAAN
2.1 Gambar Kerja

2.2 Alat dan Bahan


1. Koputer
2. Virtualbox
3. debian-6.0.2.1-i386-DVD-1
2.3 Proses Kerja
DHCP SERVER
1. config ip dulu

2. restart network

3. install dhcp server


Ikuti perintahnya selanjutnya
4. edit dan hilangkan # (pagar) lalu edit sesuka anda

5. edit yang ini

6. restart service dhcp-nya klo gagal restart sampai berhasil atau cari penyebabnya lalu
lakukan troubleshooting sesuai masalahnya

7. lalu test apakah bias dhcpnya

Hasilnya kalau berhasil

DNS SERVER
1. INSTALL dns server lalu

2. Edit file config-nya

3. Edit default zone-nya sesuaikan settingannya

4. Edit db localnya

5. Edit db.127

6. Restart service dns

7. Test dns-nya

Kalau di install web server dan dibuka domainnya

2.4 Troubleshooting
Kalau terjadi error pada dhcp atau dns server coba diteliti
ulang

3.1 Faktor Pendukung dan Penghambat

Pendukung:
1. baca tutorial
2. google
Penghambat:
1. Mencari iso debian 6 satu jam baru ketemu
3.2 Manfaat yang Dirasakan
1. Mengingat kembali konfigurasi debian dns dan dhcp server pada kelas 11

BAB IV
PENUTUP
4.1 Kesimpulan
kesel

4.2 Saran
Sabar & Teliti

LAMPIRAN

Db.127
; BIND reverse data file for local loopback interface
;
$TTL 604800
@
IN
SOA
bs.org. root.bs.org. (
1
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
; Negative Cache TTL
;
@
IN
NS
bs.org.
1
IN
PTR
www.bs.org.
1
IN
PTR
ftp.bs.org.
1
IN
PTR
mail.bs.org.

Db.local
;
; BIND data file for local loopback interface
;
$TTL 604800
@
IN
SOA
bs.org. root.bs.org. (
2
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
; Negative Cache TTL
;
@
IN
NS
bs.org.
@
IN
A
192.168.1.1
www IN
A
192.168.1.1
ftp
IN
A
192.168.1.1
mail
IN
A
192.168.1.1

dhcpd.conf

#
# Sample configuration file for ISC dhcpd for Debian
#
#

# The ddns-updates-style parameter controls whether or not the server will


# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}
# This is a very basic subnet declaration.
#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}
# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.
#subnet 10.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 10.254.239.40 10.254.239.60;
# option broadcast-address 10.254.239.31;
# option routers rtr-239-32-1.example.org;
#}
# A slightly different configuration for an internal subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.254;
option domain-name-servers 192.168.1.1;
option domain-name "bs.org";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
#host passacaglia {
# hardware ethernet 0:0:c0:5d:bd:95;
# filename "vmunix.passacaglia";
# server-name "toccata.fugue.com";
#}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only

# be booted with DHCP, unless there is an address range on the subnet


# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
# hardware ethernet 08:00:07:26:c0:a5;
# fixed-address fantasia.fugue.com;
#}
# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.
#class "foo" {
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}
#shared-network 224-29 {
# subnet 10.17.224.0 netmask 255.255.255.0 {
# option routers rtr-224.example.org;
# }
# subnet 10.0.29.0 netmask 255.255.255.0 {
# option routers rtr-29.example.org;
# }
# pool {
# allow members of "foo";
# range 10.17.224.10 10.17.224.250;
# }
# pool {
# deny members of "foo";
# range 10.0.29.10 10.0.29.230;
# }
#}

dhcpd.leases
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-4.1.1-P1
lease 192.168.1.2 {
starts 4 2013/10/24 04:37:48;
ends 4 2013/10/24 04:47:48;
tstp 4 2013/10/24 04:47:48;
cltt 4 2013/10/24 04:37:48;
binding state free;
hardware ethernet 08:00:27:00:cc:6c;
uid "\001\010\000'\000\314l";
}
server-duid "\000\001\000\001\031\373C\371\010\000'`(\322";
lease 192.168.1.3 {
starts 4 2013/10/24 05:55:40;
ends 4 2013/10/24 06:05:40;
cltt 4 2013/10/24 05:55:40;
binding state active;
next binding state free;
hardware ethernet 08:00:27:00:80:9c;
uid "\001\010\000'\000\200\234";
client-hostname "K-35-PC";
}
lease 192.168.1.3 {
starts 4 2013/10/24 05:55:59;
ends 4 2013/10/24 06:05:59;
cltt 4 2013/10/24 05:55:59;

binding state active;


next binding state free;
hardware ethernet 08:00:27:00:80:9c;
uid "\001\010\000'\000\200\234";
client-hostname "K-35-PC";

}
lease 192.168.1.3 {
starts 4 2013/10/24 05:56:00;
ends 4 2013/10/24 06:06:00;
cltt 4 2013/10/24 05:56:00;
binding state active;
next binding state free;
hardware ethernet 08:00:27:00:80:9c;
uid "\001\010\000'\000\200\234";
client-hostname "K-35-PC";
}

named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "bs.org" {
type master;
file "/etc/bind/db.local";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

Konfugirasi DHCP Server dan DNS Server di Debian 6

5 |5

Anda mungkin juga menyukai