Planet Technology IDL-4800 Network Card User Manual


 
IDL series User Guide
474
Example:
$ create ip route rid 0 ip 192.168.161.12 mask 255.255.0.0 gwyip 172.26.6.100
ifname eth-0 routetype DIR ProxyArpStatus disable configstatus Auto
Output:
Verbose Mode On
Entry Created
Rid : 0 Destination : 192.168.161.12
Net Mask : 255.255.0.0 Gateway : 172.26.6.100
Ifname : eth-0 Route Type : DIR
Route Orig : LCL Age : 0
ProxyArpStatus : disable
Verbose Mode Off:
Entry Created
Output Fields:
FIELD Description
Rid
RID refers to the Routing Information Database. This database
contains information about the routes in the system. Each RID
identifies a flow and defines route related information for that flow.
The RID defines a flow based on the VLAN Id. The database can be
of 2 types, IRD (Independent Routing Database) where there are
more than one RIDs in the system and each RID defines separate
routes in context of itself. If VlanId <X> and RID <X> have been
created and the routing database is configured for IRD, than routes
in RID <X> shall define flow for packets coming on VLAN Id <X>.
The other mode for the database is SRD( Shared Routing
Database) where there is a single RID in the system and all flows
map to this RID. This RID has to be explicitly created and no more
than one RID can be created in the system in this mode. Flows for
all created VLANs shall map to this RID for routing.
Destination
Destination IP address of this route.
Net Mask
Indicates the mask to be logical-ANDed with the destination
address before being compared to the value in the ipRouteDest
field. Only absolute routes can be added in the downstream
direction for the IPOE interfaces (gsvIpRouteIfIndex as ipoe-*). The
mask for all such routes has to be 255.255.255.255. The creation of
default route in upstreamcan has the mask as 0.0.0.0 only.
Gateway
The IP address of the next hop of this route. Only absolute routes