Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why do we configure loopback IP address in router RIP and router OSPF configuration ? What is the significance of configuring it ?

share|improve this question

closed as not constructive by EightBitTony, Alex, Dave M, Lucas Kauffman, Ward Jan 24 '13 at 15:03

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

What's the real world problem you're trying to solve here? Please read this which explains why I'm asking. – EightBitTony Jan 24 '13 at 12:30
I've never heard of doing that. Where are you getting that information and on what router platform are you doing this? – joeqwerty Jan 24 '13 at 13:30

This is a preferred design pattern on Cisco routers:

Configuring OSPF: Configuring Your OSPF Network Type

OSPF uses the largest IP address configured on the interfaces as its router ID. If the interface associated with this IP address is ever brought down, or if the address is removed, the OSPF process must recalculate a new router ID and resend all its routing information out its interfaces.

If a loopback interface is configured with an IP address, the Cisco IOS software will use this IP address as its router ID, even if other interfaces have larger IP addresses. Because loopback interfaces never go down, greater stability in the routing table is achieved.

OSPF automatically prefers a loopback interface over any other kind, and it chooses the highest IP address among all loopback interfaces. If no loopback interfaces are present, the highest IP address in the router is chosen. You cannot tell OSPF to use any particular interface.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.