In these blog you will get information about how to make bootable pendrive, N+ , data sharing, cmd related function and other types of courses and technology

Tuesday, 12 February 2019

OSPF(Open Short Path First) Routing

No comments :

OSPF(Open Short Path First)

1. It is dynamic routing Protocol. It is also known as link straight protocol
2. OSPF is classless routing protocol. Support CIDR Network.
3. OSPF protocol design and develop by IAB (Internet Articture Board) and IETF (Internet Engineer Task Force)
4. OSPF Route the packet up to infinity hope {infinity network support}
5. OSPF is use LSA (Link Stay Advertisement)
     LSA are of 9 Type 
    LSA-1 is in CCNA
    And other from 2-9 are in CCNP
6. OSPF Use Process ID, Process ID mask match between neighbors router
7. Process ID range is between 1 to 65535. 
8. OSPF is use area no., Area no. zero is backbone Area
9. OSPF Configuration also support wild card mask. Wild card mask is just opposite of subnet mask
   For EX.:- 255.255.255.0
                  -255.255.255.255
                 ————————
                        0.0.0.255

NOW CONFIGURATION:- 

Now Diagram


Step#1 Basic Configuration:-
Go to First Router

Router>enable
Router#configure terminal
Router(config)#interface Serial0/0
Router(config-if)#ip address 192.168.30.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#clock rate 64000
Router(config-if)#exit

Router(config)#int loopback 0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#exit

Go to second Router
Router>enable
Router#configure terminal
Router(config)#interface Serial 0/0
Router(config-if)#ip address 192.168.30.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit

Router(config)#interface Serial 0/1
Router(config-if)#ip address 192.168.40.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#clock rate 64000
Router(config-if)#exit

Router(config)#int loopback 0
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#exit

Go to third Router 

Router(config)#interface Serial 0/0
Router(config-if)#ip address 192.168.40.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit

Router(config)#int loopback 0
Router(config-if)#ip address 192.168.50.1 255.255.255.0
Router(config-if)#exit

Step#2 Now Routing

Go to First Router
Router(config)#router ospf 100
Router(config-router)#net 192.168.10.0 0.0.0.255 area 0
Router(config-router)#net 192.168.30.0 0.0.0.255 area 0
Router(config-router)#exit

Go to Second Router
Router(config)#router ospf 100
Router(config-router)#net 192.168.20.0 0.0.0.255 area 0
Router(config-router)#net 192.168.30.0 0.0.0.255 area 0
Router(config-router)#net 192.168.40.0 0.0.0.255 area 0
Router(config-router)#exit

Go to Third Router
Router(config)#router ospf 100
Router(config-router)#net 192.168.40.0 0.0.0.255 area 0
Router(config-router)#net 192.168.50.0 0.0.0.255 area 0
Router(config-router)#exit

Now Check Network by sending Package or ping one router to another router as Shown in the Diagram


                                            ------------------------END-----------------------------

No comments :

Post a Comment