Loopback interface for security and testing

Posted on 2004-10-05
Last Modified: 2008-03-06
I have perm router that I want to setup interface loopback0 command on.  If my internal is on and my real ip's are 63.x.x.x can i setup my loopback interface to 172.16.x.x ?

What are the benefits ?
Question by:cogit
LVL 11

Expert Comment

ID: 12232083
Yes, you can.

The main benefit is that you can swap around what networks/addresses are connected at this router, and still have a consistent address which identifies the device.


Author Comment

ID: 12232212
Its a 1720 with one S0 and 1 E0
LVL 43

Accepted Solution

JFrederick29 earned 500 total points
ID: 12236418
The benefit is that the loopback interface never goes down.  The true benefit of a loopback address comes into play when running routing protocols like OSPF for specifying the OSPF router ID.  It's also crucial when you are running iBGP and have mutliple paths between iBGP peers.  Loopback interfaces can also be setup in a LAB environment to simulate connected networks that don't actually exist.

You can assign the loopback interface whichever address you like, remember to treat it like any other destination network, if you want to reach the loopback address from another router, you will need to setup static routes or redistribute it into your routing protocol.  If you don't have a specific need to use a loopback interface, don't bother setting one up.

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSL RA VPN 7 104
Sonicwall routing between VPNs 5 46
VOIP: SIP vs. proprietary Broadview Networks Silnet ?? 12 99
Getting locked out and can't access Cisco via the web 18 40
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now