Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
When we dealing with bgp, osp. Why do we especially use loopback interfaces with / 32!?
Is there an advantage or something different from other subnets like 24.
A loopback interface isn't connected to any other host, so using anything else for it than a /32 - single IP address - doesn't really make much sense.
Referring to a router using the loopback IP has the benefit of it always being up and never changing with interface states and configurations.
/32 is represent one single IP address or host address. If you use /32, It mean only one ip address available in that particular range.
Required, but never shown