ipDhcpGateway
BINTEC-DYNIP-MIB ·
.0.8.1.8
Object
column SNMPv2-SMIIpAddress
The Gateway which is told the clients upon requests. If this object equals 0.0.0.0 and DHCP client and server share the same network, the DHCP server's own address is returned upon request. If DHCP client and server do not share the same network, the address of the dhcp relay agent forwarding the request is returned.
Context
- MIB
- BINTEC-DYNIP-MIB
- OID
.0.8.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ipDhcpEntry
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 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpGateway.<ipDhcpIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-DYNIP-MIB::ipDhcpGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4