User guide
Configuring Dynamic Routes Using RIP
Chapter 10 Configuring IP Routing 54
• The address on the net field is a subnetwork address, not the IP address of a specific device
• The wannane=ether, indicating that this route is over the Ethernet interface
• 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.0 mask=255.255.255.0 metric=2 wannname=ether gateway=199.21.21.2
Example: Route Using a PPP Link
In this example, a route to a subnet is created over a PPP interface. Key features include the following:
• The address on the net field is IP address of a specific device, not a subnetwork address
• The wannane is the name of a PPP user.
• 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 Digi One and PortServer TS 2/4 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 sign 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 Digi One and PortServer TS 2/4 is attached, no routing-specific
configuration is required.
• To enable routing over PPP links be sure to use the netrouting field on the set user command to configure
how Digi One and PortServer TS 2/4 handles RIP updates. You can configure the link so that Digi One and
PortServer TS 2/4 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 Digi One and PortServer TS 2/4 for dynamic routing with a set forwarding command that spec-
ifies state=active.
Example: Dynamic Routes
In this example, which shows only those commands and command fields pertinent to routing, Digi One and
PortServer TS 2/4 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.