Another post related to ccna certification and this time learn how to configure ospf routing. Ospf can scale to the largest lans but can also start out small. Ospf employs a hierarchical network design using areas. Routing protocol packets are sent with type of service tos of 0. Open shortest path first open shortest path first ospf is an openstandard link state routing protocol. Ospf open shortest path first is an open standard routing protocol. I have a layer3 switch with three vlans and a router, using ospf routing protocol. How to configure ospf routing protocol using cisco packet tracer. By the end of the training, viewers should be able to use nsx on top of their existing network resources to improve performance, deploy services, and increase securitywithout any additional hardware. The routing process id is used to elect dr and bdr as well as advertise routes. How to configure ospf routing in cisco packet tracer duration. How to configure ospf routing protocol using cisco packet. Ospf is one of the most widely used dynamic routing protocols.
Ospf ospf is the industry standard in internal dynamic routing protocols and its supported on nearly all vendor platforms. Configure and verify ospf routing learning objectives. The open shortest path first ospf is a routing protocol for wide area networks and enterprise network. This time, well take a look how you can configure multi area ospf. In this howto ill be walking through the steps required to configure ospf on cisco routers. Alright, we finally made it to the ospf routing protocol. Ospf is an interior gateway protocol igp developed by the ospf working group of the internet engineering task force ietf. In my introduction on ospf i explained why we sometimes use multiple areas for ospf and in our configuration example, i showed you how to configure ospf for a single area.
How to configure ospf support for multivrf on ce routers 156. In the export statement, you list the name of the routing policy to be evaluated when routes are being exported from the routing table into ospf. It is defined as ospf version 2 in rfc 2328 1998 for ipv4. How to make sure i have right license for ospf on cisco switches. Ciscos ospf implementation ciscos implementation conforms to the ospf version 2. How to configue ospf routing protocol on cisco switches. Configuring ospf to advertise a default route through out the ospf domain is very similar configuring the default route propagation in the routing information protocol rip found in lab 77 configuring rip default information originate except there are two differences. Ospf with three routers the physical topology is as shown in fig 18. Router dont need a routing protocol to have a routing table, they need a routing protocol to share routes.
This is one of the largest and mostcomplex protocol to configure. Switches dont care about routing protocols unless it is a layer 3 switch. Ospf configuration step by step guide computernetworkingnotes. Ospf has become one of the most widely used protocols in existence today because of being able to implement it cross multivendor platforms.
Use the commands in this chapter to configure and monitor the open shortest. In this lab configure a multiarea ospf operation, interarea summarization, external route summarization, and default routing. Configuring the multivrf capability for ospf routing 156. If your network is not too large, single area ospf configuration is easier. Complex, because it has a lot of attributes andit does take a lot of processor usage on these routers. Ospf inbound filtering using route maps with a distribute list.
Learn ospf configuration commands, ospf show commands, ospf network configuration process id, network id, wild card mask and area number and ospf routing in detail. This also resets the all the configurations related to routing. Care to know what dynamic cisco routing is for and how to set up ospf in cisco. How to configure ospf in the cisco ios the ospf dynamic routing protocol is probably the most popular lan routing protocol today. We explain how ospf works, how ospf tables are built on an ospf enabled router and their purpose neighbour table, topology table, routing table, ospf areas and their importance. Configure and verify open shortest path first ospf routing.
Modify ospf cost metric on an interface theory the open shortest path first ospf protocol is a linkstate, hierarchical interior gateway protocol igp for network routing. This article covers basic ospf concepts and operation. In this lab activity, you will use the topology for this chapter. When a link state router begins operating on a network link, information associated with that logical network is added to its local link state database lsdb. In the router r1 configure osfp routing with router ospf command.
In this lab we will learn to configure multi area ospf using cisco packet tracer. In below network topology diagram you can see there are two area area 0 and area 1. Router a should see routes for and be able to ping the loopback interface on router c and vice versa. Rip, ospf, bgp universita degli studi dellaquila facolta di scienze matematiche fisiche e naturali dipartimento di informatica reti di calcolatori, a. Ospf will form neighbor relationships with adjacent routers in the same area. How to configure multi area ospf lab in cisco packet tracer. By default, if a routing device has multiple ospf areas, learned routes from other areas are automatically installed into area 0 of the routing table. Cisco ios documentation describes the tasks and commands available to configure and maintain cisco.
Use the show ip protocols command to verify that a route is being advertised. This tutorial explains how to configure ospf routing protocol step by step with practical example in packet tracer. Routers know only about networks that are directly connected to them. Cisco icnd2 configure, verify and troubleshoot ospf. Ciscos version of ospf is compatible with noncisco routers. This means that ospf can run on just about any companys routers and ospf routes from a noncisco router can be exchanged with cisco routers. You can also configure the following to tailor rip for a specific network.
Ospf was designed expressly for ip networks and it supports ip subnetting and tagging of externally derived routing information. Understanding ospf areas ingrid belosa december 12, 2014 configuration tips 1 comment whether you are preparing for the cisco ip routing exam or you are an experienced network engineer planning to implement the open shortest path first ospf routing protocol, you should familiarize yourself with the capability to divide your network into. Ospf is perhaps the most widely used interior gateway protocol igp in large. Dec 31, 2012 learn about the helpful cisco ospf messages routing bit set on this lsa, and advertising router is not reachable. Ospf routing bit set on this lsa the network sherpa. If youve completed the labs in the free ccna workbook up until this point then boy youre in for a real treat. Learn about the helpful cisco ospf messages routing bit set on this lsa, and advertising router is not reachable. The configuration of ospf routing protocol is easy as rip routing. For this reason, it may be a good idea to create a loopback interface to override this to ensure that becomes rid, cisco even suggests using loopbacks. This module describes how to configure open shortest path first ospf. Switches only care about the mac table and mac addresses. Ospf is a standard routing protocol, as defined by rfc2328 and rfc1247. Ospf adheres to the following link state characteristics.
Create an l3 outside connection with ospf configuration. Ospf by default uses the highest ip address for its routing process id. The entire network that ospf routes for is called an autonomous system, or as. Configure route summarization when redistributing routes into ospf. Ospf offers many advantages over previous routing protocols rip in that it is very flexible and scalable to a number of different environments including those that are very large. Router dont need a routing protocol to have a routing table. 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. Configuring the multivrf capability for ospf routing 82.
Configuring the ospf routing process objective setup an ip addressing scheme for ospf area 0. If the router has rip, its a safe bet that it has the other protocols as well. Jul 02, 2015 configure dynamic routing ospf open shortest path first in cisco routers techengineertv. Above we have r1 and r2 in area 0, the backbone area. Configuring ospf in a single area select the contributor at the end of the page ospf stands for open shortest path first and it represents a routing protocol belonging to the group of linkstate routing protocols. Ip routingconfiguring rip, ospf, bgp, and pbr ftp directory. Five types of ospf routing protocol packets hello packet type 1 database description packet type 2. Chapter routing protocols rip, ospf, and bgp pdf created with fineprint pdffactory pro trial version.
A routing protocol like ospf must be run on all the routers. Later in the course, bill configures static and ospf routing, load balancing, and a simple vpn, as well as high availability with nsx edge. In this lesson ill explain the basics of ospf to you and you will learn how and why it works. Use the show ip route command to verify routes in a routing table. Five types of ospf routing protocol packets hello packet type 1 database description packet type 2 linkstate request packet type 3 linkstate update packet type 4. Mar 18, 20 ospf by default uses the highest ip address for its routing process id. How to configure and verify ospf ospf is the routing protocol for the internet protocol ip systems. Suppose that we are using static routing in this network.
The lab is ready for routing, download and configures ospf routing with the following step by step guide. Note to adjust the configuration to work with check point gateways, see the gaia advanced routing administration guide. Link state routing protocols advertise the state of their links. For this reason, it may be a good idea to create a loopback interface to override this to ensure that. Configure ospf with a single area cisco spiceworks. Configuring ospf default route propagation free ccna workbook. How to configure ospf support for multivrf on ce routers 82. The router ospf 1 command given in the lab below selects ospf as the routing protocol. The popularity of ospf is continuing to grow with the advent of multi protocol label switching mpls. It really burdens the routersbecause of the dijkstra algorithmand the shortest path first calculations that it creates. This means that ospf can run on just about any companys routers and ospf routes from a non cisco router can be exchanged with cisco routers. Ill be using a program called packet tracer and will build the network from the ground up walking through each piece.
Ospf configuration guide americas headquarters cisco systems, inc. Configure dynamic routing ospf open shortest path first in cisco routers techengineertv. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks. For protocolindependent features that include ospf, see the chapter configuring ip routing protocolindependent features in this document. Open shortest path first ospf is a routing protocol for internet protocol ip networks. Verify that redistributed networks are shown in routing table of r1. Configure a static route in r3 and redistribute static networks in to ospf. Running it on only one router doesnt do anything since it is designed to exchange information with other routers running the same routing protocol. Apr 25, 2015 another post related to ccna certification and this time learn how to configure ospf routing. Start ospf process 100 is process id router ospf 100 log adjacencychanges. Now you have to configure ospf such that devices in area 0 can easily communicate with devices in area 1 step 1. Cisco nexus 7000 series nxos unicast routing configuration guide, release 5.