|
|
Suppose that a misconfigured system has an incorrect IP address, causing bad ARP information to be installed on another node. SNMP can be used to remove the offending address remotely. This can be very useful if the node in question has a very long timeout on the ARP cache, or some important connection is being established with the wrong host.
The following example shows how the administrator might proceed.
Removing ARP entry
# snmpstat -a paris publicAddress Translation table Host Physical Address Flags Interface 132.147.246.1 8:0:14:40:1:21 dyna net1 132.147.246.3 0:0:c0:6d:82:23 dyna net1
# setany paris public ipNetToMediaType.1.132.147.246.3 -i 2
# snmpstat -a paris public
Address Translation table Host Physical Address Flags Interface 132.147.246.1 8:0:14:40:1:21 dyna net1