Amaliy qism Uchta Router qurilmadan iborat tarmoq uchun RIP 2-versiyasini sozlash.
Bizning vazifamiz rasmda ko‘rsatilgan tarmoq qurish va marshrutlashni sozlash. (9.2.Rasm)
Tarmoq quriladi va har bir qurilma rasmda ko’rsatilganidek mos IP manzil beriladi.
Routerlar (R0, R1, R2) ham mos IP manzil kiritiladi.
9.2-rasm. Routerlarga IP manzil kiritish
R0, R1 va R2 da RIP ni sozlash Routerlar ketma-ket tanlanadi, konfigutarsiya oynasidan RIP bandi tanlanadi va routerlarga tegishli IP manzillar kiritiladi (9.3-rasm).
9.3-rasm. Router0 ga RIPni solash uchun interfeys yordamida routerlar IP manzilini kiritish 2) Yoki CLI oynasiga quyidagi kod kiritiladi: Router(config)#router rip Router(config-router)#network 10.0.0.0 Router(config-router)#network 11.0.0.0 Router(config-router)#network 12.0.0.0 Router(config-router)#network 192.168.2.0 Router(config-router)#network 192.168.3.0 Router(config-router)#
9.4-rasm. Router1 ga RIPni solash uchun interfeys yordamida routerlar IP manzilini kiritish
CLI oynasidagi kod quyidagicha bo’ladi:
Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router rip Router(config-router)#network 10.0.0.0 Router(config-router)#network 11.0.0.0 Router(config-router)#network 12.0.0.0 Router(config-router)#network 192.168.1.0 Router(config-router)#network 192.168.3.0 Router(config-router)# Router(config-router)#end
9.5-rasm. Router2 ga RIPni solash uchun interfeys yordamida routerlar IP manzilini kiritish
CLI oynasidagi kod quyidagicha bo’ladi:
Router>enable Router# Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface GigabitEthernet0/0/2 Router(config-if)# Router(config-if)#exit Router(config)#router rip Router(config-router)#network 10.0.0.0 Router(config-router)#network 11.0.0.0 Router(config-router)#network 12.0.0.0 Router(config-router)#network 192.168.1.0 Router(config-router)#network 192.168.2.0 Router(config-router)# Router(config-router)#end