Hi@gilberto_milhomem,
OSPF cannot be used with the IP address sub. In OSPF, a neighbor relationship cannot be established by using the secondary IP address; instead, a neighbor relationship can be established only by using the primary address of an interface. If the network to which the secondary IP address belongs is added to the OSPF configuration, however, the corresponding route can be advertised.
Glad to help you! Any further questions, let us know.