1 / 10

DHCP

DHCP. Dynamic Host Configuration Protocol. DHCP. Dynamic Host Configuration Protocol mengkonfigurasi Pemberian IP ke jaringan secara dinamis Konfigurasi ke PC Ip address Mask Gateway DNS ( jika ada ) Konfigurasi DHCP Scope: jangkauan IP Address Gateway: IP Address.

mali
Download Presentation

DHCP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DHCP Dynamic Host Configuration Protocol

  2. DHCP • Dynamic Host Configuration Protocol • mengkonfigurasiPemberian IP kejaringansecaradinamis • Konfigurasike PC • Ip address • Mask • Gateway • DNS (jikaada) • KonfigurasiDHCP • Scope: jangkauan IP Address • Gateway: IP Address

  3. DimanaPenempatanDHCP • Server • Windows 2000 server, • Windows 2003 server • Mikrotik • Linux, dll • Router • Cisco • Mikotikdll

  4. Cara Kerja

  5. How does it work? (1) (0) IP scope DHCP discover DHCP SERVER DHCP CLIENT MAC address DHCP offer DHCP DATABASE IP#, lease time (2) DHCP request DHCP CLIENT IP#, MAC address MAC address, IP#, lease time DHCP ack IP#, lease time

  6. KonfigurasiDHCP Server • Secara default, CISCO IOStelahmengaktifkanfiturDHCP server dan relay agent pada router. • Akantetapi, untukcontohkasusbila service tersebutbelumaktifmakaharusmemasukkanperintah "service dhcp" pada global configuration mode.

  7. Untuk Router • Tentukanalamat IP yang akandi-lease (diberikansecaradinamiskenetwork devices) danalamat IP apasaja yang tidakakandi-lease. • Alamat IP yang tidakakandi-lease • alamatinterface router yang berfungsisebagaidefaultgateway-nyanetwork devices dalamjaringankomputer • alamat server misalnya FTP server, • HTTP server dsb.

  8. Perintah Perintahuntukmeng-exclude-kanalamat IP adalah • "ipdhcp excluded-address x.x.x.x“ • ipdhcp excluded-address 192.168.20.81 • ipdhcp excluded-address 192.168.20.65 • ipdhcp excluded-address 192.168.20.1 • "ip dhcp pool xxx". (xxx = nama pool) Dilanjutkandenganmengisi network yang akandi-lease-kan: • " network x.x.x.xy.y.y.y" (x = alamat network, y = network mask) Dan diakhiridenganpemberian default-gateway padadhcp client: • "default-router x.x.x.x " (x = alamat IP interface router yang dijadikan default-gateway)

  9. Contoh ipdhcp pool PC0 • Memberinama pool dhcp network 192.168.20.0 255.255.255.192 • Menentukan ip untuk jaringan dari 192.168.20.1 s.d192.168.20.63 default-router 192.168.20.1 • alamat IP interface router yang dijadikan default-gateway

  10. Contoh R1#conf t R1#(config)host R1 R1#(config)int fa0/0 R1#(config-if)ip add 192.168.10.1 255.255.255.0 R1#(config-if)no shut R1#(config-if)exit R1#(config)ipdhcp pool IP10 R1#(dhcp-config)net 192.168.10.0 255.255.255.0 R1#(dhcp-config)default 192.168.10.1 R1#(dhcp-config)exit R1#(config)ipdhcpexc 192.168.10.1 192.168.10.10 R1#(config)exit R1#copy run start

More Related