Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

loopback address

Hi all,

Here we have router E0, S0 interfaces but I have doubt what is loopback address & for what purpose it will be use Can any body give right info.



New Member

Re: loopback address

oopback address & loopback interface are seperate

Loopback address is a special IP number ( that is designated

for the software loopback interface of a machine. The loopback interface

has no hardware associated with it, and it is not physically connected to

a network.

The loopback interface allows IT professionals to test IP software without

worrying about broken or corrupted drivers or hardware.

while configuring routers we assign ip address to the serial interfaces

suppose if we use a static route as ip route x.x.x.x (ip address assigned as next hop) 20

static route will work only if serial interface is up, once it goes down we will not be able to

reach the router which is alive,and traffic will get dropped so we use logically interface

(loopback interfaces) which will be always up

Re: loopback address

Hi Naidu,

On routers, loopback interfaces are used for several purposes, some examples follow:

First, you should have an IP address assigned to the loopback interface.

In OSPF, the loopback inteface with the highest IP address will give the router id, if no router-id is specified under the routing process.

In BGP, you can use the loopback addresses to define the neighbor relationships to increase the stability of the neighbor relationship, if you have several physical paths to the same neighbor. (Loopback intefaces do not go down unless the router goes down, in contrast with physical intefaces that may go down.)

In multicast, generally the loopback interface addresses are used to advertise the Rendez-vous Points for the same stability reason.

Loopback intefaces also can be used for testing purposes when you build a network, because they behave as normal interfaces, i.e. you can ping them, advertise them in routing protocols, etc.

Sometimes I used many loopback intefaces on the same router to test summarization of routes to other routers: I gave subnet numbers to them from a contiguous pool and summarized those subnets to advertise them to other routers. I tested how the router does summarization, what will be the cost of summarized routes, how you can do redistribution etc.

I hope this helps.



CreatePlease to create content