08-27-2012 10:30 AM - edited 03-04-2019 05:23 PM
Hi,
Can any one explain me , why do we use loopback interfaces with 32 bit subnet mask only? Is there any special reason behind that.
Likewise we use loopback interface IP addresses in BGP network config and we advertise it using network command . why ?
Thanks,
Ajay
08-27-2012 10:36 AM
Hi,
we usually use /32 to not waste ip addresses. in BGP loopabcks are used for the peering between iBGP peers or sometimes netween eBGP peers having redundant connection but it's not mandatory to announce the loopback into BGp process.
Regards.
Alain
Don't forget to rate helpful posts.
08-27-2012 10:38 AM
Hi Ajay,
the loopback is not only an interface or a logical host or a tool for troubleshooting. A loopback is a TYPE OF NETWORK as much as a point-to-point network, point-to-multipoint network and so on. This is mainly a cisco implementation of it and especially works in this way with OSPF.
It is a curios experiment you can do to set a loopback with a /24 address and to see on the other end of your OSPF domain how the same loopback is advertised. You will find that, if you do not further modify the loopback configuration, your /24 subnet will be advertised as a /32!!!
hope being clear enough!!
Alessio
http://cciethebeginning.wordpress.com/2009/02/27/ospf-loopback-network-type/
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