enter image description here

Here is a simple network using OSPF. Router2 has got LoopBack0 with IP address I add this network to OSPF:

Router(config-router)#net area 0

When I dispaly routing table in Router2 - I see there directly connected. But in Router3 routing table I see is subnetted, 1 subnets

O [110/65] via, 00:00:12, Serial0/0/0

Why there is prefix /32 ?

1 Answer 1


Loopback interfaces are considered as host routes, so they are always advertised with a /32 mask.

If you want to advertise the whole subnet, you have to change the network type to point to point like this:

Interface loopback 0
 ip ospf network point-to-point

then OSPF will advertise the subnet with the configured mask.

  • Thank you for posting. Worked for me! Thanks
    – Manny
    Commented Apr 18, 2023 at 13:19

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.