cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
654
Views
0
Helpful
2
Replies

loopback interface issue?

prashantdwivedi
Level 1
Level 1

     why we can create only one loopback interface in one network/subnetwork?

2 Replies 2

Atif Awan
Cisco Employee
Cisco Employee

The difference between Loopback and any other interface on a router is that loopback is a 'logical' interface. With routers you cannot have two interfaces with overlapping address space so the same logic applies when you configure multiple loopback interfaces, these need to be addressed out of unique address space. You can play with the subnet mask to conserve address space while addressing loopbacks but you cannot have overlapping subnets.

Jon Marshall
Hall of Fame
Hall of Fame

prashantdwivedi wrote:

     why we can create only one loopback interface in one network/subnetwork?

It just depends on what subnet  mask you use ie. you cannot do this on the same device -

int loopback 10

ip address 192.168.5.1 255.255.255.0

int loopback 11

ip address 192.168.5.2 255.255.255.0

but you can do this -

int loopback 10

ip address 192.168.5.1 255.255.255.255

int loopback 11

ip address 192.168.5.2 255.255.255.255

Jon

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