Ukulawula ukuHamba ngokuHamba kweNethiwekhi yeCisco

Ngu-Edward Tetz

Inxalenye ye ICisco Networking Yonke-in-Enye yeeDummies Cheat Sheet



Xa usebenza nemizila yakho kwinethiwekhi yakho yeCisco, kunokwenzeka ukuba uya kufuna ukufumana idatha yendlela yakho. Isinyathelo sokuqala sokuba ne-router yakho idlulise idatha ukusuka kwi-interface eyodwa ukuya kwesinye isikhombisi kukuvumela ukuhamba; sebenzisa nje le miyalelo.



Router1>  enable  Router1#  configure terminal  Router1(config)#  ip routing  

Nokuba ukhetha ukusebenzisa inkqubo yomgaqo onamandla okanye hayi, unokongeza iindlela ezimileyo kwi-router yakho. Oku kulandelayo kuya kongeza indlela emileyo eRouter1 ukuthumela idatha kwinethiwekhi ye-192.168.5.0/24 usebenzisa i-router nedilesi ye-IP ka-192.168.3.2.

Router1>  enable  Router1#  configure terminal  Router1(config)#  ip routing  Router1(config)#  ip route 192.168.5.0 255.255.255.0 192.168.3.2  

Ukulawulwa komgaqo wenkqubo yolwazi kwinethiwekhi yeCisco

IProtokholi yoLwazi lweRouting (RIP) isetyenziswa ngokubanzi, kunye nohlobo 2 olukuvumela ukuba usebenzise iiMaski zobude beSnetnet eziGuqukayo (VLSM) kwinethiwekhi yakho yonke. Le khowudi ilandelayo iya kuvumela ukuhambisa, ukwenza i-RIP, ukuseta i-RIP kuhlobo lwesi-2, ukukhubaza isishwankathelo sendlela, ichaza uthungelwano olusasaziweyo kulo mzila njengo-192.168.5.0/24, kwaye endaweni yeendlela zosasazo, iya kuthumela idatha ye-RIP ngqo kwi-192.168.1.1 .



Router2>  enable  Router2#  configure terminal  Router2(config)#  ip routing  Router2(config)#  router rip  Router2(config-router)#  version 2  Router2(config-router)#  no auto-summary  Router1(config-router)#  network 192.168.5   .0  Router2(config-router)#  neighbor 192.168.1.1  

Ukulawula isakhelo sangaphakathi sendlela yendlela yokunxibelelana kweCisco

Uphuculo lwangaphakathi lweSango lokuPhatha iProtokholi (i-EIGRP) yinguqulelo ehlaziyiweyo ye-IGRP. Le khowudi ilandelayo iya kwenza i-EIGRP isebenzise inombolo ye-autonomous-system (AS) eyi-100, isasaze iinethiwekhi ezimbini kwaye ikhubaze isishwankathelo esizenzekelayo.

Router2>  enable  Router2#  configure terminal  Router2(config)#  ip routing  Router2(config)#  router eigrp 100  Router2(config-router)#  network 192.168.1.0  Router2(config-router)#  network 192.168.5.0  Router2(config-router)#  no auto-summary  

Ukulawula indlela emfutshane evulekileyo yokuqala yenethiwekhi yeCisco

Indlela emfutshane evulekileyo yokuqala (i-OSPF) yinkqubo yekhonkco yelizwe esetyenziswa ngokubanzi. I-OSPF isebenzisa idilesi ye-loopback interface njengesazisi se-OSPF, ke lo mzekelo uza kuseta idilesi ye-loopback interface, emva koko yenza i-OSPF nge-ID yenkqubo ye-100, kunye nokusasaza inethiwekhi ye-192.168.255.254 kunye nenethiwekhi ye-192.168. I-5.0 / 24

Router2>  enable  Router2#  configure terminal  Router2(config)#  interface loopback 0  Router2(config-if)#  ip address 192.168.255.254 255.255.255.0  Router2(config-if)#  exit  Router2(config)#  router ospf 100  Router2(config-router)#  network 192.168.255.254 0.0.0.0 area 0  Router2(config-router)#  network 192.168.5.0 0.0.0.255 area 0