cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13542
Views
10
Helpful
2
Replies

Loopback interface with 32 bit mask

ajay kondapalli
Level 1
Level 1

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

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

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.

Don't forget to rate helpful posts.

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/

Review Cisco Networking products for a $25 gift card