cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
307
Views
0
Helpful
3
Replies

Loop back

korbenda11as
Level 1
Level 1

what ip address i can use for Loop back intf.? Up to how many Loop back i can use? Should the ip address follows the same subnet as with my physical interfaces? thanks!

3 Replies 3

williamsdo
Level 3
Level 3

Hi, the loopback address is logical interface within to your switch or router, with that said the good thing it can have any valid IP address assigned to it. not to be confused with the loopback address 127.0.0.1, the loopback interface can be included in routing protocols and function like any interface, once you configure your loopback interface it will be up and up and yes you can configure multible lookback interfaces.

HTH

http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.4/interfaces/configuration/guide/hc34loop.html#wp1350891

Configuring a Loopback Interface: Example

The following example indicates how to configure a loopback interface:

RP/0/RP0/CPU0:router# configure

RP/0/RP0/CPU0:router(config)# interface Loopback 3

RP/0/RP0/CPU0:router(config-if)# ipv4 address 172.18.189.38/32

RP/0/RP0/CPU0:router(config-if)# end

Uncommitted changes found, commit them? [yes]: yes

RP/0/RP0/CPU0:router# show interfaces Loopback 3

bvsnarayana03
Level 5
Level 5

The loopback interface provides a stable address for protocols (for example, BGP, Telnet, or LDP) to use so that they can avoid any impact if a physical interface goes down.

pls refer this link:

http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.0/interfaces/configuration/guide/hc3loop_ps5845_Sitewide_Hidden_Full_Length_Book.html#wp1338130

hope that clarifies.

pls rate all helpful posts.

Oliver

Other responses have addressed the usefulness of the loopback interface and addressing on the loopback interface but not the aspect of now many loopback interfaces you can have. The number of loopback interfaces is limited by the number of IDBs on your router. Each interface, including loopbacks, requires an Interface Descriptor Block. The number of IDBs varies by platform and by version of code. You can find how many IDBs your router supports in the output of the command show idb.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card