18 Şub 2009

CCNA LAB:Single Area OSPF Configuration



RTA ROUTER
Router>enable
Router#configure terminal
Router(config)#hostname RTA
RTA(config)#interface serial 0/0
RTA(config-if)#ip address 192.168.1.1 255.255.255.252
RTA(config-if)#clock rate 64000
RTA(config-if)#no shutdown
RTA(config-if)#exit
RTA(config)#interface fastethernet 0/0
RTA(config-if)#ip address 192.168.10.1 255.255.255.0
RTA(config-if)#no shutdown
RTA(config-if)#exit
RTA(config)#router ospf 65
RTA(config-router)#network 192.168.1.0 0.0.0.255 area 0
RTA(config-router)#network 192.168.10.0 0.0.0.255 area 0
RTA(config-router)# exit
RTA(config)# exit
RTA#copy running-config startup-config


RTB ROUTER
Router>enable
Router#configure terminal
Router(config)#hostname RTB
RTB (config)#interface serial0/0
RTB (config-if)#ip address 192.168.2.1 255.255.255.252
RTB (config-if)#clock rate 64000
RTB (config-if)#no shutdown
RTB (config-if)#exit
RTB (config)#interface serial 0/1
RTB (config-if)#ip address 192.168.1.2 255.255.255.252
RTB (config-if)#no shutdown
RTB (config-if)#exit
RTB(config)#interface fastethernet 0/0
RTB (config-if)#ip address 192.16.20.1 255.255.255.0
RTB (config-if)#no shutdown
RTB (config-if)#exit
RTB (config)#router ospf 65
RTB (config-router)#network 192.168.20.0 0.0.0.255 area 0
RTB (config-router)#network 192.168.1.0 0.0.0.255 area 0
RTB (config-router)#network 192.168.2.0 0.0.0.255 area 0
RTB(config-router)#exit
RTB(config)#exit
RTB #copy running-config startup-config


RTC ROUTER
Router>enable
Router#configure terminal
Router(config)#hostname RTC
RTC(config)#interface serial 0/1
RTC(config-if)#ip address 192.168.2.2 255.255.255.252
RTC(config-if)#no shutdown
RTC(config-if)#exit
RTC(config)#interface fastethernet 0/0
RTC(config-if)#ip address 192.168.30.1 255.255.255.0
RTC(config-if)#no shutdown
RTC(config-if)#exit
RTC(config)#router ospf 65
RTC(config-router)#network 192.168.2.0 0.0.0.255 area 0
RTC(config-router)#network 192.168.30.0 0.0.0.255 area 0
RTC(config-router)# exit
RTC(config)# exit
RTC#copy running-config startup-config

Hiç yorum yok:

Yorum Gönder