dhcp

32
BOOTP (Bootstrap Protocol) is a protocol that lets a network user be automatically configured (receive an IP address ) and have an operating system boot ed (initiated) without user involvement. The BOOTP server , managed by a network administrator, automatically assigns the IP address from a pool of addresses for a certain duration of time. BOOTP is the basis for a more advanced network manager protocol, the Dynamic Host Configuration Protocol (DHCP ). The DHCP server assigns a client an IP address taken from a predefined scope for a given amount of time. If an IP address is required for longer than the lease has been set for, the client must request an extension before the lease expires. If the client has not requested an extension on the lease time, the IP address will be considered free and can be assigned to another client. If the user wishes to change IP address then they can do so by typing "ipconfig /release", followed by "ipconfig /renew" in the command prompt. This will remove the current IP address and request a new one. Reservations can be defined on the DHCP server to allow certain clients to have their own IP address (this will be discussed a little later on). Addresses can be reserved for a MAC address or a host name so these clients will have a fixed IP address that is configured automatically. Most Internet Service Providers use DHCP to assign new IP addresses to client computers when a customer connects to the internet - this simplifies things at user level. The above diagram diplays a simple structure consisting of a DHCP server and a number of client computers on a network. The DHCP Server itself contains an IP Address Database which holds all the IP addresses available for distribution. If the client (a member of the network with a Windows 2000 Professional/XP operating system, for example) has "obtain an IP address automatically" enabled in TCP/IP settings, then it is able to receive an IP address from the DHCP server. Setting up a DHCP Server This will serve as a step-by-step guide on how to setup a DHCP server. Installing the DHCP server is made quite easy in Windows 2003. By using the "Manage your server" wizard, you are able to enter the details you require and have the wizard set the basics for you. Open to "Manage your server" wizard, select the DHCP server option for the list of server roles and press Next. You will be asked to enter the name and description of your scope. Scope: A scope is a collection of IP addresses for computers on a subnet that use DHCP.

Upload: firman-riyadi

Post on 25-Aug-2014

97 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: dhcp

BOOTP (Bootstrap Protocol) is a protocol that lets a network user be automatically configured (receive an IP address) and have an operating system booted (initiated) without user involvement. The BOOTP server, managed by a network administrator, automatically assigns the IP address from a pool of addresses for a certain duration of time.

BOOTP is the basis for a more advanced network manager protocol, the Dynamic Host Configuration Protocol (DHCP).

The DHCP server assigns a client an IP address taken from a predefined scope for a given amount of time. If an IP address is required for longer than the lease has been set for, the client must request an extension before the lease expires. If the client has not requested an extension on the lease time, the IP address will be considered free and can be assigned to another client. If the user wishes to change IP address then they can do so by typing "ipconfig /release", followed by "ipconfig /renew" in the command prompt. This will remove the current IP address and request a new one. Reservations can be defined on the DHCP server to allow certain clients to have their own IP address (this will be discussed a little later on). Addresses can be reserved for a MAC address or a host name so these clients will have a fixed IP address that is configured automatically. Most Internet Service Providers use DHCP to assign new IP addresses to client computers when a customer connects to the internet - this simplifies things at user level.

The above diagram diplays a simple structure consisting of a DHCP server and a number of client computers on a network.

The DHCP Server itself contains an IP Address Database which holds all the IP addresses available for distribution. If the client (a member of the network with a Windows 2000 Professional/XP operating system, for example) has "obtain an IP address automatically" enabled in TCP/IP settings, then it is able to receive an IP address from the DHCP server.

Setting up a DHCP Server

This will serve as a step-by-step guide on how to setup a DHCP server.

Installing the DHCP server is made quite easy in Windows 2003. By using the "Manage your server" wizard, you are able to enter the details you require and have the wizard set the basics for you. Open to "Manage your server" wizard, select the DHCP server option for the list of server roles and press Next.You will be asked to enter the name and description of your scope.

Scope: A scope is a collection of IP addresses for computers on a subnet that use DHCP.

Page 2: dhcp

The next window will ask you to define the range of addresses that the scope will distribute across the network and the subnet mask for the IP address. Enter the appropriate details and click next.

You are shown a window in which you must add any exclusions to the range of IP addresses you specified in the previous window. If for example, the IP address 10.0.0.150 is that of the company router then you won't want the DHCP server to be able to distribute that address as well. In this example I have excluded a range of IP addresses, 10.0.0.100 to 10.0.0.110, and a single address, 10.0.0.150. In this case, eleven IP's will be reserved and not distributed amongst the network clients.

Page 3: dhcp

It is now time to set the lease duration for how long a client can use an IP address assigned to it from this scope. It is recommended to add longer leases for a fixed network (in the office for example) and shorter leases for remote connections or laptop computers. In this example I have set a lease duration of twelve hours since the network clients would be a fixed desktop computer in a local office and the usual working time is eight hours.

You are given a choice of whether or not you wish to configure the DHCP options for the scope now or later. If you choose Yes then the upcoming screenshots will be of use to you. Choosing No will allow you to configure these options at a later stage.

Page 4: dhcp

The router, or gateway, IP address may be entered in next. The client computers will then know which router to use.

In the following window, the DNS and domain name settings can be entered. The DNS server IP address will be distributed by the DHCP server and given to the client.

Page 5: dhcp

If you have WINS setup then here is where to enter the IP Address of the WINS server. You can just input the server name into the appropriate box and press "Resolve" to allow it to find the IP address itself.

The last step is to activate the scope - just press next when you see the window below. The DHCP server will not work unless you do this.

Page 6: dhcp

The DHCP server has now been installed with the basic settings in place. The next stage is to configure it to the needs of your network structure.

Configuring a DHCP server

advert isement

Hereunder is a simple explanation of how to configure a DHCP server.

The address pool displays a list of IP ranges assigned for distribution and IP address exclusions. You are able to add an exclusion by right clicking the address pool text on the left hand side of the mmc window and selecting "new exclusion range". This will bring up a window (as seen below) which will allow you to enter an address range to be added. Entering only the start IP will add a single IP address.

Page 7: dhcp

DHCP servers permit you to reserve an IP address for a client. This means that the specific network client will have the same IP for as long as you wanted it to. To do this you will have to know the physical address (MAC) of each network card. Enter the reservation name, desired IP address, MAC address and description - choose whether you want to support DHCP or BOOTP and press add. The new reservation will be added to the list. As an example, I have reserved an IP address (10.0.0.115) for a client computer called Andrew.

If you right click scope options and press "configure options" you will be taken to a window in which you can configure more servers and their parameters. These settings will be distributed by the DHCP server along with the IP address. Server options act as a default for all the scopes in the DHCP server. However, scope options take preference over server options.

In my opinion, the DHCP server in Windows 2003 is excellent! It has been improved from the Windows 2000 version and is classified as essential for large networks. Imagine having to configure each and every client manually - it would take up a lot of time and require far more troubleshooting if a problem was to arise. Before touching any settings related to DHCP, it is best to make a plan of your network and think about the range of IPs to use for the computers

Page 8: dhcp

fter installing the DHCP-server, you will need to configure it before you can use it:

Select "DHCP" , which is part of the Windows menu "Administrative Tools". In the left plane, you will see the name and IP-address of the DHCP-server.

After installation, a DHCP server is not authorized. Do not forget this later ! (see below   )

You need to define the range of  IP-addresses  to be assigned (=distributed) by the DHCP-server. A definition of a range of IP-addresses (with or without additional options) is called a "Scope": select your DHCP-server and then either with a right-click or from the menu "Actions" select to define a "New Scope":

Page 9: dhcp

Up comes the Wizard select "Next"

Page 10: dhcp

Define a name for your scope continue with "Next"

Define the range of IP-address and the subnet-mask. Select a range, which does not include the IP-address of the server itself or any other device with a manually assigned IP-address (like: network printers). Although you could exclude them in the next step, usually a range is reserved for such manually assigned addresses and then the rest (in this case: 100 - 199 ) is given to the DHCP-server for automatic distribution.

Page 11: dhcp

If you could not define separate ranges for manually assigned and DHCP-assigned IP-addresses, then you could here define IP-addresses or ranges of IP-addresses to be excluded: not to be used by the DHCP-server.

Typically, an IP-address is assigned (= "leased" ) for a limited time. This avoid running out of addresses, when visitors to you office connect to the network and get an IP-address assigned. Without a time-limit, such an IP-address could not be reused. usually, 8 days is a good choice and will ensure that people every day in the office will continue to use the same IP-address once assigned to them, since their systems will in time extend the

Page 12: dhcp

"lease". And if they come back from a 2 week vacation and the "lease" has expired, then the DHCP-server will assign a new IP-address to them.

In addition to the IP-address and Sub-Netmask, a DHCP-server can also be use to define other TCP/IP configuration items on the Client systems.

Is your office network part of a larger company Wide-Areanetwork (WAN )? Then you need to configure the client computers with the IP-address of the Gateway (or

Page 13: dhcp

Router) to be able to communicate with systems on the WAN. Enter the IP-address and then click on "Add" to enter the address to the list of Gateways.

Are you using a WAN and need to help your clients to locate the IP-addresses of servers (like WebServers) on the WAN? Or do you intend to have clients connected to the Windows2000 server via the new: "Active Directory" method? Then you must configure the clients for use of a DNS-server. Enter the name of your server and the IP-address and click on "Add" to enter the value on the list.

Page 14: dhcp

You can also configure the WINS server address

You need to activate the scope, (which you can do later with a right-click on the scope and selecting: "Activate"/"Deactivate" :)

Page 15: dhcp

Finished.

You still have to "Authorize" the DHCP-server: select the server and either right-click or from the menu "Action" select "Authorize" :

Page 16: dhcp

Note: on my system, I had to close now the DHCP-windows and open it up again to see, that the DHCP-server is now "Running" :

a quick check on the "Scope Options", which we have configured already:

Page 17: dhcp

If required, you can change or add the options of the scope.

You can configure in the "Properties" of the scope, tab: DNS, that once the DHCP-server has assigned an IP-address the address will be updated in the DNS-server, allowing now other systems on the network to locate your system:

Page 18: dhcp

Once the DHCP-server is configured and authorized and the scope is activated, IP-addresses will be distributed . You can then view the list of assigned IP-addresses.

Instalasi DHCP ServerCara Melakukan Setup Dan Konfigurasi DHCP Server, Konfigurasi Scope IP Address, Dan Authorisasi DHCP Server Pada Suatu Infrastruktur Jaringan

Pada artikel sebelumnya sudah dibahas tentang pentingnya peran DHCP server dalam infrastruktur jaringan windows 2003, begitu juga studi kasus dalam implementasi jaringan windows 2003 juga telah disinggung tentang kebutuhan sebuah DHCP server pada site Guinea Smelter dengan konfigurasi sebagai berikut:

Server Name: GUISML-HR-DHCP1

IP Address: 192.168.101.240/23

DNS servers: 192.168.101.253 dan 192.168.101.252

Page 19: dhcp

Scope IP Address: 192.168.100.1 – 192.168.101.254

Subnet mask: 255.255.254.0

Default Gateway: 192.168.101.254

Exclusion: 192.168.101.200 – 192.168.101.254

Perhatikan notasi /23 pada penulisan IP address diatas yang telah dibahas pada design IP address yang berarti jumlah bit “1” untuk subnet mask 255.255.254.0 sebanyak = 23.

Setup DHCP server

Windows server dimana anda akan fungsikan sebagai DHCP server harus diberikan IP address statis yang juga berada pada subnet yang sama dengan konfigurasi Scope DHCP server.

Sebelum sebuah server windows bisa difungsikan sebagai DHCP server, maka pertama kali yang harus dilakukan adalah instalasi ‘DHCP server role’ terlebih dahulu. Bagaimana caranya?

Anda harus logon sebagai administrator – misal sebagai member dari domain local security group ‘DHCP Administrator’ atau member dari global group ‘Domain admin’ untuk bisa install dan me-manaje DHCP server.

DHCP server role tidak diinstall by default dalam windows, maka kita harus install terlebih dahulu role ini.

Klik Start => pilih ‘Manage Your Server’ => klik ‘Add Or remove a role’ => pilih ‘DHCP role’ => kemudian klik ‘Next’ untuk memulai instalasi role DHCP server, biarkan instalasi sampai selesai.

Atau anda juga bisa menggunakan ‘Windows component wizard’, buka ‘Control panel’ dan dobel klik ‘Add and Remove Programs’ => ‘Add / Remove Windows Component’ => di dalam Networking Services, component DHCP ada dalam sini bersama component DNS.

Setelah selesainya installation wizard anda bisa melakukan verifikasi kalau services DHCP server sudah terinstall dengan benar, dengan jalan membuka tool console administrative DHCP. Untuk mengakses console DHCP, Klik Start => Administrative Tools => DHCP

Dari console DHCP ini anda bisa melakukan konfigurasi DHCP dan memanagenya secara virtual semua fitur yang berhubungan dengan konfigurasi DHCP server anda termasuk Scope, Exclusion, Reservation, dan juga Options.

Authorisasi Server DHCP

Jika DHCP server ini akan di integrasikan kedalam jaringan Active Directory, maka harus di Authorisasi. Yang bisa di Authorized hanyalah domain controller dan member server yang berpartisipasi kedalam active directory. Dan DHCP

Page 20: dhcp

server pertama kali yang ada dalam suatu system active directory haruslah yang authorized. DHCP server yang ada pada stand-alone server atau workgroup (tidak di Join domain) yang menggunakan Windows server 2000 atau Windows server 2003, tidak bisa diauthorized dalam jaringan active directory. Akan tetapi bisa coexist dalam jaringan ini selama tidak di deploy pada suatu subnet yang ada DHCP server yang sudah authorized, DHCP server ini biasa disebut rogue server. Akan tetapi konfigurasi seperti ini tidak direkomendasikan. Dan jika rogue DHCP server mendeteksi adanya DHCP server yang authorized pada subnet yang sama, maka secara automatis DHCP server ini akan berhenti melayani pemberian IP address kepada clients.

Untuk melakukan authorisasi DHCP server cukup klik kanan pada node DHCP server ini dan pilih Authorize. Akan anda harus menjadi member global security group Enterprise Admins untuk bisa melakukan authorisasi server DHCP.

Konfigurasi Scope

Scope dalam DHCP server adalah pool IP address didalam suatu logical subnet yang bisa diberikan / dipinjamkan kepada clients, seperti 192.168.100.1 sampai 192.168.101.254. suatu IP address yang ditawarkan kepada suatu clients disebut sebagai suatu ‘lease’, dan lease ini akan menjadi active dengan periode waktu tertentu. Clients harus melakukan pembaharuan ‘lease’ jika sudah mencapai 50% periode masa pinjam IP (defaultnya adalah 8 hari). Anda juga bisa secara manual memperbaharui lease IP address ini dengan menggunakan command: ipconfig /renew pada windows prompt.

Untuk membuat scope lakukan klik kanan pada node DHCP server dan pilih ‘new scope’ pada menu Action. Sekaligus anda juga bisa configure fitur-fitur lainnya yaitu:

Scope Name Page, anda bisa memberikan nama scope IP Address range page, anda bisa memberikan mulai dan akhir dari

cakupan IP address dalam scope ini.

Instalasi DHCP - New Scope Range

Page 21: dhcp

Add Exclusions page, anda bisa memberikan range IP address exclusive yang tidak dipinjamkan kepada clients didalam range scope IP address. misalkan dicadangkan untuk piranti dengan MAC address tertentu.

Instalasi DHCP Server - Exclusion range

Lease duration page, anda bisa menyetel lamanya masa pinjam pakai IP address kepada clients.

Selain konfigurasi Scope diatas, anda juga bisa melakukan konfigurasi Option berikut ini pada page-2 berikutnya dalam wizard instalasi scope ini atau anda bisa melakukannya nanti (setelah selesai instalasi wizaed ini).

Catatan: Jika anda memilih untuk melakukan setting Option setelah selesai wizard, maka anda tidak diberikan kesempatan untuk mengaktifkan scope ini, jadi anda harus melakukan pengaktifan secara manual sebelum scope ini bisa berfungsi.

Apa saja scope option yang bisa diisi?

Router (Default Gateway) page, ini adalah opsional untuk memberikan default Gateway Address kepada clients

Domain Name and DNS Servers page (opsional), anda bisa memberikan parent domain dan juga DNS server kepada clients.

Page 22: dhcp

Instalasi DHCP server - DNS Server Option

WINS server page (opsional), untuk memberikan IP address WINS server. clients menggunakan WINS server untuk resolusi NetBIOS name kepada IP address.

Activate Scope page (opsional), pilihan apakah anda menghendaki scope IP ini akan diaktifkan begitu wizard ini selesai.

Semua scope option ini bisa di modifikasi nantinya setelah selesai instalasi wizard melalui console DHCP.

IP Address Range

Anda bisa memasukkan semua IP address dalam scope pada subnet dimana anda mengaktifkan DHCP server, akan tetapi anda juga harus segera meng-exclusion kan semua IP address yang dipakai secara statis kepada semua server atau piranti jaringan lainnya.

Anda juga bisa memilih untuk membatasi IP address scope sampai pada batas dimana IP address dipakai untuk keperluan pemberian IP address statis kepada servers. Misalkan anda akan mencadangkan semua pemakaian IP address statis dari 192.168.101.200 sampai 192.168.101.254, maka scope anda harus berakhir sampai pada 192.168.101.199 saja. Jadi anda tidak perlu repot-2 membuat IP address exclusion.

DHCP Server ScreeningMay 18, 2011 admin Jaringan Komputer

Masalah yang sering bikin pusing para network administrator (terutama di jaringan dengan skala menengah sampai atas) adalah adanya illegal DHCP server. Misalnya ada seorang staff pada perusahaan XYZ (sebut saja si Jono) dari satu departemen yang baru membeli home router untuk dirumah dan mencobanya dikantor. Namun tanpa sengaja (walaupun ada kasus yang

Page 23: dhcp

melakukan ini dengan sengaja hehehe, anda bisa tebak motif-nya apa   ), dia menghubungkan router dengan

jaringan kantor melalui port LAN router. Apa yang terjadi? Router si Jono akan broadcast paket DHCP offer (karena by default hampir semua home router mengaktifkan DHCP server) pada jaringan perusahaan XYZ tsb, shg bila ada PC/Laptop yang baru bergabung atau melakukan renew IP, akan mendapat IP dari router si Jono dan Bukan dari DHCP server perusahaan. Akibatnya tentu fatal, PC/Laptop itu menjadi tidak bisa akses kemana2 karena IP-nya berbeda dengan yang semestinya.

Apa yang terjadi selanjutnya? telepon Desktop Support Engineer pasti tidak berhenti berbunyi   . Coba kita bayangkan ini terjadi di satu perusahaan dengan 2000 PC, memang tidak semua terkena karena umumnya pada perusahaan besar dibagi per vlan, namun satu vlan bisa berisi 100-200 PC, jadi tetap saja ini problem besar.

Layout sederhana-nya spt ini :

Pada layout tsb si Laptop akan mempunyai 2 kemungkinan yaitu dapat IP dari DHCP Server yang legal atau yang illegal tergantung siapa yang cepat dalam me-respond paket DHCP. Bila kita liat isi paket yang diterima oleh si Laptop akan ada 2 paket DHCP Offer dari 2 DHCP server yang berbeda (DHCP Server Legal : 192.168.10.1, DHCP Server Illegal : 192.168.0.1) :

Page 24: dhcp

Untuk mencegah ini D-Link xStack Managed Switch mempunyai satu fitur yang disebut DHCP Server Screening. Fitur ini akan mem-blok paket DHCP sehingga dapat mencegah terjadinya illegal DHCP server.

Dalam contoh ini saya gunakan DES-3528 dgn fw 2.11B028 :

Layout yang digunakan masih sama dengan yang diatas.

Saya aktifkan DHCP Server Screening pada semua access port yaitu 1-24 :

Kemudian verifikasi apakah sudah aktif di port 1-24 :

Setelah itu Save.

Maka Illegal DHCP Server itu akan otomatis ter-blok :

Page 25: dhcp

Pada sisi Laptop hanya akan “melihat” paket DHCP Offer dari DHCP Server yang legal :

Fitur ini juga berguna untuk ISP yang mempunyai jaringan Metro-Ethernet, shg bila customer salah colok port ke port LAN pada router, DHCP paket dari router tidak membanjiri network ISP.

Ada pun seri D-Link xStack yang sudah support fitur ini adalah :

- DES-3500 Series- DES-3528 Series- DGS-3200 Series- DGS-3400 Series- DGS-3600 Series- DGS-3700 Series

Install dan Konfigurasi DHCP Server di UbuntuPosted on 30 Agustus 2010 by Dhimas Nugraha

Page 26: dhcp

Pada prinsipnya Server DHCP akan memberikan IP ke client. Konfigurasi DHCP server memiliki 2 metode yang digunakan, pertama Address Poll yang berarti menyiapkan reantang ip tertentu yang siap dipakai oleh Client DHCP, IP address ini bersifat sementara artinya jika Client Restart atau Shutdown maka ketika nyala lagi akan meminta ip ke server dan mungkin akan mendapatkan ip address yang berbeda dengan sebelumnya. seangkan metode kedua,MAC Address yang berarti menggunakan identitas MAC Address dari Netword Card client DHCP, metode ini akan memberikan ip statis yang sudah di seting di server DHCP, sehingga IP client tidak akan berubah.Install Server DHCP di Ubuntusudo apt-get install dhcp3-server

Peritah tersebut akan menginstall server DHCP di ubuntu, tidak repot kan.

Konfigurasi Server DHCPJika komputer ubuntu anda mempunyai 2 network card,  anda pilih salah satu Network card yang digunakan untuk menerima permintaan Ip dari client, atau dalam satu LAN. kemudian anda buka file

sudo vi /etc/default/dhcp3-server

cari

INTERFACES=””

ganti dengan

INTERFACES=”eth0″

Page 27: dhcp

simpan dan keluar

Metode Address Poollangkah selanjutnya buka file

sudo vi /etc/dhcp3/dhcpd.conf

ganti konfigurasi seperti dibawah

subnet 192.168.0.0 netmask 255.255.255.0 {

range 192.168.0.100 192.168.0.200;

option domain-name-servers 202.188.0.133, 202.188.1.5;

option domain-name "warnet.my";

option routers 192.168.0.1;

option broadcast-address 192.168.0.255;

default-lease-time 600;

max-lease-time 7200;

}

simpan kemudian keluar.

Konfigurasi diatas berarti Server DHCP menyiapkan IP address antara 192.168.0.100-192.168.0.200, Gateway 192.168.0.1, DNS 202.188.0.133 dan 202.188.0.5

Metode MAC AddressMetode ini memberikan IP statik ke client berdasarkan MAC Addres dari network card client.

Buka file dhcp.conf

default-lease-time 600;

max-lease-time 7200;

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.1.255;

option routers 192.168.1.254;

Page 28: dhcp

option domain-name-servers 192.168.1.1, 192.168.1.2;

option domain-name “yourdomainname.com”;

subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.10 192.168.1.200;

}

host client1{

hardware ethernet 00:1b:63:ef:db:54;

fixed-address 192.168.1.20;

}

host client2{

hardware ethernet 00:0a:95:b4:d4:b0;

fixed-address 192.168.1.21;

}

host client3{

hardware ethernet 00:16:cb:aa:2a:cd;

fixed-address 192.168.1.22;

}

host client4{

hardware ethernet 00:0a:95:f5:8f:b3;

fixed-address 192.168.1.23;

}

Setelah selesai restart service DHCP.

sudo /etc/init.d/dhcp3-server restart

sudah selesai deh instalasi server DHCPnya.

Konfigurasi Klient DHCPbuka file intervace

sudo vi /etc/network/interfaces

Edit dan sesuaikan dengan ini

Page 29: dhcp

auto lo eth0

iface eth0 inet dhcp

iface lo inet loopbacksdsdSimpan kemudian keluar.

Kemudian restart networkingnya

sudo /etc/init.d/networking restart

Bagaimana mencari IP Addres DHCP Serveranda harus menjalankan beberapa perintah

sudo dhclient

or

tail -n 15 /var/lib/dhcp3/dhclient.*.leases

DHCP pada ROUTER Diposkan oleh PHC COMMUNITY Masih inget kan tentang pengantar DHCP ini http://www.phc.web.id/2010/11/apa-itu-dhcp.html dan materinya http://www.phc.web.id/2010/11/membuat-jaringan-dhcp-pada-kelas-c.html pas kuliah kemaren, dosenku nyeletuk jelasin tentang DHCP pada Router, wah keren ne, ISTIMEWA, ayo kita coba...

Intinya kan, kalo kita menghubungkan 1 router dan 1 komputer, agak ribet ketika harus setting gatewaynya pada Komputer, nah, hal itu sekarang bisa kita atasi dengan memberikan DHCP pada Router, yang akhirnya pada Komputer sendiri akan mendapatkan IP ADDRESS secara otomatis,,,oke kita perhatikan gambar dibawah ini...

Page 30: dhcp

Gambar 1 : Design Awal DHCP Router

Langkah awal adalah memberikan ip address pada router (interface fa0/0)

Klik 2x pada Router Masuk pada Tab CLI Jika ada pertanyaan langsung aja ketik "no" langsung enter 2x Setelah itu akan tampil tampilan prompt Router

Gambar 2 : Setting awal IP ADDRESS pada Router

Sampai pada langkah ini, router sudah hidup dan memiliki ip address, sekarang tinggal kita lanjutkan dengan memberikan setting DHCP

Perhatikan kelanjutannya

Gambar 3 : Setting dhcp pada router

sekarang perhatikan perubahan pada design jaringan

Page 31: dhcp

Gambar 4 : Semua lampu merah akan berubah menjadi hijau

Nah, setelah router sudah kita setting, tiba saatnya untuk memberikan dhcp address pada komputer

Klik 2x pada Komputer Masuk pada Tab Desktop - IP Configuration Jika sudah muncul kotak dialog - Langsung aja pilih DHCP seperti gambar berikut ini

Gambar 5 : DHCP pada Komputer

Oke, sukses untuk memberikan DHCP pada routernya, sekarang materi ini bisa temen2 lanjutin dengan studi kasus dibawah ini

Page 32: dhcp

Gambar 6 : Studi Kasus

Oke guys, sampai disini dulu materinya, bisa dikembangkan ya, semoga bermanfaat, sampai jumpa lagi dimateri berikutnya tentang OSPF...