Loopback Interface - Cisco IOS

Hi,

Can anybody let me know why and the reasons you may want to setup a Loopback interface on a Cisco Router?

Thanks in advance.

logga1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pseudocyberCommented:
The loopback interface is one interface you can count on being up, unless the router is totally dead.  So, it makes a great interface to watch to make sure your router is working.

You can also route undesireable traffic to your loopback (or Null0) and black hole it - route it to nowwhere.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mattacukCommented:
A good example of the use of a loopback interface would be in an OSPF (Open shortest path first) scenario. OSPF can use a loopback address to indentify itself.
Here is an excellent read for you to get a better understanding;

http://tcpmag.com/qanda/article.asp?EditorialsID=156
pjtemplinCommented:
Even better, when using BGP it's best to have routers neighbor up using their loopback interfaces.  That way, the underlying OSPF/IS-IS/EIGRP/RIPv2/static topology can change, and as long as connectivity is possible the BGP session will stay up.
cooleditCommented:
hi, there

Another reason is you could connect the Routers back to back using the null Modem Cisco cable and use the loopback if the origional link goes down and still get access assuming telnet is enabled on the loopback interface.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.