09-27-2006 03:36 AM - edited 03-03-2019 05:15 AM
hi,
can a loopback interface have a subnet mask other than 255.255.255.255 ?
09-27-2006 04:00 AM
Yes.. However it is a waste of addresses having a subnet other then /32. You can have any mask on a loopback that you want..Please rate...
09-27-2006 05:13 AM
I agree with Phil that you can put any valid subnet mask on a loopback interface. Whether it is a waste of addresses depends on what you are attempting to accomplish. For example I have configured routers to function as dial access servers and for this I need a pool of addresses. I wish for my routing protocol to advertise the pool of addresses as a subnet rather than as individual /32s. So I configured the address of the subnet with appropriate subnet mask on a loopback interface and have the routing protocol advertise that. It is useful and not a waste.
HTH
Rick
09-27-2006 05:45 AM
i agree with rburts here.
using vlsm or classful subnet masks, other than all \32, allows you the ability to perform dynamic routing functions for the 'group' of loopbacks vs. static routing for each of them.
in some cases, the routing of loopbacks may be required and entering in many individual \32 routes may not be optimal or easily accomplished.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide