Tuesday, February 26, 2019

OSPF PROTOCOL CONFIGURATION IN CISCO PACKET                                         TRACER

Router connect networks using the Internet Protocols (IP), and OSPF (Open Source Path First) is a router protocol used to find the best path for packets as they pass through a set of connected networks. It is also an Internet Gateway Protocol (IGP) for the Internet, used to distribute IP routing information throughout a single Autonomous System (AS) in an IP network.
                                    
The OSPF protocol is a link-state routing protocol, which means that the routers exchange topology information with their nearest neighbors. The topology information is flooded throughout the AS, so that every router within the AS has the complete picture of the topology of the AS. This picture is used to calculate end-to-end paths through the AS, normally using Dijkstra algorithm. The main advantage of link state routing protocol like OSPF is that the complete knowledge of topology allows routers to calculate routers that satisfy particular criteria.

OSPF protocol network topology

CONFIGURATION:
Router 1

Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 192.168.100.0 0.0.0.255 area 1
Router(config-router)#network 10.10.10.10 0.255.255.255 area 1
Router(config-router)#exit
Router(config)#

Router 2
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 2
Router(config-router)#network 192.168.200.0 0.0.0.255 area 2
Router(config-router)#network 10.10.10.20 0.255.255.255 area 2
Router(config-router)#exit
Router(config)#

The configuration steps are shown below using CLI interface

OSPF configuration for router 1


OSPF configuration for router 2


No comments:

Post a Comment

Socket Programming using TCP Socket Socket: Sockets allow communication between two different processes on the same or different ma...