• Giga@hdv-tech.com
  • Sabis na kan layi 24H:
    • 7189078c
    • sns03
    • 6660e33e
    • youtube 拷贝
    • instagram

    DHCP Dynamic Host Allocation Protocol

    Lokacin aikawa: Nuwamba-13-2023

    Ana amfani da ka'idar raba ra'ayi mai ƙarfi ta HCP a cikin damar Intanet ta yau da kullun, kamar Intanet na gidana'ura mai ba da hanya tsakanin hanyoyin sadarwasabar DHCP ce. Lokacin da muka saita abokin ciniki don samun adireshin IP ta atomatik, uwar garken DHCP yana sanya adireshin IP ga abokin ciniki bisa ga ka'idar DHCP.ONUHakanan ana iya amfani dashi azaman sabar DHCP.

     

    Yarjejeniyar DHCP tana keɓance fakitin IP ta atomatik na manyan nau'ikan guda huɗu:

    Gano DHCP: Aika da abokin ciniki don gano uwar garken DHCP.

    tayin DHCP: Aika ta uwar garken DHCP, gaya wa abokin ciniki cewa zan iya samar da adireshin IP.

    Buƙatar DHCP: Aika ta abokin ciniki yana gaya wa uwar garken DHCP daidai cewa ina buƙatar adireshin IP.

    DHCP ACK: Sabar DHCP ta bayar don samar da adireshin IP na martanin abokin ciniki.

    Sakin DHCP: Gabaɗaya, abokin ciniki yana rufe ko a layi. Wannan sakon zai sa uwar garken DHCP ta saki adireshin IP na abokin ciniki wanda ya aika wannan sakon.

    Bayanin DHCP: Saƙon da abokin ciniki ya aiko wanda ke buƙatar wasu bayanai daga uwar garken.

    DHCP Ƙaunar: Lokacin da abokin ciniki ya gano cewa adireshin IP ɗin da uwar garken ya ba shi baya samuwa (kamar rikice-rikicen adireshin IP), ana fitar da wannan sakon yana sanar da uwar garke game da amfani da adireshin IP.

    Yayin sadarwar DHCP, ana amfani da UDP azaman ka'idar watsawa. Mai watsa shiri yana aika buƙatu zuwa tashar tashar uwar garken DHCP 67 kuma uwar garken yana amsa saƙon zuwa tashar tashar mai masaukin baki 68.

    1. Lokacin ganowa, inda abokin ciniki na DHCP ke neman sabar DHCP (DHCPdiscover)

    Abokin ciniki na DHCP yana aika bayanan gano DHCP don nemo uwar garken DHCP a yanayin watsa shirye-shirye (saboda adireshin IP na uwar garken DHCP ba a sani ba ga abokin ciniki), wato, takamaiman bayanan watsa shirye-shirye zuwa adireshin 255.255.255.255. Kowane mai watsa shiri akan hanyar sadarwa tare da yarjejeniyar TCP/IP zai karɓi wannan saƙon watsa shirye-shiryen, amma uwar garken DHCP kawai zai amsa.

    2.Provision lokaci, inda DHCP uwar garken samar da adireshin IP (DHCPoffer)

    Kowane uwar garken DHCP a cikin hanyar sadarwar da ke karɓar binciken DHCPdiscover yana amsawa ta zaɓar ɗaya daga cikin adiresoshin IP da ba a yi hayar ga abokin ciniki DHCP ba da aika tayin DHCPoffer mai ɗauke da adireshin IP da aka yi hayar da sauran Saituna zuwa abokin ciniki na DHCP.

    3. Lokacin zaɓi, wanda abokin ciniki na DHCP ya zaɓi adireshin IP wanda uwar garken DHCP (DHCPrequest) ya bayar.

    Idan akwai sabar DHCP fiye da ɗaya da ke ba da bayanai ga DHCPOffer wanda abokin ciniki na DHCP ya aiko, abokin ciniki na DHCP kawai yana karɓar bayanan DHCPOffer na farko da aka karɓa, sannan yana amsa bayanin buƙatar DHCP a yanayin watsa shirye-shirye. Wannan bayanin ya ƙunshi buƙatun adireshin IP na uwar garken DHCP da ta zaɓa. Dalilin amsawa a yanayin watsa shirye-shirye shine sanar da duk sabar DHCP cewa zai zaɓi adireshin IP ɗin da uwar garken DHCP ta bayar.

    4. Lokacin tabbatarwa, wanda uwar garken DHCP ta tabbatar da adireshin IP da aka bayar (DHCPack)

    Lokacin da uwar garken DHCP ta karɓi bayanin buƙatar DHCP ta abokin ciniki na DHCP ya amsa, tana aika saƙon amincewa DHCPack ga abokin ciniki DHCP tare da adireshin IP ɗin da aka bayar da sauran Saituna don gaya wa abokin ciniki DHCP cewa zai iya amfani da adireshin IP ɗin da ya bayar. Abokin ciniki na DHCP sannan ya ɗaure ƙa'idar TCP/IP zuwa katin sadarwar, kuma duk sabar DHCP, sai wanda abokin ciniki na DHCP ya zaɓa, ya mayar da adireshin IP ɗin da aka bayar.

    5. Sake shiga (Neman DHCP)

    A nan gaba, duk lokacin da abokin ciniki na DHCP ya sake yin rajista akan hanyar sadarwar, baya buƙatar sake aika DHCP gano bayanin ganowa, amma kai tsaye yana aika bayanin buƙatar buƙatar DHCP wanda ke ɗauke da adireshin IP da aka sanya a baya. Lokacin da uwar garken DHCP ta sami wannan bayanin, tana ƙoƙarin barin abokin ciniki na DHCP ya ci gaba da amfani da ainihin adireshin IP da amsoshi tare da amincewar DHCPack. Idan ba za a iya ƙara adireshin IP ɗin ga ainihin abokin ciniki na DHCP ba (idan an riga an sanya adireshin IP ga wani abokin ciniki na DHCP), uwar garken DHCP yana amsa saƙon musun DHCPnack ga abokin ciniki na DHCP. Lokacin da ainihin abokin ciniki na DHCP ya karɓi wannan saƙon musun DHCPnack, dole ne ya sake aika saƙon gano DHCP don neman sabon adireshin IP.

    6. Sabunta kwangilar

    Adireshin IP ɗin da uwar garken DHCP ta yi hayar ga abokin ciniki na DHCP yawanci yana da lokacin haya, bayan haka uwar garken DHCP za ta mayar da adireshin IP ɗin da aka yi hayar. Idan abokin ciniki na DHCP yana son tsawaita hayar IP ɗin sa, dole ne ya sabunta yarjejeniyar IP ɗin ta. Abokin ciniki na DHCP yana aika bayanai ta atomatik zuwa uwar garken DHCP don sabunta hayar IP ɗin sa duka lokacin da aka fara abokin ciniki na DHCP da lokacin da yarjejeniyar IP ta cika rabin.

    DHCP dynamic host rabon kuma na daya daga cikin muONUjerin samfuran cibiyar sadarwa, da samfuran cibiyar sadarwarmu masu alaƙa suna rufe nau'ikan nau'ikan nau'ikanONUjerin samfurori, ciki har da ACONU/ sadarwaONU/ mai hankaliONU/ akwatinONU/ Dual PON tashar jiragen ruwaONUda sauransu. Na samaONUZa a iya amfani da samfurori na samfurori don bukatun cibiyar sadarwa na yanayi daban-daban. Barka da samun ƙarin fahimtar fasaha na samfurori.

    asd (2)


    yanar gizo 聊天