ipStatAddrGateway
BINTEC-DYNIP-MIB ·
.0.52.7.1.4
Object
The default gateway given to the client via 'router option'. An IP address of 0.0.0.0 uses the local IP address of the interface where the request came in if the server and client are located in the same network. If the server and the client not located in the same network, the address of the BOOTP relay agent forwarding forwarding the request is used. If no gateway is specified (value 255.255.255.255), the value from the related entry in ipDhcpPoolTable determines the gateway IP address. This object is only relevant for entries with UserType dhcp.
Context
- MIB
- BINTEC-DYNIP-MIB
- OID
.0.52.7.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipStatAddrEntry
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::ipStatAddrGateway'
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::ipStatAddrGateway.<ipStatAddrAddress>'
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::ipStatAddrGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4