LAPORAN PRAKTIKUM Debian 6

16
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 111427 TEKNIK KOMPUTER DAN JARINGAN SEKOLAH MENENGAH KEJURUAN NEGERI 5 SEMARANG Jl. Dr Cipto 121 (024) 8416335 – 8457160 Fax (024) 8447476 Semarang 50124 e-mail: in f [email protected] c h.id website: www.s m kn5smg.s c h.id 2013

description

LAPORAN PRAKTIKUM Debian 6

Transcript of LAPORAN PRAKTIKUM Debian 6

Page 1: LAPORAN PRAKTIKUM Debian 6

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 JARINGANSEKOLAH MENENGAH KEJURUAN NEGERI 5 SEMARANG Jl. Dr Cipto 121 (024) 8416335 – 8457160 Fax (024) 8447476 Semarang

50124 e-mail: in f [email protected] c h.id website: www.s m kn5smg.s c h.id

2013

Page 2: LAPORAN PRAKTIKUM Debian 6

ii

KATA PENGANTAR

Bla…

Page 3: LAPORAN PRAKTIKUM Debian 6

DAFTAR ISI

HALAMAN JUDUL PRAKTIKUM .............................................................. i KATA PENGANTAR .................................................................................... iii DAFTAR ISI ................................................................................................... iv

BAB I PENDAHULUAN1.1 Latar Belakang Praktikum ....................................................... 11.2 Manfaat Praktikum .................................................................. 21.3 Tujuan Praktikum .................................................................... 3

BAB II PROSES PENGERJAAN2.1 Gambar Kerja ..........................................................................2.2 Alat dan Bahan ........................................................................2.3 Proses Kerja .............................................................................2.4 Troubleshooting .......................................................................

BAB III TEMUAN3.1 Faktor Pendukung dan Penghambat ........................................3.2 Manfaat yang Dirasakan ..........................................................

BAB IV PENUTUP4.1 Kesimpulan ..............................................................................4.2 Saran ........................................................................................

LAMPIRANFile dhcpd.confFile dhcp.leasesFile named.conf.default-zoneFile db.(forward zone)File db.(reverse.zone)

Page 4: LAPORAN PRAKTIKUM Debian 6

BAB I

PENDAHULUAN

1.1 Latar Belakang Praktikumtugas 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. Koputer2. Virtualbox3. debian-6.0.2.1-i386-DVD-1

2.3 Proses Kerja

DHCP SERVER1. config ip dulu

Page 5: LAPORAN PRAKTIKUM Debian 6

2. restart network

3. install dhcp server

Ikuti perintahnya selanjutnya

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

5. edit yang ini

Page 6: LAPORAN PRAKTIKUM Debian 6

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

Page 7: LAPORAN PRAKTIKUM Debian 6

DNS SERVER

1. INSTALL dns server lalu

Page 8: LAPORAN PRAKTIKUM Debian 6

2. Edit file config-nya

3. Edit default zone-nya sesuaikan settingannya

4. Edit db localnya

Page 9: LAPORAN PRAKTIKUM Debian 6

5. Edit db.127

6. Restart service dns

Page 10: LAPORAN PRAKTIKUM Debian 6

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 PenghambatPendukung:1. baca tutorial2. 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

Page 11: LAPORAN PRAKTIKUM Debian 6

BAB IV

PENUTUP

4.1 Kesimpulankesel

4.2 Saran

Sabar & Teliti

Page 12: LAPORAN PRAKTIKUM Debian 6

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 ; Retry2419200 ; 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 ; Retry2419200 ; Expire 604800 ) ; Negative Cache TTL

;@ IN NS bs.org.@ IN A 192.168.1.1www IN A 192.168.1.1ftp IN A 192.168.1.1mail IN A 192.168.1.1

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

Page 13: LAPORAN PRAKTIKUM Debian 6

# 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

Page 14: LAPORAN PRAKTIKUM Debian 6

# 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;

Page 15: LAPORAN PRAKTIKUM Debian 6

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 serverszone "." {

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