All MIBs › CROUTE-MIB › drIpInterfaceNetMask
drIpInterfaceNetMask
Module: CROUTE-MIB
OID (symbolic): CROUTE-MIB::drIpInterfaceNetMask
OID (numeric): 1.3.6.1.4.1.81.31.6.1.1.3
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: The subnet mask associated with the IP address of this entry. The value of the mask is an IP address with all the network bits set to 1 and all the hosts bits set to 0.
What is drIpInterfaceNetMask?
This value is the subnet mask paired with the IP address of a routing interface, encoded as an IP address with network bits set to 1 and host bits set to 0. Getting this correct is essential because it determines which addresses the router considers local versus requiring a route, directly affecting how traffic is forwarded on that interface. For example, setting drIpInterfaceNetMask to 255.255.255.0 on the 192.168.1.1 interface tells the router that only the 192.168.1.0/24 range is directly reachable.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.81.31.6.1.1.3 snmpwalk -v2c -c public <target> CROUTE-MIB::drIpInterfaceNetMask
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.81.31.6.1.1.3.1 snmpget -v2c -c public <target> CROUTE-MIB::drIpInterfaceNetMask.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.81.31.6.1.1.3.1 a <value>
Start monitoring Layer 3 switch platform (vendor unclear, BOOTP/RIP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CROUTE-MIB::drIpInterfaceNetMask OID value, configure state conditions and alerts, and monitor any Layer 3 switch platform (vendor unclear, BOOTP/RIP) from a single console.
OID Breakdown
Upper-level ancestors (7 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.81 | lannet | GEN-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.81.31 | croute | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6 | drIpRoute | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6.1 | drIpInterfaceTable | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6.1.1 | drIpInterfaceEntry | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6.1.1.3 | drIpInterfaceNetMask | CROUTE-MIB |