Digi W manual Configuring Dynamic Routes Using RIP

Page 54

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 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 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

Image 54
Contents Digi TS W Family 9000329B N t e n t s Chapter Configuring WirelessConfiguring the IP Address Chapter IntroductionChapter Configuring PPP Setting Up RealPortConfiguring the Serial Ports Chapter Configuring AutoconnectionConfiguring IP Routing Configuring Security FeaturesConfiguring Snmp Configuring the Digi Device for IAIndustrial AutomationConfiguring DNS Configuring UsersConfiguring Power Over the Serial Ports Reference and CertificationsContents Setup Overview T r o d u c t i o nAbout This Guide About Entering Commands on the Command LineSupported Devices Other Documents in the LibraryAbout Configuration Methods Configuration Prerequisites Configuration Considerations N f i g u r i n g W i r e l e s sSelect Discover Digi Device from the CD Configuring Wireless Configuring Wireless Configuring Wireless Configuring Wireless Options for Configuring the IP Address and Mask N f i g u r i n g t h e I P a d d r e s sConfiguring the IP Address Using ARP-Ping Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and Rarp T t i n g U p R e a l P o r t About RealPortSetting Up RealPort Options for Configuring the Serial Ports Configuring the Serial Port Settings with the Web InterfaceConfiguring the Serial Port Settings from the Command Line Configuring Inbound PPP Connections N f i g u r i n g P P PConfiguring Inbound PPP Connections Example Configuring Outbound PPP Connections Command LineProcedure Sample Use the following table for additional configurations Configuring PPP D e m E m u l a t i o n Modem Emulation Digi One TS and PortServer TS 2/4 MEI onlyCommon User Scenarios Modem Emulation Cable Signals Serial Device Digi Device ServerOriginating, Answering, and Disconnecting Calls Application AT Com Digi Device Server Response MandServer. P represents a one second pause Modem Emulation AT Command Set Function Result CodeFunction Result ATPATXn Accepted but ignored There is no Nvram support currently AT+MS Registers Function Range Units Saved Default AsciiRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Modem Emulation Configuring a User for Autoconnection Web Interface Configuring a Port for Autoconnection Web InterfaceCommands for Configuring Autoconnection by Port or by User N f i g u r i n g a u t o c o n n e c t i o nClick Serial Ports Configuring TCP Socket CommunicationConfiguring UDP Multicast Click Change ProfileClick Change Profile and select UDP Socket Configuring Autoconnection Configuring Static Routes N f i g u r i n g I P R o u t i n gConfiguring Dynamic Routes Using RIP Configuring Proxy ARP Configuring IP Routing Controlling Access to the Configuration Controlling Access to Inbound PortsN f i g u r i n g S e c u r i t y F e a t u r e s Controlling Access to Outbound Ports Controlling Access to the Command LineIssuing User Passwords Configuring SSH Version 2 for Secure CommunicationDevice Required Hardware Firmware Controlling Access to Services HttpSnmp SSH Configuring Security Features Configuring Modbus Configuring the User-Defined ProtocolConfiguring the Digi Device for IA Industrial Automation N f i g u r i n g D N S About the Domain Name SystemConfiguration Procedures N f i g u r i n g S N M P About Snmp and the Device Server AgentConfiguration Procedure Web Interface MIBFeature Description Set user Field About Configuring UsersCommon User Features N f i g u r i n g U s e r sConfiguring a User Web Interface Commands for Configuring a UserClick New User Copying the Configuration to and from a Remote Host Upgrading the FirmwareResetting Device Server Configuration to Defaults Commands for Resetting the Configuration to Defaults Managing the OS and Configuration Serial Power Feature Configuring RI PowerConfiguring DTR Power Serial Power Table DTR on DTR OFFConfiguring Power Over the Serial Ports F e r e n c e a n d C e r t i f i c a t i o n s Interpreting the LEDsColor State Indicates RJ-45 Pinouts EIA-232 EIA-422/485 EIA-485 Half Full-Duplex Certifications EnvironmentalDigi Contact Information Digi Contacts Reference and Certifications