Something interesting I came across today while browsing the web. We all know that for an OSPF neighbor relationship to form the subnet mask must match on each side of the link. What I came across today states that the subnet mask will be ignored on point-to-point links and virtual links. I decided to lab it up and it does work on point-to-point links with mismatching subnet masks. It is also referenced in
RFC 2328
This section explains the detailed processing of a received
Hello Packet. (See Section A.3.2 for the format of Hello
packets.) The generic input processing of OSPF packets will
have checked the validity of the IP header and the OSPF packet
header. Next, the values of the Network Mask, HelloInterval,
and RouterDeadInterval fields in the received Hello packet must
be checked against the values configured for the receiving
interface. Any mismatch causes processing to stop and the
packet to be dropped. In other words, the above fields are
really describing the attached network's configuration.
However,
there is one exception to the above rule: on point-to-point
networks and on virtual links, the Network Mask in the received
Hello Packet should be ignored.
I may have been the only one in the dark on this one, but I thought I'd share anyway