Digi W manual N f i g u r i n g I P R o u t i n g, Configuring Static Routes

Page 53

Chapter 11

Configuring Static Routes

C o n f i g u r i n g I P R o u t i n g

This section describes how to configure device server for static routes.

Related Information

See the set route command in the Digi One/PortServer TS Command Reference.

Procedure

To configure a static route over a PPP link, enter the following command:

set route net=addr mask=mask metric=hops wanname=interface gateway=gateway

where

addr is either the IP address of a system to be reached over this route or the network address of the subnet that is to be reached on this route

mask is the mask to use for interpreting the IP address.

metric is the number of hop to the destination

interface is either ether if this route is over the Ethernet interface or the name of a user if the route is over a PPP link

gateway is the IP address of the device that is the next hop to the destination

Example: Route Using the Ethernet Interface

In this example, a route to a subnet is created over the Ethernet interface. Key features include the following:

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 WAN name is the name of a PPP user.

Chapter 11 Configuring IP Routing

53

Image 53
Contents Digi TS W Family 9000329B Configuring the IP Address Chapter Configuring WirelessN t e n t s Chapter IntroductionConfiguring the Serial Ports Setting Up RealPortChapter Configuring PPP Chapter Configuring AutoconnectionConfiguring Security Features Configuring IP RoutingConfiguring DNS Configuring the Digi Device for IAIndustrial AutomationConfiguring Snmp Configuring UsersReference and Certifications Configuring Power Over the Serial PortsContents T r o d u c t i o n Setup OverviewSupported Devices About Entering Commands on the Command LineAbout This Guide Other Documents in the LibraryAbout Configuration Methods Configuration Prerequisites N f i g u r i n g W i r e l e s s Configuration ConsiderationsSelect Discover Digi Device from the CD Configuring Wireless Configuring Wireless Configuring Wireless Configuring Wireless N f i g u r i n g t h e I P a d d r e s s Options for Configuring the IP Address and MaskConfiguring the IP Address Using ARP-Ping Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and Rarp About RealPort T t i n g U p R e a l P o r tSetting Up RealPort Configuring the Serial Port Settings with the Web Interface Options for Configuring the Serial PortsConfiguring the Serial Port Settings from the Command Line N f i g u r i n g P P P Configuring Inbound PPP ConnectionsConfiguring Outbound PPP Connections Command Line Configuring Inbound PPP Connections ExampleProcedure Sample Use the following table for additional configurations Configuring PPP Common User Scenarios D e m E m u l a t i o nModem Emulation Digi One TS and PortServer TS 2/4 MEI only Serial Device Digi Device Server Modem Emulation Cable SignalsApplication AT Com Digi Device Server Response Mand Originating, Answering, and Disconnecting CallsServer. P represents a one second pause Code Modem Emulation AT Command Set Function ResultATP Function ResultATXn Accepted but ignored There is no Nvram support currently AT+MS Ascii Registers Function Range Units Saved DefaultRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Modem Emulation Commands for Configuring Autoconnection by Port or by User Configuring a Port for Autoconnection Web InterfaceConfiguring a User for Autoconnection Web Interface N f i g u r i n g a u t o c o n n e c t i o n Configuring UDP Multicast Configuring TCP Socket Communication Click Serial Ports Click Change ProfileClick Change Profile and select UDP Socket Configuring Autoconnection N f i g u r i n g I P R o u t i n g Configuring Static RoutesConfiguring Dynamic Routes Using RIP Configuring Proxy ARP Configuring IP Routing N 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 the ConfigurationControlling Access to Inbound Ports Controlling Access to the Command Line Controlling Access to Outbound PortsDevice Required Hardware Firmware Issuing User PasswordsConfiguring SSH Version 2 for Secure Communication Http Controlling Access to ServicesSnmp SSH Configuring Security Features Configuring the User-Defined Protocol Configuring ModbusConfiguring the Digi Device for IA Industrial Automation About the Domain Name System N f i g u r i n g D N SConfiguration Procedures About Snmp and the Device Server Agent N f i g u r i n g S N M PMIB Configuration Procedure Web InterfaceCommon User Features About Configuring UsersFeature Description Set user Field N f i g u r i n g U s e r sClick New User Configuring a User Web InterfaceCommands for Configuring a User Upgrading the Firmware Copying the Configuration to and from a Remote HostResetting Device Server Configuration to Defaults Commands for Resetting the Configuration to Defaults Managing the OS and Configuration Configuring RI Power Serial Power FeatureConfiguring DTR Power DTR on DTR OFF Serial Power TableConfiguring Power Over the Serial Ports Color State Indicates F e r e n c e a n d C e r t i f i c a t i o n sInterpreting the LEDs RJ-45 Pinouts EIA-232 EIA-422/485 EIA-485 Half Full-Duplex Environmental CertificationsDigi Contact Information Digi Contacts Reference and Certifications