Ospf is perhaps the most widely used interior gateway protocol igp in large. Ip routingconfiguring rip, ospf, bgp, and pbr ftp directory. The open shortest path first ospf is a routing protocol for wide area networks and enterprise network. Cisco nexus 7000 series nxos unicast routing configuration guide, release 5. How to configure ospf support for multivrf on ce routers 82. How to configure ospf support for multivrf on ce routers 156. Configure dynamic routing ospf open shortest path first in cisco routers techengineertv. In this lesson ill explain the basics of ospf to you and you will learn how and why it works.
Note to adjust the configuration to work with check point gateways, see the gaia advanced routing administration guide. Router dont need a routing protocol to have a routing table. The purpose of this lab is to configure ospf on all the devices and test for ping and trace commands. 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. Use the commands in this chapter to configure and monitor the open shortest. Routers know only about networks that are directly connected to them. 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. Ospf is a standard routing protocol, as defined by rfc2328 and rfc1247. Ospf has become one of the most widely used protocols in existence today because of being able to implement it cross multivendor platforms.
In this lab activity, you will use the topology for this chapter. Five types of ospf routing protocol packets hello packet type 1 database description packet type 2. This tutorial explains how to configure ospf routing protocol step by step with practical example in packet tracer. Configure ospf with a single area cisco spiceworks. Configuring ospf default route propagation free ccna workbook.
Configuring the multivrf capability for ospf routing 156. If youve completed the labs in the free ccna workbook up until this point then boy youre in for a real treat. How to configure ospf routing in cisco packet tracer duration. 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. Configure a static route in r3 and redistribute static networks in to ospf. 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. Care to know what dynamic cisco routing is for and how to set up ospf in cisco.
Switches only care about the mac table and mac addresses. 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. In this lab configure a multiarea ospf operation, interarea summarization, external route summarization, and default routing. 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. How to configure and verify ospf ospf is the routing protocol for the internet protocol ip systems. Ospf ospf is the industry standard in internal dynamic routing protocols and its supported on nearly all vendor platforms. If the router has rip, its a safe bet that it has the other protocols as well. The entire network that ospf routes for is called an autonomous system, or as. Ill be using a program called packet tracer and will build the network from the ground up walking through each piece. How to make sure i have right license for ospf on cisco switches.
It is defined as ospf version 2 in rfc 2328 1998 for ipv4. You can also configure the following to tailor rip for a specific network. 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. Ciscos version of ospf is compatible with noncisco routers. Mar 18, 20 ospf by default uses the highest ip address for its routing process id. Use the show ip protocols command to verify that a route is being advertised. Ospf by default uses the highest ip address for its routing process id. Router a should see routes for and be able to ping the loopback interface on router c and vice versa. Apr 25, 2015 another post related to ccna certification and this time learn how to configure ospf routing. 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.
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 inbound filtering using route maps with a distribute list. For protocolindependent features that include ospf, see the chapter configuring ip routing protocolindependent features in this document. Ospf routing bit set on this lsa the network sherpa. 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. Ospf was designed expressly for ip networks and it supports ip subnetting and tagging of externally derived routing information.
In below network topology diagram you can see there are two area area 0 and area 1. How to configure multi area ospf lab in cisco packet tracer. It really burdens the routersbecause of the dijkstra algorithmand the shortest path first calculations that it creates. For more information, see chapter 7, configuring ospfv3. How to configure ospf routing protocol using cisco packet. Another post related to ccna certification and this time learn how to configure ospf routing. This article covers basic ospf concepts and operation. Ospf configuration step by step guide computernetworkingnotes. It utilizes a connection state routing calculation and falls into the gathering of inside routing protocols, working inside a solitary independent framework as. This time, well take a look how you can configure multi area 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. Alright, we finally made it to the ospf routing protocol. Suppose that we are using static routing in this network. 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. Create an l3 outside connection with ospf configuration.
Switches dont care about routing protocols unless it is a layer 3 switch. 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. Chapter routing protocols rip, ospf, and bgp pdf created with fineprint pdffactory pro trial version. Complex, because it has a lot of attributes andit does take a lot of processor usage on these routers. 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. This is one of the largest and mostcomplex protocol to configure. Configure and verify ospf routing learning objectives. Ospf employs a hierarchical network design using areas. Ospf will form neighbor relationships with adjacent routers in the same area. How to configure ospf routing protocol using cisco packet tracer. Rip, ospf, bgp universita degli studi dellaquila facolta di scienze matematiche fisiche e naturali dipartimento di informatica reti di calcolatori, a.
Ospf can scale to the largest lans but can also start out small. Ospf is an interior gateway protocol igp developed by the ospf working group of the internet engineering task force ietf. Ospf adheres to the following link state characteristics. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks. How to configue ospf routing protocol on cisco switches. Configuring the ospf routing process objective setup an ip addressing scheme for ospf area 0. The router ospf 1 command given in the lab below selects ospf as the routing protocol.
For this reason, it may be a good idea to create a loopback interface to override this to ensure that. I have a layer3 switch with three vlans and a router, using ospf routing protocol. Configure route summarization when redistributing routes into ospf. Ciscos ospf implementation ciscos implementation conforms to the ospf version 2. In the router r1 configure osfp routing with router ospf command. The lab is ready for routing, download and configures ospf routing with the following step by step guide. Use the show ip route command to verify routes in a routing table. This also resets the all the configurations related to routing. Ospf open shortest path first is an open standard routing protocol. In this lab we will learn to configure multi area ospf using cisco packet tracer. A routing protocol like ospf must be run on all the routers. Configuring the multivrf capability for ospf routing 82. 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. 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.
The configuration of ospf routing protocol is easy as rip routing. Now you have to configure ospf such that devices in area 0 can easily communicate with devices in area 1 step 1. Cisco ios documentation describes the tasks and commands available to configure and maintain cisco. Open shortest path first open shortest path first ospf is an openstandard link state routing protocol. In this howto ill be walking through the steps required to configure ospf on cisco routers. Ospf configuration guide americas headquarters cisco systems, inc. This module describes how to configure open shortest path first ospf. Above we have r1 and r2 in area 0, the backbone area. 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. Routing protocol packets are sent with type of service tos of 0. Ospf is one of the most widely used dynamic routing protocols.
Dec 31, 2012 learn about the helpful cisco ospf messages routing bit set on this lsa, and advertising router is not reachable. Learn about the helpful cisco ospf messages routing bit set on this lsa, and advertising router is not reachable. 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. Link state routing protocols advertise the state of their links. Jul 02, 2015 configure dynamic routing ospf open shortest path first in cisco routers techengineertv. Start ospf process 100 is process id router ospf 100 log adjacencychanges. Cisco icnd2 configure, verify and troubleshoot ospf. How to configure ospf in the cisco ios the ospf dynamic routing protocol is probably the most popular lan routing protocol today. Router dont need a routing protocol to have a routing table, they need a routing protocol to share routes. The routing process id is used to elect dr and bdr as well as advertise routes. Ospf with three routers the physical topology is as shown in fig 18.
Later in the course, bill configures static and ospf routing, load balancing, and a simple vpn, as well as high availability with nsx edge. The popularity of ospf is continuing to grow with the advent of multi protocol label switching mpls. 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. If your network is not too large, single area ospf configuration is easier.
583 860 511 763 607 1407 180 993 1320 1432 1424 609 426 1375 1222 562 1339 374 943 1161 346 1362 1391 677 469 788 903 199 470 577 985 1036 1439 872 1326 4 219 1060 380 724 1400 810 613