•The metric field indicates that packets to this subnet will pass through two routers
•The gateway field indicates that all packets using this route are to be forwarded to the device at IP address 191.21.21.2.
set route net=199.21.33.44 mask=255.255.255.255 metric=2 wannname=ppp1 gateway=199.21.21.2
Configuring Dynamic Routes Using RIP
This section describes how to configure the device server for dynamic routing.
Related Information
See the set forwarding command in the Digi One/PortServer TS Command Reference.
Starting Point
This procedure assumes that you have signed on as root and have or will configure modems, modem scripts, devices, and filters for routes that use serial lines.
Procedure
1.Configure the links over which routed packets and RIP updates will be sent.
•To enable routing over the LAN to which device server is attached, no
•To enable routing over PPP links be sure to use the netrouting field on the set user command to configure how device server handles RIP updates. You can configure the link so that device server does any of the following with RIP updates:
—Both sends and receives them (netrouting=both)
—Sends them only (netrouting=send)
—Receives them only (netrouting=receive)
—Neither sends nor receives them (netrouting=off)
2.Configure the device server for dynamic routing with a set forwarding command that specifies state=active.
Example: Dynamic Routes
In this example, which shows only those commands and command fields pertinent to routing, device server is configured for dynamic routing using RIP. But to prevent RIP updates from being sent across the PPP link, the set user command that defines the link specifies netrouting=off.
54 | Chapter 11 Configuring IP Routing |