MAC 00:00:00:00:00:00 should be treated as null

Description

Hello,

I noticed that "Home / Search / Node / Bridge Info" displayed strange info.
HP routers have zero mac (00:00:00:00:00:00) in some interfaces.

SNMP table: IF-MIB::ifTable

ifIndex ifDescr ifType ifMtu ifSpeed ifPhysAddress ifAdminStatus ifOperStatus ifLastChange ifInOctets ifInUcastPkts ifInNUcastPkts ifInDiscards ifInErrors ifInUnknownProtos ifOutOctets ifOutUcastPkts ifOutNUcastPkts ifOutDiscards ifOutErrors ifOutQLen ifSpecific
1 Aux0 ppp 1500 9600 0:0:0:0:0:0 up up 0:0:00:40.04 0 0 0 0 0 0 70 1 0 0 0 0 SNMPv2-SMI::zeroDotZero
2 Cellular0/0 ppp 1500 9600 0:0:0:0:0:0 up down 0:0:00:40.86 0 0 0 0 0 0 0 0 0 0 0 0 SNMPv2-SMI::zeroDotZero
3 Ethernet0/0 ethernetCsmacd 1500 100000000 d0:7e:28:d8:b5:40 up up 0:0:01:02.34 1785472970 10635247 313303 0 0 1454 566532464 12731639 6485 0 0 448 SNMPv2-SMI::zeroDotZero
4 Ethernet0/1 ethernetCsmacd 1536 100000000 d0:7e:28:d8:b5:41 up down 0:0:00:40.51 0 0 0 0 0 0 0 0 0 0 0 0 SNMPv2-SMI::zeroDotZero
5 Ethernet0/2 ethernetCsmacd 1536 100000000 d0:7e:28:d8:b5:41 up down 0:0:00:40.80 0 0 0 0 256 0 0 0 0 0 0 0 SNMPv2-SMI::zeroDotZero
6 Ethernet0/3 ethernetCsmacd 1536 100000000 d0:7e:28:d8:b5:41 up down 0:0:00:40.82 0 0 0 0 0 0 0 0 0 0 0 0 SNMPv2-SMI::zeroDotZero
7 Ethernet0/4 ethernetCsmacd 1536 100000000 d0:7e:28:d8:b5:41 up down 0:0:00:40.84 0 0 0 0 0 0 0 0 0 0 0 0 SNMPv2-SMI::zeroDotZero
8 NULL0 other 1500 0 0:0:0:0:0:0 up up 0:0:00:40.03 0 0 0 0 0 0 0 0 0 0 0 0 SNMPv2-SMI::zeroDotZero
9 Serial0/0 ppp 1500 2048000 0:0:0:0:0:0 up up 37:0:03:44.42 593824208 15204537 0 421 0 22 1823916357 13096137 0 0 0 0 SNMPv2-SMI::zeroDotZero
10 Vlan-interface1 l3ipvlan 1500 0 d0:7e:28:d8:b5:42 up down 0:0:00:49.02 0 0 0 0 0 0 0 0 0 0 0 0 SNMPv2-SMI::zeroDotZero

OpenNMS seems to list all interfaces that matches the mac address. As 00:00:00:00:00:00 is used in many virtual interfaces, every node shows every 00:00:00:00:00:00 interface in Bridge Info.

I don't know if this is the reason but since these routers where introduced in my network, linkd cannot refresh the datalinkinterface table.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Antonio Russo March 25, 2015 at 8:40 AM

EnhancedLink is able to check if the mac address is valid....
also check if the address is 00:00:00:00:00:00.

I guess that showing the proper data into the SnmpInterface is right...so if the switch associate the mac address 00:00:00:00:00:00 to a port then we have to mantain this information.

In any casi this information impact the enhancedlinkd data that avoids to store not valid mac as this one

Antonio Russo March 16, 2015 at 12:01 PM

Linkd is deprecated, so we are going to use this in enhancedlinkd

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

PagerDuty

Created October 26, 2014 at 12:30 PM
Updated May 11, 2015 at 3:50 PM
Resolved March 25, 2015 at 8:40 AM