Skip to main content

OSPF Routing Protocol



OSPF Routing Protocol


Open Shortest Path First (OSPF) protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single autonomous system (AS). It is defined as OSPF Version 2 in RFC 2328 (1998) for IPv4.


OSPF supports/provides/advantages –
  • Both IPv4 and IPv6 routed protocols
  • Load balancing with equal cost routes for same destination
  • VLSM and route summarization
  • Unlimited hop counts
  • Trigger updates for fast convergence
  • A loop free topology using SPF algorithm
  • Run on most routers
  • Classless protocol
There are some disadvantages of OSPF like, it requires extra CPU process to run SPF algorithm, requires more RAM to store adjacency topology and more complex to setup and hard to troubleshoot.

the topology / Configuration









Now, configuring OSPF for R1.

R1(config)#router ospf 1
R1(config-router)#network 192.168.10.48 0.0.0.7 area 1
R1(config-router)#network 10.255.255.80 0.0.0.3 area 1
R1(config-router)#network 10.255.255.8 0.0.0.3 area 1


Now, configuring R2

R2(config)#router ospf 1
R2(config-router)#network 192.168.10.64 0.0.0.7 area 1
R2(config-router)#network 10.255.255.80 0.0.0.3 area 1


Similarly, for R3

R3(config)#router ospf 1
R3(config-router)#network 192.168.10.16 0.0.0.7 area 1
R3(config-router)#network 10.255.255.8 0.0.0.3 area 1

You can check the configuration by typing command

R3#show ip protocols












Comments

Popular posts from this blog

Packet Tracer Simulation – TCP and UDP Communications Part 1: Generate Network Traffic in Simulation Mode Step 1: Generate traffic to populate Address Resolution Protocol (ARP) tables.  Click MultiServer and click the Desktop tab > Command Prompt.  Enter the ping 192.168.1.255 command. This will take a few seconds as every device on the network responds to MultiServer.  Close the MultiServer window. Step 2: Generate web (HTTP) traffic.  Switch to Simulation mode.  Click HTTP Client and click the Desktop tab > Web Browser.  In the URL field, enter 192.168.1.254 and click Go. Envelopes (PDUs) will appear in the simulation window.  Minimize, but do not close, the HTTP Client configuration window. Step 3: Generate FTP traffic.  Click FTP Client and click the Desktop tab > Command Prompt.  Enter the ftp 192.168.1.254 command. PDUs will appear in the simulation window.  Minim...
Star Topology using HUB and Switch, IP configuration of end devices, show command, copy command, password setting, hostname setting Steps to Implement : Connect 5 PC’s to a switch through fast ethernet cables and connect the switch to a router using a Gigabyte ethernet cable. Assing an IP to all the PC’s i.e Topology     PC 0 – 192.168.1.1     PC 1 – 192.168.1.2     PC 2 – 192.168.1.3     PC 3 – 192.168.1.4     PC 4 – 192.168.1.5 3. Configure the router : Router>enable Router# configure terminal Router(config)#hostname R1 R1(config)#interface gig0/1 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#exit R1#configure terminal R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#enable password cisco R1(config)#hostname harsh hardik(config)#exit hardik#write h...
Configuration of Static/Dynamic NAT in Cisco Router Static NAT (Network Address Translation) is one-to-one mapping of a private IP address to a public IP address. Static NAT (Network Address Translation) is useful when a network device inside a private network needs to be accessible from internet. In order to configure NAT we have to understand four basic terms; inside local, inside global, outside local and outside global. These terms define which address will be mapped with which address. Term : Description Inside Local IP Address : Before translation source IP address located inside the local network. Inside Global IP Address : After translation source IP address located outside the local network. Outside Global IP Address: Before translation destination IP address located outside the remote network. Outside Local IP Address : After translation destination IP address locat...