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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
configure ASA Vlan Interface 14 100
SonicWall Max Connection Setting 7 82
Open Port Forwarding but still can't connect RDP 9 72
adjusting startup config 6 76
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

734 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