Maamulayaasha shabakadu waxay si otomaatig ah u habeeyeen oo u qoondeeyeen ciwaannada IP-ga aaladaha shabakadda iyaga oo isticmaalaya server-yada DHCP iyo borotokoollada. Server-yada loo go’ay waa kuwo la miisaami karo oo si sahlan loo maareyn karo laakiin waa kharash ururku si uu mid u yeesho meel kasta oo shabakad ah. Xaaladahan oo kale, waxaan u habeyn karnaa router-ka shabakada si ay u bixiyaan adeegyada DHCP iyada oo aan loo baahnayn in la iibsado server-yada. Maqaalkani waxa uu dabooli doonaa sida qofku u isticmaali karo router-ka shabakada si uu u noqdo adeegayaasha DHCP si loogu meeleeyo loona maareeyo ciwaannada IP-ga macaamiisha kala duwan ee DHCP. Waxa kale oo ay u qalabayn doontaa akhristaha sida qofku u habayn karo router si uu u awoodo inuu muujiyo shaqada server-ka DHCP.

Shaxda tusmada

  • Shaxda tusmada
  • Shuruudaha
  • Eray bixinta
  • Talaabooyinka Habaynta Cisco IOS DHCPv4 Server
    • Tallaabada 1. Isku-habaynta router
    • Tallaabada 2. Samee barkadda serverka DHCP
    • Tallaabada 3. Ka saar cinwaannada IP-ga
  • Xaqiijinta Adeegga DHCP
  • Tijaabinta router ee DHCP Server
  • Gabagabo

Shuruudaha

Akhristuhu waa inuu tixgaliyaa arrimaha soo socda:

  • Akhristuhu waa inuu yaqaan fikradaha isku xidhka aasaasiga ah.
  • Faham wanaagsan oo ku saabsan sida loo habeeyo shabakadaha iyadoo la adeegsanayo mid ka mid ah aaladaha jilitaanka shabakadda.
    Maqaalkani waxa uu ku habboon yahay akhristaha raba in uu ogaado sida loogu shaqeeyo qalabka Cisco baakidh raadiyaha shabakadda.

Si aad u soo dejiso oo aad ugu rakibto raadiyaha baakidhka Cisco ee miiska ama laptop, booqo xidhiidhkan.

Eray bixinta

  • DHCP Serverwaa adeegaha shabakadeed ee loo isticmaalo kireynta ciwaannada IPv4 si firfircooni leh si loogu martigeliyo shabakado ballaadhan, yaraynta culayska shaqaalaha shabakadda iyo gebi ahaanba baabi’inta khaladaadka gelitaanka. Waxay ku tiirsan tahay Hab-maamuuska Isku-xidhka Martigeliyaha Dynamic Host (DHCP) si looga jawaabo su’aalaha baahinta ee macaamiisha DHCP.
  • DHCP Clients– Kuwani waa martigeliyaha/alaabooyinka shabakadda ee ka hela ciwaanka IP-ga ee server-ka iyada oo loo marayo nidaamka DHCP.
  • Excluded IP Addresses– Kuwani waxay si gaar ah ula tacaalayaan martigeliyaha muhiimka ah sida albaabbada caadiga ah, DNS-server. Marka laga reebo qaar ka mid ah ciwaanada IP-yada waxay ka hortagtaa xaalada halka macaamiisha DHCP loo qoondeeyay ciwaanka IP-ga kaas oo ay horay u isticmaaleen martigaliyayaasha kale ee shabakada, taas oo ka hortagaysa ku celcelinta ciwaanka IP.
  • DHCP POOL– Barkadaha DHCP waxay u shaqeeyaan sidii server-ku-dhismay shabakadaha hoose ee shabakada taasoo ay ku meeleeyaan macaamiisha cinwaanada. Barkadaha ayaa taageeri kara ilaa 2048 ciwaan.

Talaabooyinka Habaynta Cisco IOS DHCPv4 Server

Hoos ka fiirso isku xirka shabakada deegaanka Habaynta LAN

Tallaabada 1. Isku-habaynta router.

Waxaan u habayneynaa router-yada si loogu isticmaalo server-ka DHCP annagoo si joogto ah ugu qoondeynayna ciwaannada IPv4 is-dhexyaashooda kala duwan.

Router>en Router#config terminal Router(config)#hostname R1 !changing our hostname R1(config)#interface g0/0 !specifying which interface to assign ip address R1(config-if)#ip address 10.0.0.1 255.0.0.0 !assigning ip address to interface g0/0 R1(config-if)#no shutdown !activating the interface R1(config-if)#exit R1(config)#interface g0/1 R1(config-if)#ip address 192.168.1.100 255.255.255.0 R1(config-if)#no shutdown R1(config-if)# R1(config-if)#exit R1(config)#do write 
Router>en Router#config terminal Router(config)#hostname R2 R2(config)#interface g0/0 R2(config-if)#ip address 10.0.0.2 255.0.0.0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface g0/1 R2(config-if)#ip address 193.168.2.1 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#do write Building configuration... 

Waxaan hadda ku habeynay is-dhexgalka oo leh cinwaannada IP-ga labadaba R1 iyo R2.

R1#show ip interface brief !shows interface status Interface IP-Address OK? Method Status Protocol  GigabitEthernet0/0 10.0.0.1 YES manual up up  GigabitEthernet0/1 192.168.1.100 YES manual up up  Vlan1 unassigned YES unset administratively down down R2#show ip interface brief Interface IP-Address OK? Method Status Protocol  GigabitEthernet0/0 10.0.0.2 YES manual up up  GigabitEthernet0/1 193.168.2.1 YES manual up up  Vlan1 unassigned YES unset administratively down down 

Tallaabada 2. Samee barkadda serverka DHCP

Isticmaalka ip dhcp poolamarka oo uu raaco magaca barkada waxay abuurtaa laba barkadood POOL-A oo ku yaala router R1 iyo POOL-2 ee router R2. Tan waxaa ka mid ah habaynta ciwaannada shabakadda, albaabka caadiga ah, iyo ciwaanka IP-ga ee server-ka DNS.

Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip dhcp pool POOL-A !pool creation R1(dhcp-config)#? !get more details about pools default-router Default routers dns-server Set name server domain-name Domain name exit Exit from DHCP pool configuration mode network Network number and mask no Negate a command or set its defaults option Raw DHCP options R1(dhcp-config)#default-router 192.168.1.100 !ip address of default router R1(dhcp-config)#dns-server 192.168.1.50 !ip address of dns-server R1(dhcp-config)#network 192.168.1.0 255.255.255.0 !ip address of the default gateway/network R1(dhcp-config)#exit R1(config)# R1(config)#do write !saving the configurations Building configuration... [OK] 
R2(config)# R2(config)#ip dhcp pool POOL-B R2(dhcp-config)#? default-router Default routers dns-server Set name server domain-name Domain name exit Exit from DHCP pool configuration mode network Network number and mask no Negate a command or set its defaults option Raw DHCP options R2(dhcp-config)#default-router 192.168.2.100 R2(dhcp-config)#network 192.168.2.0 255.255.255.0 R2(dhcp-config)#dns-server 192.168.2.50 R2(dhcp-config)#exit R2(config)#do write Building configuration... 

Tallaabada 3. Ka saar cinwaannada IP-ga

Shabakaddayada, waa in aan ka saarno ciwaanka IP-yada ee R1 iyo R2, oo ay la socdaan 9-ka ciwaan ee kale ee loo isticmaali doono meelaynta joogtada ah ee aaladaha kale sida server-yada iyo is-dhexgalada maamulka qalabka.

R1(config)#ip dhcp excluded-address 192.168.1.100 R1(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10 R1(config)#ip dhcp excluded-address 192.168.1.50 R1(config)#do write 
R2(config)# R2(config)#ip dhcp excluded-address 192.168.2.100 R2(config)#ip dhcp excluded-address 192.168.2.1 192.168.2.10 R2(config)#ip dhcp excluded-address 192.168.2.50 R2(config)#exit 

Xaqiijinta Adeegga DHCP

Si loo xaqiijiyo in server-kayaga DHCP lagu habeeyey labada router, show running-config | section DHCPamarka ayaa la isticmaalaa. Soo saarida ayaa ah sida hoos ku cad, taas oo xaqiijinaysa in router-yadu ay hadda fulin karaan shaqooyinka u qoondaynta cinwaannada IP si firfircoon macaamiisha shabakadda.

R2#show running-config | section dhcp ip dhcp excluded-address 192.168.2.100 ip dhcp excluded-address 192.168.2.1 192.168.2.10 ip dhcp excluded-address 192.168.2.50 ip dhcp pool POOL-B network 192.168.2.0 255.255.255.0 default-router 192.168.2.100 dns-server 192.168.2.50 

FIIRO GAAR AH: Server-ka dhcp waa la curyaami karaa iyadoo la isticmaalayo no service dhcpamarka oo dib loo dami karo iyadoo la isticmaalayo service dhcpamarka qaabka qaabeynta caalamiga ah.

Tijaabinta router ee DHCP Server

Marka aan xaqiijino in router-yadu ay hadda u habeeyeen inay u dhaqmaan sidii server-yada DHCP, waxaan tijaabin karnaa shaqeyntooda anagoo isku daynayna inaan ku meeleyno ciwaannada Ip-ka macaamiisha. Laga soo bilaabo shabakadayada, waxaan ku haynaa 4 PC oo u shaqeeya sida macaamiisha. Kahor qaabaynta, router-ka loo habeeyey sidii server-ka DHCP ma u diri karo PC-yada ciwaanka si firfircooni leh, DHCP-gu wuu fashilmay sida muuqata. Isku xidhka DHCP ee fashilmay Qaabeynta ka dib, waxaan isku dayi doonaa mar kale inaan ku meeleyno macmiil kasta ciwaanka IP-ga anagoo dooranayna ikhtiyaarka DHCP ee daaqada qaabeynta IP-ga. DHCP waxay u shaqeysaa si guul leh. Tani waxay ku tusinaysaa in routerkeenu ay hadda shaqeeyaan DHCP. Guusha Iskudubaridka DHCP Waxaan sidoo kale isku dayi karnaa inaan tijaabino xiriirka ka dhexeeya laba macaamiil isla subnet-ka iyadoo la adeegsanayo pingamarka. Shabakaddayada, PC5 waxa ay la xidhiidhi kartaa PC4 iyada oo adeegsanaysa cinwaannada IP-ga ee loo qoondeeyey sida ka muuqata. Isku xirka Ping Network

FIIRO GAAR AH: Cinwaannada IP-ga ee loo xilsaaray waxaa cad in server-ka DHCP uu u qoondeeyay ciwaannada .11 marka laga reebo cinwaannada IP-ga ee .1 ilaa .10 iyo .50 kuwaas oo ka mid ahaa ciwaannada laga saaray.

Gabagabo

Sida aan aragnay, router-yada shabakadu waxay badbaadin karaan ururka qiimaha iibsashada server-yada gaarka ah iyagoo siinaya shaqeynta serverka DHCP marka si sax ah loo habeeyo. Macluumaadkani waa mid muhiim ah oo ku qalabayn doona bartaha aqoonta sida loo habeeyo router-yada si loo baabi’iyo culayska habaynta IP-ga. Soo koobid:

  • Waxaan baranay waxa uu yahay server-ka DHCP
  • Waxaan sahaminay sida loo isticmaalo router si loogu dhaqmo server-ka DHCP.
  • Waxaan dejinay shabakad, xaqiijinnay oo habeynnay router-yada si ay u qabtaan hawlaha server-ka DHCP.
  • Waxaan baranay sida loo awoodo oo loo joojiyo server-ka DHCP ee shabakada.

Waxaa laga heli karaa macluumaad dheeraad ah oo ku saabsan habaynta DHCP-router halkan. Codayn farxad leh. Wax ku biirinta dib u eegista asaaga waxaa qoray: Collins Ayuya

Ku xidh serverka DHCP ee aaladaha Cisco

DHCP waxaa si weyn loogu isticmaalaa deegaanka LAN si firfircooni leh loogu qoondeeyo ciwaannada IP-ga martida loo yahay ee server-ka dhexe, taas oo si weyn u yaraynaysa maamulka ciwaannada IP-ga. DHCP waxa kale oo ay caawisaa in la dhawro booska ciwaanka IP-ga ee xaddidan sababtoo ah ciwaanada IP uma baahna in si joogto ah loogu qoondeeyo martigeliyayaasha; Kaliya kuwa martida loo yahay ee ku xiran shabakada ayaa isticmaala cinwaanada IP-ga. Adeegga DHCP wuxuu cinwaanada IP-ga ka dejiyaa barkadaha ciwaanka ee la cayimay ee router ama router macaamiisha DHCP oo maamula iyaga. Maqaalkan, waxaad ku baran doontaa sida loo habeeyo Cisco Router sida server-ka DHCP adoo isticmaalaya CLI iyo inaad u cusbooneysiiso aalado badan isla mar ahaantaana codsiga NCM adoo isticmaalaya configlets. Haddii aadan ku rakibin NCM, fadlan halkan guji si aad u soo dejiso oo u rakibto codsiga.

Tallaabooyinka lagu habeeyo serverka DHCP iyada oo loo marayo CLI.

    1. Ku soo gal aaladda adigoo isticmaalaya SSH / TELNET oo tag qaabka karti.
    1. gal qaabka habaynta
      Router# habaynta terminal
      Geli amarrada qaabaynta, midkiiba. Ku dhammee CNTL/Z
      Router(habayn)#
    1. Ka saar ciwaanka IP-ga in lagu meeleeyo DHCP adiga oo isticmaalaya ip dhcp-ka reeban-cinwaanka FIRST_IP LAST_IP
      Router(config)#ip dhcp exluded-address 192.168.0.1 192.168.0.50
      Router(config)#
    1. Samee barkad DHCP cusub oo leh ip dhcp barkada NAME amarka
      Router(config)# ip dhcp pool Floor1DHCP
      Router(dhcp-config)#
    1. Qeex shabakad hoose oo loo isticmaali doono in lagu meeleeyo ciwaanada IP-ga martigaliyayaasha leh amarka SUBNET SUBNET_MASK.
      Router(dhcp-config)# network 192.168.0.0 255.255.255.0
      Router(dhcp-config)#
    1. Qeex albaabka hore ee caadiga ah-router IP Command
      Router(dhcp-config)# default-router 192.168.0.1
      Router(dhcp-config)#
    1. Ku qeex server-ka DNS ee leh DNS-serverka cinwaanka IP-ga.
      Router(dhcp-config)# dns-server 192.168.0.1
      Router(dhcp-config)#
    1. Ku soo laabo qaabka isku xidhka mudnaanta ee
      Router(dhcp-config)# ka bixida
      Router(config)#
    1. Ka yeel server-ka DHCP interface-ka adigoo isticmaalaya adeegga dhcp interface-nooca lambarka amarka
      Router(config)# service dhcp vlan1
      Router(config)#
    1. Ka bax qaabka isku xidhka ee
      router(config)# ka bax
      router#
    1. Si aad u aragto macluumaadka ku saabsan ciwaanada hadda la kireeyay, waxaad isticmaali kartaa show ip dhcp binding Command
      Router# show ip dhcp binding
      IP address Client-ID/ Lease expiration Type
      Hardware address
      192.168.0.51 0060.5C2B.3DCC — AutomaticIn saarka sare waxaad arki kartaa in uu jiro hal macmiil oo DHCP ah oo loo qoondeeyay ciwaanka IP-ga ee 192.168.0.51. Maadaama aanu ka saarnay ciwaanada IP-yada inta u dhaxaysa 192.168.0.1 – 192.168.0.50, qalabku wuxuu helay ciwaanka ugu horeeya – 192.168.0.51.
    1. Si aad u muujiso macluumaadka ku saabsan barkadaha DHCP ee la habeeyey, waxaad isticmaali kartaa show ip dhcp pool Command
      Router#show ip dhcp pool
      Pool Floor1DHCP :
      Calaamada isticmaalka (sare/hoose):
      100/0 Cabbirka hoose (koowaad/kuxiga): 0/0
      Wadarta Cinwaanada : 254
      Cinwaanada kirada ah macluumaadka ku saabsan barkadda DHCP ee lagu habeeyay aaladda – magaca barkadda, tirada guud ee ciwaannada IP-ga, tirada ciwaannada la kireeyay iyo kuwa laga saaray, kala duwanaanshaha IP-ga hoose, iwm.
  1. Ku koobbi qaabaynta socota qaabaynta bilowga adoo isticmaalaya taliska hoose ee
    Router#ku qor xusuusta
    dhismaha… [OK]
    Router#

Isku xidhka u dhigma waxa lagu abuuri karaa codsiga NCM sida ka muuqata sawirka hoose. Ku hagaaji serverka DHCP ee Cisco router Sidoo kale waxaad riixi kartaa badhanka hoose si aad u soo dejiso Configlet sida XML oo aad u soo dejiso codsiga NCM adoo isticmaalaya ikhtiyaar soo dejinta faylka.

Magaca Configlet Habee DHCP Server Cisco
Sharaxaada Habka fulinta qoraalka
Qaabka fulinta Maqaalkani wuxuu ku saabsan yahay sida loo habeeyo Cisco Router sida server-ka DHCP iyadoo la adeegsanayo CLI iyo sida loo cusbooneysiiyo qalabyo badan oo isku mar ah codsiga NCM adoo isticmaalaya configlets.
Configlet Configlet ku habee terminal ip dhcp ciwaanka laga reebay $ EXCLUDE_FIRST_IP
$EXCLUDE_LAST_IP ip dhcp
barkada $MY_POOL_NAME network
$SUBNET $SUBNET_MASK
default-router $DEFAULT_ROUTER_IP
dns-server $DNS_SERVER_dht show
$ DNS_SERVdht ex-server $ DNS_SERVER_dh

Huawei waxay isticmaashaa turjumaada mishiinka oo ay weheliso akhrin biniaadmi ah si ay ugu turjunto dukumeentigan luuqado kala duwan si ay kaaga caawiso inaad si fiican u fahanto waxa ku jira dukumeentigan.
Fiiro gaar ah: Xataa turjumaada mishiinada ugu horumarsan ma la mid noqon karto tayada turjumaanada xirfadlayaasha ah.
Huawei ma qaadi doono wax mas’uuliyad ah saxnaanta tarjumaada waxaana lagugula talinayaa inaad tixraacdo dukumeentiga Ingiriisiga (xidhiidh la bixiyay).

Ku dabaqitaan

Tusaalahani waxa uu quseeyaa dhammaan noocyada iyo AR router-yada.

Shuruudaha Isku Xidhka

Router-ku wuxuu u shaqeeyaa sidii server-ka DHCP si uu si firfircoon ugu qoondeeyo ciwaannada IP-ga macaamiisha qaybta shabakadda 10.10.1.0/24. Qaybta shabakadu waxay ka kooban tahay laba qaybood oo hoose: 10.10.1.0/25 iyo 10.10.1.128/25. Ciwaanka IP-ga ee GE0/0/0 iyo GE0/0/1 ee router-ku waa 10.10.1.1/25 iyo 10.10.1.129/25, siday u kala horreeyaan. Qaybta shabakadda 10.10.1.0/25, heshiiska kirada cinwaanka IP-ga waa 10 maalmood iyo 12 saacadood, magaca domain waa huawei.com, cinwaanka server-ka DNS waa 10.10.1.2, cinwaanka serverka NetBIOS waa 10.10.1.4, iyo egress-ka. Cinwaanka albaabku waa 10.10.1.1. Waxaa loo baahan yahay in cinwaanka IP-ga ee 10.10.1.5 lagu meeleeyo PC_AD xafiiska si uu u buuxiyo shuruudaha adeegga. Qeybta shabakada 10.10.1.128/25, heshiiska kirada IP-ga waa 5 maalmood, magaca domain waa huawei.com, cinwaanka server-ka DNS waa 10.10.1.2, ma jiro ciwaanka serverka NetBIOS, ciwaanka egress-ka waa 10.10. 1.129. Jaantuska 8-1 Shabakadda isku xidhka ee habaynta serverka DHCP

Habraaca

  1. Habee router-ka
    # magaca router # dhcp awood //Daree shaqada DHCP # ip pool ip-pool1 Liiska albaabka 10.10.1.1 //Habee ciwaanka albaabka. network 10.10.1.0 maaskaro 255.255.255.128 // Cadee kala duwan ee cinwaanada IP in si firfircoon looga qoondayn karaa barkadda ciwaanka IP-ga caalamiga ah. exluded-ip-address 10.10.1.2 // Sheeg cinwaanka IP (10.10.1.2) kaas oo aan si toos ah looga qoondayn karin barkadda ciwaanka IP-ga. exluded-ip-address 10.10.1.4 // Sheeg cinwaanka IP-ga (10.10.1.4) kaas oo aan si toos ah looga qoondayn karin barkadda ciwaanka IP-ga. dns-list 10.10.1.2 //U samee ciwaanka serverka DNS ee macmiilka DHCP. nbns-liiska 10.10.1.4 //U samee ciwaanka serverka NetBIOS ee macmiilka DHCP. maalinta heshiiska kirada 10 saac 12 daqiiqo 0 // Ka dhig heshiiska kirada cinwaanada IP 10 maalmood iyo 12 saacadood. domain-name huawei.com // U deji magaca domain huawei.com. 10.10.1.5 mac-address 00e0-fc67-ce34 // Ku qor ciwaanka IP go'an PC_AD. # ip pool ip-pool2 Liiska albaabka 10.10.1.129 //Habee ciwaanka albaabka. network 10.10.1.128 maaskaro 255.255.255.128 // Cadee kala duwan ee cinwaanada IP in si firfircoon loo qoondeeyey laga bilaabo barkadda ciwaanka IP ee caalamiga ah. dns-list 10.10.1.2 //U samee ciwaanka serverka DNS ee macmiilka DHCP. maalinta heshiiska kirada 5 saac 0 daqiiqo 0 // Ka dhig heshiiska kirada cinwaanada IP 5 maalmood. domain-name huawei.com // U deji magaca domain huawei.com. # interface GigabitEthernet0/0/0 Ciwaanka IP 10.10.1.1 255.255.255.128 dhcp dooro caalami ah //Habee interface si aad u isticmaasho barkada ciwaanka IP-ga caalamiga ah. # interface GigabitEthernet0/0/1 Ciwaanka IP 10.10.1.129 255.255.255.128 dhcp dooro caalami ah //Habee interface si aad u isticmaasho barkada ciwaanka IP-ga caalamiga ah. # 
  2. Xaqiiji qaabaynta _

La cusbooneysiiyay: 2022-10-25 Aqoonsiga dukumeentiga: EDOC1100130782 Aragtida: 235668 Downloads: 1794 Celceliska qiimeynta: Dukumeentigani wuxuu khuseeyaa alaabtan

Faylka Saxeexa Dijital ah

Hab-maamuuska Isku-xidhka Martigeliyaha Dynamic Host (DHCP) waa borotokoolka lakabka arji ee loo isticmaalo in lagu qaybiyo cabirrada qaabeynta shabakado kala duwan aaladaha shabakadda TCP/IP. – Cinwaannada IP-ga, maaskaro-hoosaadka, albaabada caadiga ah, server-yada DNS, iwm. DHCP waxay shaqaaleysiisaa naqshad-server-macmiil; Macmiilka DHCP waxaa loo habeeyey inuu ka codsado cabbirada shabakadda server-ka DHCP ee shabakada. Adeegga DHCP waxa lagu habeeyey barkad ciwaanno IP ah oo la heli karo oo mid ka mid ah loo xilsaaray macmiilka DHCP. Router-ka Sisiko waxa loo habayn karaa server-ka DHCP. Waa kuwan tillaabooyinka:

  1. Ka saar ciwaanka IP-ga inay ku meelayso DHCP adiga oo isticmaalaya ip dhcp ciwaanka laga reebay FIRST_IP LAST_IP
  2. Samee barkad DHCP cusub oo leh ip dhcp barkada NAME .
  3. Qeex shabakad hoose oo loo isticmaali doono in lagu meeleeyo ciwaanada IP-ga martigaliyayaasha leh amarka SUBNET SUBNET_MASK .
  4. Ku qeex albaabka caadiga ah ee amarka IP-ga ee caadiga ah.
  5. Ku qeex server-ka DNS ee leh DNS -serverka cinwaanka IP-ga.
  6. (Ikhtiyaar ah) Qeex magaca domainka DNS adiga oo isticmaalaya ip domain-name NAME .
  7. (Ikhtiyaar ah) Qeex muddada heshiiska adiga oo isticmaalaya amarka MAALMAHA HOURS HOURS MINUTES . Haddii aadan caddayn dooddan, wakhtiga kiraynta caadiga ah ee 24 saacadood ayaa la isticmaali doonaa.

Waa kan tusaale qaabaynta:

Dabaqa 1(config)#ip dhcp ciwaanka laga saaray 192.168.0.1 192.168.0.50 Dabaqa 1(config)#ip dhcp barkada Dabaqa1DHCP Dabaqa 1(dhcp-config)#network 192.168.0.0 255.255.255.0 Dabaqa 1(dhcp-config)#default-router 192.168.0.1 Dabaqa 1(dhcp-config)#dns-server 192.168.0.1

Tusaalaha kore waxaad ku arki kartaa inaan habeeyey server-ka DHCP oo leh xuduudaha soo socda:

  • Ciwaanka IP-ga ee laga soo bilaabo 192.168.0.1 – 192.168.0.50 laguma meelayn doono martigaliyayaasha
  • barkada DHCP waa la sameeyay waxaana loo bixiyay Floor1DHCP
  • Ciwaanka IP-ga ee loo qoondeeyay martigaliyayaasha waxay ka koobnaan doonaan 192.168.0.0/24
  • Cinwaanka IP-ga ee albaabka hore waa 192.168.0.1
  • Ciwaanka IP-ga ee server-ka DNS waa 192.168.0.1

Si aad u aragto macluumaadka ku saabsan ciwaanada hadda la kireeyay, waxaad isticmaali kartaa show ip dhcp binding Command:

Dabaqa 1#muuji ip dhcp xidhitaanka Cinwaanka IP-ga Macmiilka-ID/ Nooca dhicitaanka Kiraysiga cinwaanka Hardware 192.168.0.51 0060.5C2B.3DCC -- Toos ah

Wax soo saarka sare waxaad ku arki kartaa inuu jiro hal macmiil oo DHCP ah oo loo qoondeeyay cinwaanka IP-ga ee 192.168.0.51 . Tan iyo markii aan ka saarnay ciwaanada IP-yada 192.168.0.1 – 192.168.0.50 , qalabku wuxuu helay ciwaanka ugu horeeya – 192.168.0.51 . Si aad u muujiso macluumaadka ku saabsan barkadaha la habeeyay ee DHCP, waxaad isticmaali kartaa show ip dhcp pool Command:

Dabaqa 1# show ip dhcp pool Dabaqa Barkadda 1DHCP: Calaamadda isticmaalka (sare/hoose): 100/0 Cabbirka shabakada hoose (koowa/ku xiga): 0/0 Wadarta ciwaanada: 254 Cinwaanada la kiraysto: 1 Ciwaanada laga saaray: 1 Dhacdada la sugayo: midna 1 subnet ayaa hadda ku jira barkadda Tusiyaha hadda jira ee ciwaanka IP-ga ayaa kala duwan oo la kiraystay/ka saaray/wadarta 192.168.0.1 192.168.0.1 - 192.168.0.254 1/1/254 

Amarkani waxa uu muujinayaa xog muhiim ah oo ku saabsan barkada DHCP ee lagu habeeyay aaladda – magaca barkada, tirada guud ee ciwaanada IP-ga, tirada ciwaanada la kireeyay iyo kuwa laga saaray, kala duwanaanta IP-ga subnet-ka, iwm. Soo deji Hagaha Wax-barashada ee CCNA ee bilaashka ah PDF si aad u hesho qoraallo dhammaystiran oo ku saabsan dhammaan mawduucyada imtixaanka CCNA 200-301 ee hal buug. Waxaan kugula talineynaa Cisco CCNA Gold Bootcamp inuu noqdo koorsadaada tababarka ugu weyn ee CCNA . Waa koorsada Cisco ee khadka tooska ah ee ugu sareysa ee lagu qiimeeyo 4.8 in ka badan 30,000 dib u eegis dadweyne waana heerka dahabka ee tababarka CCNA:

Leave a comment

Your email address will not be published. Required fields are marked *