Index: /nodes/get-network-status.py
===================================================================
--- /nodes/get-network-status.py	(revision 8332)
+++ /nodes/get-network-status.py	(revision 8333)
@@ -210,7 +210,12 @@
       # Convert to proper MAC
       mac = ":".join(["%02X" % int(x,16) for x in m.group(2).split(':')])
-      print "## Local MAC %s [index:%s] -> %s" % (iface_descr[index], index, mac)
-      status[host]['mac'][mac] = iface_descr[index]
-      status[host]['iface'][iface_descr[index]] = mac
+      if not iface_descr.has_key(index):
+        print "## Index cannot be mapped to a key, available:"
+        for index, value  in iface_descr.iteritems():
+          print "## - %s [%s]" % (value, index)
+      else:
+        print "## Local MAC %s [index:%s] -> %s" % (iface_descr[index], index, mac)
+        status[host]['mac'][mac] = iface_descr[index]
+        status[host]['iface'][iface_descr[index]] = mac
       mac_to_host[mac] = hostname
   
