ROUTER – O
Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 1.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#interface serial 2/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#bandwidth 56
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router ospf 100
Router(config-router)#network 10.0.0.0 0.0.0.255 area 0
Router(config-router)#network 1.0.0.0 0.0.0.255 area 0
Router(config-router)#^Z
Router#show ip route
C 1.0.0.0/8 is directly connected, FastEthernet0/0
O 2.0.0.0/8 [110/1786] via 10.0.0.2, 00:04:13, Serial2/0
C 10.0.0.0/8 is directly connected, Serial2/0
Router#
ROUTER – 1
Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 2.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 2/0
Router(config-if)#ip address 10.0.0.2 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router ospf 10
Router(config-router)#network 10.0.0.0 0.0.0.255 area 0
Router(config-router)#network 2.0.0.0 0.0.0.255 area 0
Router(config-router)#^Z
Router#show ip route
O 1.0.0.0/8 [110/782] via 10.0.0.1, 00:02:28, Serial2/0
C 2.0.0.0/8 is directly connected, FastEthernet0/0
C 10.0.0.0/8 is directly connected, Serial2/0
Router#
gud one
ReplyDelete