>> MIB - Management Information Base

>> Table: ipRouteTable - (.1.3.6.1.2.1.4.21.1)

Description: A route to a particular destination.

ipRouteTable
OIDNameTypeAccess
.1DestIpAddressRW
.2IfIndexINTEGERRW
.3Metric1INTEGERRW
.4Metric2INTEGERRW
.5Metric3INTEGERRW
.6Metric4INTEGERRW
.7NextHopIpAddressRW
.8TypeENUMD
.9ProtoENUMR
.10AgeINTEGERRW
.11MaskIpAddressRW
.12Metric5INTEGERRW
.13InfoOBJECT IDENTIFIERR

Dest
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 access to

such multiple entries is dependent on the 

table-access mechanisms defined by the network

management protocol in use.
IfIndex
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 index is the same

interface as identified by the same value of

ifIndex.The special interface index zero (0)

means, discard the packet.
Metric1
The metric of the route as specified by the RIP 

protocol. When selecting routes, the route with the 

lowest value of ipRouteMetric1 is chosen.
Metric2
Defined, but not used by the BRICK.
Metric3
Defined, but nor used by the BRICK.
Metric4
Defined, but not used by the BRICK.
NextHop
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 address on that

interface.)
Type
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 the value invalid(2) has

the effect of deleting the routing entry from 

the ipRouteTable.

other(1)	= none of the following;

delete(2);

invalid(2)	= an invalidated route

route to directly;

direct(3)	= connected (sub-)network

route to a non-local;

indirect(4)	= host/network/sub-network
Enumerations:
  • other (1)
  • invalid (2)
  • direct (3)
  • indirect (4)
Proto
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.

other(1)	= none of the following;

local(2         = non-protocol information

e.g., manually configured

entries;

netmgmt(3)      = set via a network

management protocol;

icmp(4)         = obtained via ICMP,

e.g., Redirect;   

the remaining values are

all gateway routing  

protocols:

egp(5);

ggp(6);

hello(7);

rip(8); 

is-is(9);

es-is(10);

ciscoIgrp(11);

bbnSpfIgp(12);

ospf(13);    

bgp(14) 
Enumerations:
  • other (1)
  • local (2)
  • netmgmt (3)
  • icmp (4)
  • egp (5)
  • ggp (6)
  • hello (7)
  • rip (8)
  • is-is (9)
  • es-is (10)
  • ciscoIgrp (11)
  • bbnSpfIgp (12)
  • ospf (13)
  • bgp (14)
  • ospf-ext (31)
Age
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 routing protocol

by which the route was learned.
Mask
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.
Metric5
Defined, but not used by the BRICK.
Info
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-Proto value. This value is currently not used 

by the BRICK and is therefore always set to 0.0.


Copyright ©2003 by BinTec Access Networks GmbH