next hop determination in ospf...

Unanswered Question
Apr 12th, 2007
User Badges:

Hi.. in rip or distance vector protocols. the next hop is determined from neighbor source ip, right? but in ospf(linkstate protocol) how next hop is determined? it makes me more confused in broadcast network where DR is used. how router know where is the next hop if information is spread from DR. is it from lsa field? i see lsa has no info about nexthop... please explain me... TX ;)

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
royalblues Fri, 04/13/2007 - 00:12
User Badges:
  • Green, 3000 points or more


If you see the LSA details you will find something like a advertising router field.

SO when a DR sends a packet it would set the advertising router field to be the IP of the router advertising that LSA. This way it would come to know the nexthop router

Eg..see the network is not advertised by DR but another router in the broadcast network

LS age: 369

Options: (No TOS-capability, DC)

LS Type: Router Links

Link State ID:

Advertising Router:

LS Seq Number: 80000005

Checksum: 0x5014

Length: 48

Number of Links: 2

Link connected to: a Stub Network

(Link ID) Network/subnet number:

(Link Data) Network Mask:

Number of TOS metrics: 0

TOS 0 Metrics: 1

Link connected to: a Transit Network

(Link ID) Designated Router address:

(Link Data) Router Interface address:

Number of TOS metrics: 0

HTH, rate if it does



This Discussion