Single-Area OSPF

From Mycomputer Notes

(Difference between revisions)
(Link states routing alogarithms)
(OSPF Rules)
Line 122: Line 122:
For the purpose of electing DR/BDR the router needs an active Router ID.
For the purpose of electing DR/BDR the router needs an active Router ID.
 +
 +
=External Link=
 +
For more details on [http://en.wikipedia.org/wiki/OSPF OSPF]

Revision as of 22:49, 17 September 2006


Link State and Distance Vector Routing Protocols
Protocol Examples Characteristics
Distance Vector RIP v1 & Rip V2
  • Copies Routing table to neightbors
  • Updates frequentlu
  • RIP v1 & v2 use hop count as metric
  • View the network from the perspective of the neighbors
  • Slow to converge
  • Susceptible to routing loops
  • Easy to configure and administer
  • Consumes a lot of bandwith
Link-State OSPF IS-IS
  • Uses shortest path
  • Updates are event triggered
  • Sends Link-state packets to all network routers
  • Has common view of network
  • Fast to converge
  • Not as susceptible to routing loops
  • Harder to configure
  • Requires more memory and processing power than distance vector.
  • Consummes less bandwith than distance vector.

Contents

Link State Routing Protocols Features

Link state protocols collect routing data from all other routers in the network or within a defined area of the network. Once the information is collected each router calculates the best paths to all destinations in the network. Each router has it own map of the network so it is less likelly to propagate incorrect information.

The following are some link-state routing protocol functions:

  • Respond quickly to network changes
  • Send triggered updates only when a network change has occurred
  • Send periodic updates known as link-state refreshes (a.k.a Hello packets)
  • Use a hello mechanism to determine the reachability of neighbors.

Each router multicast an hello packets to keep tracks of the state of the nighbor routers. Each router LSAs tracks all the routers in its area on the network. The hello packets contain information about the networks that are attached to the router.

Routers that use link-state routing protocols have the following features:

  • Use the hello information and LSAs received from other routers to build a database about the network.
  • Use the SPF algorithm to calculate the shortest route to each network.
  • Store the route information in the routing table.

How routing information is maintained

  • LSAs
  • Topological Database
  • SFP Alogarithm
  • SPF Tree
  • Routing table of paths and ports to determine the best path for packets.

Link states routing alogarithms

Advantages & Disadvatages of Link State routing
Advantages Disadvantages
  • Fast Convergence times, as changes are reported immediatelly by the source affected
  • It provides robustness againts routing loops
  • Routers known the topology
  • Link-state packets are sequenced and aged
  • The link-state database sizes can be minimized with carefull network design.
  • Significant demands on memory and processing resources
  • Requires very strict network design
  • Requires a knowledgeable network administrator
  • Initial flooding can impede network performance.

OSPF Rules

Link-State Advertissements (LSAs)

  • Hello Interval
  • Dead Interval

The LSAs are sent out only after a dead interval has been received.

Link-State Update

  • Updates are sent to the DR & BDR and contains the LSA
  • The DR will sent back an LSAck to the orignator & LSUs to the other routers.
  • The other routers will send back an LSAck as well as the LSU if necessary to other

routers they may be connected to.

OSPF Configuration
  • An area must be specified. If only 1 area exist Area is 0 ELSE

area could be between 0 - 65535

  • A process ID must be defined (1 and 65535)
  • A wilcard mask is recommended to indentify the participating IP address.
  • Needs to have and active RouterID
  • OSPF chooses the highest local active IP address to be the Router ID.
  • IF the interface choosen to be the Router ID becomes inactive (down) the OSPF process

will stop

  • An loopback interface (virtual) needs to be configued to avoid the OSPF process to Stop.
How DR & BDR are elected
  • The DR on a network is elected according to its priority.
  • The higher the priority number the better the chances of been DR.
  • Priority values vary between 0 and 255
  • With an equal priority on a broadcast network, the router with the highest Router ID wins.

For the purpose of electing DR/BDR the router needs an active Router ID.

External Link

For more details on OSPF

Personal tools