12-19-2007 12:50 PM - edited 03-03-2019 08:00 PM
Just curious why a router/L3 switch would be configured to have more than one Loopback interface IP address? Would they configure multiple Loopback intrefaces to match with multiple GRE tunnels?
Just curious, thanks.
12-19-2007 02:01 PM
Glenn
There might be many reasons why a router/L3 switch would be configured with multiple loopback interfaces. At one point I was configuring a router that was going to have multiple OSPF processes and I configured a loopback interface for each process so that each process would have a router ID based on a loopback interface.
We frequently use loopback interfaces as the source address for various types of traffic sourced from the router (FTP, telnet, syslog, SNMP, etc). There might be a situation where to be able to control traffic (access list filtering or firewall somewhere in the network) you might want management traffic like syslog or SNMP sourced from one address but telnet sourced from a different address. So multiple loopback interfaces would make sense here.
There are other scenarios where multiple loopback interfaces are useful. But these are a beginning of the discussion.
HTH
Rick
12-20-2007 05:45 AM
Thanks Rick. One other question, if you multiple Loopback interfaces configured on a router/switch, how can you determine which Loopback interface is the one used as management purposes? You can't tell by the IP address can you (i.e. highest priority like when using OSPF)?
In other words, you can't just execute a 'sh ip int b' command and know which Loopback is the management interface, right? I would think in most situations, Loopback0 is used as the management interface.
Thanks,
Glenn
12-20-2007 05:51 AM
Glenn
You are correct that you can not tell by looking at show ip interface brief which interface is used as the management interface. And in fact it is quite possible that different interfaces will be used for different parts of management of the router. You might be using one interface as the source for authentication with your AAA ACS server, and another interface as the source for your syslog, and perhaps another interface as the polling address for network management purposes.
So to know which interface(s) are being used for management purposes you really need to look through the config and identify the various management functions and what interface is used for each.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide