ipNetToPhysicalNetAddress
IP-MIB ·
.1.3.6.1.2.1.4.35.1.3
Object
column INET-ADDRESS-MIBInetAddress
The IP Address corresponding to the media-dependent
`physical' address. The address type of this object is
specified in ipNetToPhysicalAddressType.
Implementors need to be aware that if the size of
ipNetToPhysicalNetAddress exceeds 115 octets, then OIDS of
instances of columns in this row will have more than 128
sub-identifiers and cannot be accessed using SNMPv1,
SNMPv2c, or SNMPv3.
Context
- MIB
- IP-MIB
- OID
.1.3.6.1.2.1.4.35.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- ipNetToPhysicalEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MIB::ipNetToPhysicalNetAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MIB::ipNetToPhysicalNetAddress.<ipNetToPhysicalIfIndex>.<ipNetToPhysicalNetAddressType>.<ipNetToPhysicalNetAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-MIB::ipNetToPhysicalNetAddress'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255