Wednesday, July 24, 2013

Importance of Loopback address in network management using SNMP protocol

One of my colleague asked why do we require Loopback IP address for managing a network device(Router,Switch Modem etc) using SNMP protocol. There are several reasons for that:-
1. Since loopback is software based address, it will be always up. Therefore as long as device is up and reachable through any of its interface, we will get SNMP response by polling the Loopback address.
2. If you choose any other interface IP other than Loopback and if that interface goes down, the SNMP query will fail. In this scenario, even though your device/machine is up, you will get wrong information that machine is down.
3. In case of Desktop, you do not require a separate Loopback because usually desktop has only one cable connecting it network.
4. Loopback address provides unique identity to the network device which can be used as primary key in management database.
5. So if a device has multiple connectivity it is always better to use Loopback address as management address for all management purpose including TELNET and SSH.

No comments:

Post a Comment