Penguin
Note: You are viewing an old revision of this page. View the current version.

Acronym for Open Shortest Paths First

An Interior Link State Routing Protocol.

Witness the adventures of a total newbie screwing a clients network completely!

Ok, to get OSPF going first hack zebra.conf and ospfd.conf

The remote stations need stuff like this ;

  1. Zebra.conf

# hostname whatever password passwd enable password passwd

router ospf

network 192.168.67.0/24 area 0

# log /var/log/ospd.log

  1. end

ONLY advertise networks that this device is responsible for.

Isomer? says to stick everything in area 0, <shrug> so do it his way ok..

PerryLorier: Yeah, because dealing with area's is a bitch, and if you are just learning, stick everything in area 0, when your network gets large enough that convergance times are starting to become a worry, think about different areas then, but before that time, stick everything in area 0 and you'll save yourself a lot of hassle. Also, remember that Area 0 is "special" to OSPF, so if you decide to use area 42 or whatever, it will break.

LindsayDruett: Dealing with multiple areas is not really that bad, however, all Areas must connect directly to Area 0, that is because Area 0 is the backbone Area. If you really can't meet the requirements of directly connect to Area 0 and have to go through another area, you can insert a Virtual Link - It is not a recommended strategy.

Yes... Definitely more coming


OSPF Terms

|Adjacency|Formed when two neighboring routers have exchanged information and have the same topology table. The databases are synchronized, and they both see the same networks. |Area|A group of routers that share the same area ID. Each router in the area has the same topology table. The area is defined on an interface basis in the configuration of OSPF. |Autonomous System|Routers that share the same routing protocol with the organization. |Backup Designated Router (BDR)|The backup to the Designated Router (DR), in case the DR fails. The BDR performs none of the DR functions while the DR is operating correctly. |Cost|The metric for OSPF. It is not defined in the standard with a value. Cisco use the default of the inverse of bandwitdh so that the higher the speed of the link, the lower the cost, and, therefore, the more attractive the path.
This default can be overridden by by a manual configuration. This should be done only if you have full knowlege of the network. |Database descriptor|Referred to as DBDs or Database Descriptor Packets (DDPs). These are packets exchanged between neighbors during the exchange state. The DDPs contain a summary of the LSA, which describe the links of every router in the neighbor's topology table. |Designated Router (DR)|Router responsible for making adjacencies with all neighbors on a multiaccess network, such as Ethernet or FDDI. The DR represents the multiaccess network, in that it ensures that every router on the link has the same topology database. |Dijkstra Algorithm|A complex algorithm used by routers running link-state routing protocols to find the shortest path to the destination. |Exchange State|Method by which two neighboring routers discover the map of the network. When these routers become adjacent, they must first exchange DDPs to ensure that they have the same topology table. |Exstart State|State in which the neighboring routers determine the sequence number of the DDPs and establish the master/slave relationship. |Flood|A term that refers to network information. When network information is flooded, it is sent to every network device in the domain. |Fully Adjacent|When the routing tables of the two neighbors are fully synchronized, with exactly the same view of the network. |Init State|State in which a hello packet has been sent from the router, which is waiting for a reply to establish two-way communication. |Internal Router|A router that has all it's interfaces in the same area. |Link-state Advertisement (LSA)|A packet describing a router's links and the state of those links. There are different types of LSAa to describe the different types of links. |Link-state database|Otherwise known as the topology map, the link-state database has a map of every router, its links, and the state of the links. It also has a map of every network and every path to each network. |Link-state Request (LSR)|When the router recieves a DDP complete with summary of the LSA information, it compares the LSA against the topological database. If either the LSA entry is not present bor the entry is older than the DDP, it will request further information. |Link-state update (LSU)|Update sent in response to the LSR. It is the LSA that was requested. |Loading State|State in which, if the receiving router requires more information during the process in which two routers are creating an adjacency, it will request that particular link in more detail using the LSR packet. The LSR will prompt the master router to send the LSU packet. This is the same as an LSA used to flood the network with routing information. While the recieving router is awaiting the LSUs from its neighbor, it is in the loading state. |Neighbor|A router on the same link with whom routing information is exchanged. |Neighbor Table|A table built from hello messages received from the neighbors. The hello message also carries a list of the neighbors. |Priority|The means by which the DR can be manually elected - or, conversely, prevented from taking part in the DR/BDR election. |Shortest Path First (SPF)|The same as Dijkstra algorithm, which is the algorithm used to find the shortest path. |SPF Tree|A tree of the topological network. It can be drawn after the SPF algorithm has been run. The algorithm prunes the database of alternate paths and creates a loop-free shortest path to all networks. The router is at the root of the network, which is percieved from its perspective. |Topology Table|The same as a link-state database. the table contains every link in the wider network. |Two-way state|State during the process in which two routers are creating an adjacency. The new router see it's own router ID in the list of neighbors, and a neighbor relationship is established. This is the stage before routing information is exchanged.


CategoryNetworking