All MIBs › RMON2-MIB › netDefaultGateway
netDefaultGateway
Module: RMON2-MIB
OID (symbolic): RMON2-MIB::netDefaultGateway
OID (numeric): 1.3.6.1.2.1.16.19.12
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: The IP Address of the default gateway. If this value is undefined or unknown, it shall have the value 0.0.0.0.
What is netDefaultGateway?
This stores the IP address of the default gateway (the router that forwards traffic to unknown networks), defaulting to 0.0.0.0 if not configured. A network engineer needs this to ensure traffic destined for remote networks is routed correctly from the monitoring device. For example, if the probe's network is 192.168.1.0, the default gateway might be 192.168.1.1 to reach external networks.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.16.19.12 snmpwalk -v2c -c public <target> RMON2-MIB::netDefaultGateway
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.16.19.12.1 snmpget -v2c -c public <target> RMON2-MIB::netDefaultGateway.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.16.19.12.1 a <value>
Start monitoring RMON-capable network probes, switches, and routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RMON2-MIB::netDefaultGateway OID value, configure state conditions and alerts, and monitor any RMON-capable network probes, switches, and routers from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.16 | rmon | LBHUB-BOOM-MIB |
| 1.3.6.1.2.1.16.19 | tftp | REMOTEACCESS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.16.19.12 | netDefaultGateway | RMON2-MIB |