Dokumen tersebut membahas tentang Dynamic Host Configuration Protocol (DHCP) yang merupakan protokol jaringan untuk secara otomatis mengalokasikan informasi TCP/IP kepada mesin klien. DHCP menggunakan arsitektur client/server dimana setiap klien DHCP terhubung ke server DHCP pusat untuk mendapatkan konfigurasi jaringan termasuk alamat IP, gateway, dan server DNS. Dokumen tersebut juga menjelaskan tentang proses empat langkah yang dilakukan kli
5. kumpulan soal dan jawaban un teori kejuruan tkj 2013/2014 --- www.the-xp.comDwi Yulianto
kumpulan soal tkj lengkap kelas x xi xii soal latihan menghadapi un tkj tahun 2013/2014 beserta try out dilengkapi dengan soal latihan dan beserta jawabannya
Presentation regarding DHCP Server for Network and Computer students in SMK in Indonesia that will explain basic knowledge about DHCP Server itself. You can use this presentation to teach your student or use it to learning.
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