SlideShare a Scribd company logo
Materi :
Pengertian dan Mengkonfigurasi DHCP Server
Linux (Debian 6.04)
Disajikan Oleh : Yudi Firman Santosa, S.T.
What is Dynamic Host Configuration Protocol
(DHCP)?
Dynamic Host Configuration Protocol (DHCP) is
network protocol for automatically assigning TCP/IP
information to client machines. Each DHCP client
connects to the centrally-located DHCP server which
returns that client's network configuration including IP
address, gateway, and DNS servers.
DHCP (Dynamic Host Configuration Protocol) adalah
protokol yang berbasis arsitektur client/server yang
dipakai untuk memudahkan pengalokasian alamat IP
dalam satu jaringan. Sebuah jaringan lokal yang tidak
menggunakan DHCP harus memberikan alamat IP
kepada semua komputer secara manual. Jika DHCP
dipasang di jaringan lokal, maka semua komputer yang
tersambung di jaringan akan mendapatkan alamat IP
secara otomatis dari server DHCP. Selain alamat IP,
banyak parameter jaringan yang dapat diberikan oleh
DHCP, seperti default gateway dan DNS server.
Sebuah Alamat IP adalah nomor unik yang diberikan
kepada setiap komputer di jaringan. Sekali lagi
dikatakan unik, karena dua komputer di jaringan yang
sama tidak dapat memiliki alamat IP yang sama.
DHCP is useful for fast delivery of client network
configuration. When configuring the client system, the
administrator can choose DHCP and not have to enter an IP
address, netmask, gateway, or DNS servers. The client
retrieves this information from the DHCP server. DHCP is
also useful if an administrator wants to change the IP
addresses of a large number of systems. Instead of
reconfiguring all the systems, he can just edit one DHCP
configuration file on the server for the new set of IP address.
If the DNS servers for an organization changes, the changes
are made on the DHCP server, not on the DHCP clients.
Once the network is restarted on the clients (or the clients
are rebooted), the changes will take effect.
Furthermore, if a laptop or any type of mobile computer
is configured for DHCP, it can be moved from office to
office without being reconfigured as long as each office
has a DHCP server that allows it to connect to the
network.
DHCP SERVER
Fast Delivery Network Configurastion
Easy for Adminstrator and Users
Flexible Network Configuration
Karena DHCP merupakan sebuah protokol yang
menggunakan arsitektur client/server, maka dalam
DHCP terdapat dua pihak yang terlibat, yakni DHCP
Server dan DHCP Client.
DHCP server merupakan sebuah mesin yang
menjalankan layanan yang dapat "menyewakan" alamat
IP dan informasi TCP/IP lainnya kepada semua klien
yang memintanya. Beberapa sistem operasi jaringan
seperti Windows NT Server, Windows 2000 Server,
Windows Server 2003, atau GNU/Linux memiliki
layanan seperti ini.
DHCP client merupakan mesin klien yang menjalankan
perangkat lunak klien DHCP yang memungkinkan
mereka untuk dapat berkomunikasi dengan DHCP
Server. Sebagian besar sistem operasi klien jaringan
(Windows NT Workstation, Windows 2000 Professional,
Windows XP, Windows Vista, atau GNU/Linux)
memiliki perangkat lunak seperti ini.
DHCP uses the same two ports assigned by IANA for
BOOTP: destination UDP port 67 for sending data to the
server, and UDP port 68 for data to the client. DHCP
communications are connectionless in nature.
In computer networking, the Bootstrap Protocol, or
BOOTP, is a network protocol used by a network client
to obtain an IP address from a configuration server.
DHCP Client akan mencoba untuk mendapatkan
"penyewaan" alamat IP dari sebuah DHCP server dalam
proses empat langkah berikut:
1. DHCPDISCOVER: DHCP client akan menyebarkan
request secara broadcast untuk mencari DHCP Server
yang aktif.
2. DHCPOFFER: Setelah DHCP Server mendengar
broadcast dari DHCP Client, DHCP server kemudian
menawarkan sebuah alamat kepada DHCP client.
3. DHCPREQUEST: Client meminta DCHP server untuk
menyewakan alamat IP dari salah satu alamat yang
tersedia dalam DHCP Pool pada DHCP Server yang
bersangkutan.
4. DHCPACK: DHCP server akan merespons
permintaan dari klien dengan mengirimkan paket
acknowledgment. Kemudian, DHCP Server akan
menetapkan sebuah alamat (dan konfigurasi TCP/IP
lainnya) kepada klien, dan memperbarui basis data
database miliknya. Klien selanjutnya akan memulai
proses binding dengan tumpukan protokol TCP/IP
dan karena telah memiliki alamat IP, klien pun dapat
memulai komunikasi jaringan.
Empat tahap di atas hanya berlaku bagi klien yang
belum memiliki alamat. Untuk klien yang sebelumnya
pernah meminta alamat kepada DHCP server yang sama,
hanya tahap 3 dan tahap 4 yang dilakukan, yakni tahap
pembaruan alamat (address renewal), yang jelas lebih
cepat prosesnya.
The client broadcasts messages on the physical subnet to
discover available DHCP servers.
Network administrators can configure a local router to
forward DHCP packets to a DHCP server from a different
subnet.
This client-implementation creates a User Datagram
Protocol (UDP) packet with the broadcast destination of
255.255.255.255 or the specific subnet broadcast address.
A DHCP client can also request its last-known IP address
(in the example below, 192.168.1.100).
If the client remains connected to a network for which
this IP is valid, the server may grant the request.
Otherwise, it depends whether the server is set up as
authoritative or not. An authoritative server will deny
the request, making the client ask for a new IP address
immediately. A non-authoritative server simply ignores
the request, leading to an implementation-dependent
timeout for the client to give up on the request and ask
for a new IP address.
 When a DHCP server receives an IP lease request from
a client, it reserves an IP address for the client and
extends an IP lease offer by sending a DHCPOFFER
message to the client. This message contains the
client's MAC address, the IP address that the server is
offering, the subnet mask, the lease duration, and the
IP address of the DHCP server making the offer.
 The server determines the configuration based on the
client's hardware address as specified in the CHADDR
(Client Hardware Address) field
In response to the DHCP offer, the client replies with a DHCP
request, unicast to the server, requesting the offered address.
A client can receive DHCP offers from multiple servers, but it
will accept only one DHCP offer. Based on the Transaction ID
field in the request, servers are informed whose offer the
client has accepted. When other DHCP servers receive this
message, they withdraw any offers that they might have made
to the client and return the offered address to the pool of
available addresses. In some cases DHCP request message is
broadcast, instead of being unicast to a particular DHCP
server, because the DHCP client has still not received an IP
address. Also, this way one message can let all other DHCP
servers know that another server will be supplying the IP
address without missing any of the servers with a series of
unicast messages.
When the DHCP server receives the DHCPREQUEST
message from the client, the configuration process
enters its final phase. The acknowledgement phase
involves sending a DHCPACK packet to the client. This
packet includes the lease duration and any other
configuration information that the client might have
requested. At this point, the IP configuration process is
completed.
After the client obtains an IP address, the client may use
the Address Resolution Protocol (ARP) to prevent IP
conflicts caused by overlapping address pools of DHCP
servers.
DHCP server umumnya memiliki sekumpulan alamat yang
diizinkan untuk didistribusikan kepada klien, yang disebut sebagai
DHCP Pool. Setiap klien kemudian akan menyewa alamat IP dari
DHCP Pool ini untuk waktu yang ditentukan oleh DHCP, biasanya
hingga beberapa hari. Manakala waktu penyewaan alamat IP
tersebut habis masanya, klien akan meminta kepada server untuk
memberikan alamat IP yang baru atau memperpanjangnya.
Setiap komputer yang aktif akan kontak DHCP server untuk
meminta alamat ip, subnet dan gateway. Dhcp server umumnya
memberikan alamat ip yang masih tersedia.
Urutan pemberian IP adalah dari komputer yang pertama sekali
hidup dan berturut-turut ke komputer seterusnya. Contohnya
Anda menghidupkan komputer A pertama sekali dan
mendapatkan alamat ip 192.168.1.2.
Mengkonfigurasi DHCP Pool memperhitungkan perangkat
jaringan (berbasis IP) yang akan dikonfigurasi secara manual
Contoh :
Kita mempunyai beberapa ip yang dikonfigurasi manual
dengan alasan keamanan dan kemudahan dalam trouble
shooting di jaringan untuk kebutuhan ip radio, ip modem, ip
server, cctv, absensi dll. Maka range ip address yang
dikonfigurasikan di client harus diatur tidak berbentrokan
dengan ip perangkat tersebut di atas.
Dengan kata lain, misal kita khususkan mulai dari ip
192.168.1.1 s.d. 192.168.1.20 untuk perangkat khusus tertentu
tersebut, maka dhcp pool yang kita gunakan adalah misal
192.168.1.21 s.d. 192.168.1.254
Installing DHCP server in Debian
#apt-get install dhcp3-server
Once you press enter installation will start it will ask you
some questions just you need to click ok for all three
times
http://www.debianhelp.co.uk/dhcp.htm
http://cpu-
speed.com/index.php/artikel/komputer/tutorial/4-
pengertian-dhcp
http://office.microsoft.com/en-us/images/?CTT=97
http://en.wikipedia.org/wiki/Dynamic_Host_Confi
guration_Protocol

More Related Content

What's hot

Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...Aldisella Kariya Pribady
 
16module 28 dhcp-nat
16module 28 dhcp-nat16module 28 dhcp-nat
16module 28 dhcp-nat
setioariwibowo
 
Adm server ( 7 )
Adm server ( 7 )Adm server ( 7 )
Adm server ( 7 )teguhsmk
 
Konfigurasi DHCP
Konfigurasi DHCPKonfigurasi DHCP
Konfigurasi DHCPzelvi
 
Dhcp server dan dns server
Dhcp server dan dns serverDhcp server dan dns server
Dhcp server dan dns server
muhlih
 
Dns server & dhcp server
Dns server & dhcp serverDns server & dhcp server
Dns server & dhcp server
FAHRULFAUZI071
 
Dhcp server & dns server
Dhcp server & dns serverDhcp server & dns server
Dhcp server & dns server
xcnesco
 
Instalasi dan Konfigurasi DHCP Server pada Linux
Instalasi dan Konfigurasi DHCP Server pada LinuxInstalasi dan Konfigurasi DHCP Server pada Linux
Instalasi dan Konfigurasi DHCP Server pada Linux
Donny Kurniawan
 
Dns server & dhcp server
Dns server & dhcp serverDns server & dhcp server
Dns server & dhcp server
Heri1803
 
Pengenalan Dhcpd Linux
Pengenalan Dhcpd LinuxPengenalan Dhcpd Linux
Pengenalan Dhcpd Linux
Linuxmalaysia Malaysia
 
Dhcp server dan dns server
Dhcp server dan dns serverDhcp server dan dns server
Dhcp server dan dns server
muhlih
 
Dhcp server & dns server
Dhcp server & dns serverDhcp server & dns server
Dhcp server & dns server
Agus60
 
Jarkom - Jilid V.3
Jarkom - Jilid V.3Jarkom - Jilid V.3
Jarkom - Jilid V.3
rezarmuslim
 
8. pel. wireless_dhcp_static-praktik
8. pel. wireless_dhcp_static-praktik8. pel. wireless_dhcp_static-praktik
8. pel. wireless_dhcp_static-praktikAgus Sulistiono
 

What's hot (18)

Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
 
Materi 5
Materi 5Materi 5
Materi 5
 
Setting dhcp server
Setting dhcp serverSetting dhcp server
Setting dhcp server
 
16module 28 dhcp-nat
16module 28 dhcp-nat16module 28 dhcp-nat
16module 28 dhcp-nat
 
Adm server ( 7 )
Adm server ( 7 )Adm server ( 7 )
Adm server ( 7 )
 
Konfigurasi DHCP
Konfigurasi DHCPKonfigurasi DHCP
Konfigurasi DHCP
 
Dhcp server dan dns server
Dhcp server dan dns serverDhcp server dan dns server
Dhcp server dan dns server
 
DHCP
DHCPDHCP
DHCP
 
Dns server & dhcp server
Dns server & dhcp serverDns server & dhcp server
Dns server & dhcp server
 
Dhcp server & dns server
Dhcp server & dns serverDhcp server & dns server
Dhcp server & dns server
 
Instalasi dan Konfigurasi DHCP Server pada Linux
Instalasi dan Konfigurasi DHCP Server pada LinuxInstalasi dan Konfigurasi DHCP Server pada Linux
Instalasi dan Konfigurasi DHCP Server pada Linux
 
Dns server & dhcp server
Dns server & dhcp serverDns server & dhcp server
Dns server & dhcp server
 
Pengenalan Dhcpd Linux
Pengenalan Dhcpd LinuxPengenalan Dhcpd Linux
Pengenalan Dhcpd Linux
 
Dhcp server dan dns server
Dhcp server dan dns serverDhcp server dan dns server
Dhcp server dan dns server
 
Dhcp server & dns server
Dhcp server & dns serverDhcp server & dns server
Dhcp server & dns server
 
Jarkom - Jilid V.3
Jarkom - Jilid V.3Jarkom - Jilid V.3
Jarkom - Jilid V.3
 
8. pel. wireless_dhcp_static-praktik
8. pel. wireless_dhcp_static-praktik8. pel. wireless_dhcp_static-praktik
8. pel. wireless_dhcp_static-praktik
 
05. apa itu dhcp
05. apa itu dhcp05. apa itu dhcp
05. apa itu dhcp
 

Viewers also liked

Pendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBOPendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBO
ahmad haidaroh
 
Context Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBOContext Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBO
ahmad haidaroh
 
Linux10 sendmail
Linux10 sendmailLinux10 sendmail
Linux10 sendmail
Jainul Musani
 
Konsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBOKonsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBO
ahmad haidaroh
 
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBOContext Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
ahmad haidaroh
 
Pumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBOPumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBO
ahmad haidaroh
 
Pushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBOPushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBO
ahmad haidaroh
 
Finite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBOFinite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBO
ahmad haidaroh
 
Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi
ahmad haidaroh
 
Analisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik KompilasiAnalisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik Kompilasi
ahmad haidaroh
 
Linux02 install SSh
Linux02 install SShLinux02 install SSh
Linux02 install SSh
Jainul Musani
 
Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7
ahmad haidaroh
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
Jainul Musani
 
Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...
Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...
Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...Eko Supriyadi
 
Mengadministrasi server dalam jaringan
Mengadministrasi server dalam jaringanMengadministrasi server dalam jaringan
Mengadministrasi server dalam jaringanEko Supriyadi
 
Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...
Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...
Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...Eko Supriyadi
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
Tan Huynh Cong
 
Pertemuan 3a Rangkaian Aritmatik-Half n Full Adder
Pertemuan 3a   Rangkaian Aritmatik-Half n Full AdderPertemuan 3a   Rangkaian Aritmatik-Half n Full Adder
Pertemuan 3a Rangkaian Aritmatik-Half n Full Adder
ahmad haidaroh
 
Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )
Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )
Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )Eko Supriyadi
 
5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014 --- www.the-xp.com
5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014  --- www.the-xp.com5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014  --- www.the-xp.com
5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014 --- www.the-xp.com
Dwi Yulianto
 

Viewers also liked (20)

Pendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBOPendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBO
 
Context Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBOContext Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBO
 
Linux10 sendmail
Linux10 sendmailLinux10 sendmail
Linux10 sendmail
 
Konsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBOKonsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBO
 
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBOContext Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
 
Pumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBOPumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBO
 
Pushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBOPushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBO
 
Finite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBOFinite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBO
 
Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi
 
Analisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik KompilasiAnalisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik Kompilasi
 
Linux02 install SSh
Linux02 install SShLinux02 install SSh
Linux02 install SSh
 
Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
 
Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...
Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...
Mendiagnosis permasalahan perangkat yang tersambung jaringan berbasis luas (w...
 
Mengadministrasi server dalam jaringan
Mengadministrasi server dalam jaringanMengadministrasi server dalam jaringan
Mengadministrasi server dalam jaringan
 
Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...
Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...
Melakukan instalasi sistem operasi jaringan berbasis gui (graphical user inte...
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Pertemuan 3a Rangkaian Aritmatik-Half n Full Adder
Pertemuan 3a   Rangkaian Aritmatik-Half n Full AdderPertemuan 3a   Rangkaian Aritmatik-Half n Full Adder
Pertemuan 3a Rangkaian Aritmatik-Half n Full Adder
 
Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )
Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )
Melakukan instalasi perangkat jaringan berbasis luas ( wide area network )
 
5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014 --- www.the-xp.com
5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014  --- www.the-xp.com5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014  --- www.the-xp.com
5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014 --- www.the-xp.com
 

Similar to 2015 01 19_administrasi_server_pertemuan_3

12558113.ppt
12558113.ppt12558113.ppt
12558113.ppt
AzkaSyuhadaAlAliyyuS
 
Konsep DHCP server untuk ASJ kelas XI.pptx
Konsep DHCP server untuk ASJ kelas XI.pptxKonsep DHCP server untuk ASJ kelas XI.pptx
Konsep DHCP server untuk ASJ kelas XI.pptx
agung914440
 
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Aldisella Kariya Pribady
 
dhcpserver-191125035609.pdf
dhcpserver-191125035609.pdfdhcpserver-191125035609.pdf
dhcpserver-191125035609.pdf
Asry Kotten
 
DHCP_Server.ppt
DHCP_Server.pptDHCP_Server.ppt
DHCP_Server.ppt
WahyuParikesit1
 
DHCP_Server.ppt
DHCP_Server.pptDHCP_Server.ppt
DHCP_Server.ppt
sahrulrohim1
 
fdokumen.com_dhcp-server-560c7297e0763.ppt
fdokumen.com_dhcp-server-560c7297e0763.pptfdokumen.com_dhcp-server-560c7297e0763.ppt
fdokumen.com_dhcp-server-560c7297e0763.ppt
ArisSetiawan874801
 
Makalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web serverMakalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web server
Gumilar Rahmat
 
DHCP Server.ppt
DHCP Server.pptDHCP Server.ppt
DHCP Server.ppt
WahyuBadil
 
MikroTIK DHCP Server
MikroTIK DHCP ServerMikroTIK DHCP Server
MikroTIK DHCP Server
Adhie Lesmana
 
Fungsi DHCP Server
Fungsi DHCP ServerFungsi DHCP Server
Fungsi DHCP Server
Slamet Nurhadi
 
Dhcp server dan dns server
Dhcp server dan dns serverDhcp server dan dns server
Dhcp server dan dns server
muhlih
 
Pertemuan 13 .dhcp
Pertemuan 13 .dhcpPertemuan 13 .dhcp
Pertemuan 13 .dhcpkhalghy
 

Similar to 2015 01 19_administrasi_server_pertemuan_3 (15)

12558113.ppt
12558113.ppt12558113.ppt
12558113.ppt
 
Konsep DHCP server untuk ASJ kelas XI.pptx
Konsep DHCP server untuk ASJ kelas XI.pptxKonsep DHCP server untuk ASJ kelas XI.pptx
Konsep DHCP server untuk ASJ kelas XI.pptx
 
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
Tugas 4 perbedaan antara jaringan komputer dhcp dan tcpatauip aldisella kariy...
 
dhcpserver-191125035609.pdf
dhcpserver-191125035609.pdfdhcpserver-191125035609.pdf
dhcpserver-191125035609.pdf
 
DHCP_Server.ppt
DHCP_Server.pptDHCP_Server.ppt
DHCP_Server.ppt
 
DHCP_Server.ppt
DHCP_Server.pptDHCP_Server.ppt
DHCP_Server.ppt
 
fdokumen.com_dhcp-server-560c7297e0763.ppt
fdokumen.com_dhcp-server-560c7297e0763.pptfdokumen.com_dhcp-server-560c7297e0763.ppt
fdokumen.com_dhcp-server-560c7297e0763.ppt
 
05. apa itu dhcp
05. apa itu dhcp05. apa itu dhcp
05. apa itu dhcp
 
Makalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web serverMakalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web server
 
DHCP Server.ppt
DHCP Server.pptDHCP Server.ppt
DHCP Server.ppt
 
MikroTIK DHCP Server
MikroTIK DHCP ServerMikroTIK DHCP Server
MikroTIK DHCP Server
 
Pertemuan 7 dhcp
Pertemuan 7 dhcpPertemuan 7 dhcp
Pertemuan 7 dhcp
 
Fungsi DHCP Server
Fungsi DHCP ServerFungsi DHCP Server
Fungsi DHCP Server
 
Dhcp server dan dns server
Dhcp server dan dns serverDhcp server dan dns server
Dhcp server dan dns server
 
Pertemuan 13 .dhcp
Pertemuan 13 .dhcpPertemuan 13 .dhcp
Pertemuan 13 .dhcp
 

2015 01 19_administrasi_server_pertemuan_3

  • 1. Materi : Pengertian dan Mengkonfigurasi DHCP Server Linux (Debian 6.04) Disajikan Oleh : Yudi Firman Santosa, S.T.
  • 2. What is Dynamic Host Configuration Protocol (DHCP)? Dynamic Host Configuration Protocol (DHCP) is network protocol for automatically assigning TCP/IP information to client machines. Each DHCP client connects to the centrally-located DHCP server which returns that client's network configuration including IP address, gateway, and DNS servers.
  • 3. DHCP (Dynamic Host Configuration Protocol) adalah protokol yang berbasis arsitektur client/server yang dipakai untuk memudahkan pengalokasian alamat IP dalam satu jaringan. Sebuah jaringan lokal yang tidak menggunakan DHCP harus memberikan alamat IP kepada semua komputer secara manual. Jika DHCP dipasang di jaringan lokal, maka semua komputer yang tersambung di jaringan akan mendapatkan alamat IP secara otomatis dari server DHCP. Selain alamat IP, banyak parameter jaringan yang dapat diberikan oleh DHCP, seperti default gateway dan DNS server.
  • 4. Sebuah Alamat IP adalah nomor unik yang diberikan kepada setiap komputer di jaringan. Sekali lagi dikatakan unik, karena dua komputer di jaringan yang sama tidak dapat memiliki alamat IP yang sama.
  • 5. DHCP is useful for fast delivery of client network configuration. When configuring the client system, the administrator can choose DHCP and not have to enter an IP address, netmask, gateway, or DNS servers. The client retrieves this information from the DHCP server. DHCP is also useful if an administrator wants to change the IP addresses of a large number of systems. Instead of reconfiguring all the systems, he can just edit one DHCP configuration file on the server for the new set of IP address. If the DNS servers for an organization changes, the changes are made on the DHCP server, not on the DHCP clients. Once the network is restarted on the clients (or the clients are rebooted), the changes will take effect.
  • 6. Furthermore, if a laptop or any type of mobile computer is configured for DHCP, it can be moved from office to office without being reconfigured as long as each office has a DHCP server that allows it to connect to the network.
  • 7. DHCP SERVER Fast Delivery Network Configurastion Easy for Adminstrator and Users Flexible Network Configuration
  • 8. Karena DHCP merupakan sebuah protokol yang menggunakan arsitektur client/server, maka dalam DHCP terdapat dua pihak yang terlibat, yakni DHCP Server dan DHCP Client.
  • 9. DHCP server merupakan sebuah mesin yang menjalankan layanan yang dapat "menyewakan" alamat IP dan informasi TCP/IP lainnya kepada semua klien yang memintanya. Beberapa sistem operasi jaringan seperti Windows NT Server, Windows 2000 Server, Windows Server 2003, atau GNU/Linux memiliki layanan seperti ini.
  • 10. DHCP client merupakan mesin klien yang menjalankan perangkat lunak klien DHCP yang memungkinkan mereka untuk dapat berkomunikasi dengan DHCP Server. Sebagian besar sistem operasi klien jaringan (Windows NT Workstation, Windows 2000 Professional, Windows XP, Windows Vista, atau GNU/Linux) memiliki perangkat lunak seperti ini.
  • 11. DHCP uses the same two ports assigned by IANA for BOOTP: destination UDP port 67 for sending data to the server, and UDP port 68 for data to the client. DHCP communications are connectionless in nature. In computer networking, the Bootstrap Protocol, or BOOTP, is a network protocol used by a network client to obtain an IP address from a configuration server.
  • 12.
  • 13.
  • 14. DHCP Client akan mencoba untuk mendapatkan "penyewaan" alamat IP dari sebuah DHCP server dalam proses empat langkah berikut: 1. DHCPDISCOVER: DHCP client akan menyebarkan request secara broadcast untuk mencari DHCP Server yang aktif. 2. DHCPOFFER: Setelah DHCP Server mendengar broadcast dari DHCP Client, DHCP server kemudian menawarkan sebuah alamat kepada DHCP client. 3. DHCPREQUEST: Client meminta DCHP server untuk menyewakan alamat IP dari salah satu alamat yang tersedia dalam DHCP Pool pada DHCP Server yang bersangkutan.
  • 15. 4. DHCPACK: DHCP server akan merespons permintaan dari klien dengan mengirimkan paket acknowledgment. Kemudian, DHCP Server akan menetapkan sebuah alamat (dan konfigurasi TCP/IP lainnya) kepada klien, dan memperbarui basis data database miliknya. Klien selanjutnya akan memulai proses binding dengan tumpukan protokol TCP/IP dan karena telah memiliki alamat IP, klien pun dapat memulai komunikasi jaringan.
  • 16. Empat tahap di atas hanya berlaku bagi klien yang belum memiliki alamat. Untuk klien yang sebelumnya pernah meminta alamat kepada DHCP server yang sama, hanya tahap 3 dan tahap 4 yang dilakukan, yakni tahap pembaruan alamat (address renewal), yang jelas lebih cepat prosesnya.
  • 17. The client broadcasts messages on the physical subnet to discover available DHCP servers. Network administrators can configure a local router to forward DHCP packets to a DHCP server from a different subnet. This client-implementation creates a User Datagram Protocol (UDP) packet with the broadcast destination of 255.255.255.255 or the specific subnet broadcast address.
  • 18. A DHCP client can also request its last-known IP address (in the example below, 192.168.1.100). If the client remains connected to a network for which this IP is valid, the server may grant the request. Otherwise, it depends whether the server is set up as authoritative or not. An authoritative server will deny the request, making the client ask for a new IP address immediately. A non-authoritative server simply ignores the request, leading to an implementation-dependent timeout for the client to give up on the request and ask for a new IP address.
  • 19.  When a DHCP server receives an IP lease request from a client, it reserves an IP address for the client and extends an IP lease offer by sending a DHCPOFFER message to the client. This message contains the client's MAC address, the IP address that the server is offering, the subnet mask, the lease duration, and the IP address of the DHCP server making the offer.  The server determines the configuration based on the client's hardware address as specified in the CHADDR (Client Hardware Address) field
  • 20. In response to the DHCP offer, the client replies with a DHCP request, unicast to the server, requesting the offered address. A client can receive DHCP offers from multiple servers, but it will accept only one DHCP offer. Based on the Transaction ID field in the request, servers are informed whose offer the client has accepted. When other DHCP servers receive this message, they withdraw any offers that they might have made to the client and return the offered address to the pool of available addresses. In some cases DHCP request message is broadcast, instead of being unicast to a particular DHCP server, because the DHCP client has still not received an IP address. Also, this way one message can let all other DHCP servers know that another server will be supplying the IP address without missing any of the servers with a series of unicast messages.
  • 21. When the DHCP server receives the DHCPREQUEST message from the client, the configuration process enters its final phase. The acknowledgement phase involves sending a DHCPACK packet to the client. This packet includes the lease duration and any other configuration information that the client might have requested. At this point, the IP configuration process is completed. After the client obtains an IP address, the client may use the Address Resolution Protocol (ARP) to prevent IP conflicts caused by overlapping address pools of DHCP servers.
  • 22. DHCP server umumnya memiliki sekumpulan alamat yang diizinkan untuk didistribusikan kepada klien, yang disebut sebagai DHCP Pool. Setiap klien kemudian akan menyewa alamat IP dari DHCP Pool ini untuk waktu yang ditentukan oleh DHCP, biasanya hingga beberapa hari. Manakala waktu penyewaan alamat IP tersebut habis masanya, klien akan meminta kepada server untuk memberikan alamat IP yang baru atau memperpanjangnya. Setiap komputer yang aktif akan kontak DHCP server untuk meminta alamat ip, subnet dan gateway. Dhcp server umumnya memberikan alamat ip yang masih tersedia. Urutan pemberian IP adalah dari komputer yang pertama sekali hidup dan berturut-turut ke komputer seterusnya. Contohnya Anda menghidupkan komputer A pertama sekali dan mendapatkan alamat ip 192.168.1.2.
  • 23. Mengkonfigurasi DHCP Pool memperhitungkan perangkat jaringan (berbasis IP) yang akan dikonfigurasi secara manual Contoh : Kita mempunyai beberapa ip yang dikonfigurasi manual dengan alasan keamanan dan kemudahan dalam trouble shooting di jaringan untuk kebutuhan ip radio, ip modem, ip server, cctv, absensi dll. Maka range ip address yang dikonfigurasikan di client harus diatur tidak berbentrokan dengan ip perangkat tersebut di atas. Dengan kata lain, misal kita khususkan mulai dari ip 192.168.1.1 s.d. 192.168.1.20 untuk perangkat khusus tertentu tersebut, maka dhcp pool yang kita gunakan adalah misal 192.168.1.21 s.d. 192.168.1.254
  • 24. Installing DHCP server in Debian #apt-get install dhcp3-server Once you press enter installation will start it will ask you some questions just you need to click ok for all three times
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.