Cisco: konfig DHCP server

By admin

Request dari bos untuk setup dhcp di cisco, device yang dipakai cisco 1721

Kondisi yang diminta adalah dhcp untuk 10 komputer.
Jadi saya konfig untuk ip dhcp memakai ip 100 – 199.
Ip yang dibawah 100 nanti bisa dipergunakan untuk user yang tidak ingin memakai dhcp dan server (kalau ada).

ip dhcp excluded-address 192.168.0.1 192.168.0.99
ip dhcp excluded-address 192.168.0.200 192.168.0.255
!
ip dhcp pool 192.168.0.0/24
   network 192.168.0.0 255.255.255.0
   default-router 192.168.0.1
   dns-server 202.134.0.155 202.134.2.5
!


Untuk melihat user yang mendapat lease ip dhcp dengan perintah :

show ip dhcp binding
Bindings from all pools not associated with VRF:
IP address          Client-ID/              Lease expiration        Type
                    Hardware address/
                    User name
192.168.0.100       0014.d18a.c072          Mar 04 1993 06:05 AM    Automatic
192.168.0.157       0100.16d3.a0ab.c7       Mar 04 1993 05:54 AM    Automatic

Related Posts

  1. Mikrotik: DHCP Pool usage
  2. How to convert a MT box in an Anti Spam server with v2.9
  3. Cisco: bedah QOS voip
  4. Cisco: belajar mirror port @ cisco 2924XL
  5. Cisco: graphing rate-limit via cacti
  6. Cisco: kemana yang 25% ?

8 Comments

  • At 2008.08.26 20:49, Thohir said:

    Mantap mas,

    Saya makai simulator Packet Tracer

    It works… yehehe.. ( gayanya newbie banget )

    Result :
    
    MTI#show ip dhcp binding
    IP address       Client-ID/              Lease expiration        Type
                     Hardware address
    192.168.0.100    00E0.B0BB.C507           --                     Automatic
    192.168.0.101    0002.4AC3.099A           --                     Automatic
    192.168.0.102    0001.4281.2BB1           --                     Automatic
    • At 2008.08.26 21:28, human said:

      Terimakasih, memang di sana lagi ada praktikum dhcp ? :D

      Tohir, baca juga yang tutorial rate-limit
      dan
      jangan lupa rajin-rajin belajar :D

      • At 2010.02.14 23:21, ramdhani said:

        ini pake router yang mana ya? tadi saya coba pake yang router 1841 tapi gak bisa. soalnya disini saya pake paket tracer 5.1 tapi gak nemuin cisco 1721. saya searching di google ternyata 1721 merupakan sebuah modular router. mohon bantuannya. :)

      • At 2008.11.18 14:13, noxt machine said:

        mw tanya pak kalow kita mw kasih ip dhcp per sub.network apa caranya sama…???
        misalnya yng mw dikasih dhcp fa0/1.10 dan fa0/1.100… tolong di cerahkan pak….??? :-D :-D :-D

        • At 2008.11.23 21:26, Gumilar said:

          Tutorial Bagus Mas,
          kebetulan baru kemaren saya ikut workshop Introduction to basic Routing Configuration yg berlokasi di dns-server 202.134.0.155 202.134.2.5 :laugh: he2x soalnya saya kenal nech DNS,

          mau Tanya Mas Admin,
          kenapa ketika saya ketik perintah dns-server 202.134.0.155 202.134.2.5,
          ada pesan Invalid input detected at ‘^’ yang berlokasi 202.134.2.5,
          jadi hanya bisa memasukkan 1 alamat DNS saja, tidak bisa sekaligus 2,

          mohon jawabannya

        • At 2009.12.13 13:11, afandi said:

          Mas… suwun tutorialnya
          Met kenal.. kalo diijinkan, tukeran link ya? :D

          • At 2009.12.15 10:04, human said:

            Silaken mas

          (Required)
          (Required, will not be published)

          By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.