a)
R1 marshrutizatorning konfiguratsiyasini sozlaymiz.
Router(config)#hostname R1
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 router ospf 10
R1(config-rtr)#router-id 1.1.1.1
R1(config)#interface fastEthernet 0/0
R1(config-if)#ipv6 enable
R1(config-if)#ipv6 address 2001:DB8:1::1/120
R1(config-if)#ipv6 ospf 10 area 1
R1(config-if)#end
R1 ning qolgan interface larini ham shu yo’sinda sozlaymiz.
b)
R2 marshrutizatorning konfiguratsiyasini sozlaymiz.
Router(config)#hostname R2
Router(config)#ipv6 unicast-routing
R2(config)#ipv6 router ospf 10
R2(config-rtr)#router-id 2.2.2.2
R2 (config)#interface fastEthernet 0/0
R2 (config-if)#ipv6 enable
R2 (config-if)#ipv6 address 2001:DB8:2::1/120
R2(config-if)#ipv6 ospf 10 area 2
R2(config)#interface serial 0/3/0
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address 2001:DB8:30::1/126
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
R2(config)#interface serial 0/3/1
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address 2001:DB8:10::2/126
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
R2(config)#ipv6 route ::/0 2001:DB8:100::2
R2#copy running-config startup-config
R3 internet bilan boglanganligi uchun
default-information originate
kommandasi yoziladi
R3(config)#ipv6 route ::/0 2001:DB8:100::2
R3(config)#ipv6 router ospf 10
R3(config-rtr)#default-information originate
R1 da
R2 da
R3 da
|