0

in RFC 4750 page 53, there is a parameter called "ospfNbrIpAddr", I am not sure exactly what it means.

Suppose I have two router, they are connected through physical ethernet port1, router A port1: ip 5.5.5.1/24, router B port1: ip 5.5.5.2/24. In this case, ospfNbrIpAddr is 5.5.5.2, is this right?

Suppose now two routers are connected with GRE tunnel through physical port1. router A port1: 5.5.5.1/24, GRE_A: 10.10.10.1/24, router B port1: 5.5.5.5.2/24, GRE_B: 10.10.10.2/24, now, ospfNbrIpAddr should set to 5.5.5.2, is this right?

And I have no idea what happened when they connect through unnumbered port? what is "address of another of the neighbor's interfaces"? It can be any?

Thanks for any help, this question is urgent, and please answer with authorized source, thanks.

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Dec 17, 2020 at 16:04

1 Answer 1

2

You may get more/better answers if you clarify your GRE tunnel question.

If you are referring to an OspfNbrEntry for an adjacency over your GRE tunnel, router A would report the value of router B's adjacency on that GRE interface is 10.10.10.2.

In the case of an unnumbered interface, the ospfNbrIpAddr should be absent. Instead, the ospfNbrAddressLessIndex will contain the SNMP ifIndex of the interface. See that entry at the beginning of RFC 4750 page 54, just below the section you referenced earlier.

This Cisco example might also be helpful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.