Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

next hop determination in ospf...

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 ;)


Re: next hop determination in ospf...


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


CreatePlease login to create content