ipRouteMask
RFC1213-IPROUTE-MIB ·
.0.4.21.1.11
Object
Indicate the mask to be logical-ANDed with the
destination address before being compared to the value in the
ipRouteDest field. The BRICK is able to use arbitrary
subnet-masks. If the subnet mask is not specified, it will be
set automatically according to the following table:
0.0.0.0 default route
255.0.0.0 class-A
255.255.0.0 class-B
255.255.255.0 class-C
If the value of the ipRouteDest is 0.0.0.0 (a default
route) then the mask value is also 0.0.0.0. It should be
noted that all IP routing subsystems implicitly use this
mechanism. Host routes are created by setting the subnet
mask to 255.255.255.255.
Context
- MIB
- RFC1213-IPROUTE-MIB
- OID
.0.4.21.1.11- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ipRouteEntry
- Table
- ipRouteTable
- Siblings
- 12
Syntax
RFC1155-SMIIpAddress
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Related Objects
Sibling Objects
| Object | Type | Syntax | OID |
|---|---|---|---|
| ipRouteDest mandatory The destination IP address of this route. An
entry with a value of 0.0.0.0 is considered a
default route. Multiple routes to a single
destination can appear in the table, but ac… | column | RFC1155-SMIIpAddress | .0.4.21.1.1 |
| ipRouteAge mandatory The number of seconds since this route was last
updated or otherwise determined to be correct.
Note that no semantics of `too old' can be implied
except through knowledge of the r… | column | Integer32 | .0.4.21.1.10 |
| ipRouteMetric5 mandatory Defined, but not used by the BRICK. | column | Integer32 | .0.4.21.1.12 |
| ipRouteInfo mandatory A reference to MIB definitions specific to the particular
routing protocol which is responsible for this route, as
determined by the value specified in the route's
ipRoute-Prot… | column | ObjectIdentifier | .0.4.21.1.13 |
| ipRouteIfIndex mandatory The index value which uniquely identifies the
local interface through which the next hop of this
route should be reached. The interface identified
by a particular value of this i… | column | Integer32 | .0.4.21.1.2 |
| ipRouteMetric1 mandatory The metric of the route as specified by the RIP
protocol. When selecting routes, the route with the
lowest value of ipRouteMetric1 is chosen. | column | Integer32 | .0.4.21.1.3 |
| ipRouteMetric2 mandatory Defined, but not used by the BRICK. | column | Integer32 | .0.4.21.1.4 |
| ipRouteMetric3 mandatory Defined, but nor used by the BRICK. | column | Integer32 | .0.4.21.1.5 |
| ipRouteMetric4 mandatory Defined, but not used by the BRICK. | column | Integer32 | .0.4.21.1.6 |
| ipRouteNextHop mandatory The IP address of the next hop of this route.
(In the case of a route bound to an interface
which is realized via a broadcast media, the value
of this field is the agent's IP addr… | column | RFC1155-SMIIpAddress | .0.4.21.1.7 |
| ipRouteType mandatory The type of route. Note that the values
direct(3) and indirect(4) refer to the notion of
direct and indirect routing in the IP
architecture.
Setting this object to… | column | Enumeration | .0.4.21.1.8 |
| ipRouteProto mandatory The routing mechanism via which this route was
learned. Inclusion of values for gateway routing
protocols is not intended to imply that hosts
should support those protocols.
… | column | Enumeration | .0.4.21.1.9 |