Digi 16, TS8 manual Configuring Static Routes, Example Route Using the Ethernet Interface

Page 47

Configuring Static Routes

This section describes how to configure PortServer TS 8/16 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 the Ethernet 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 IP Routing

9-5

Image 47 Contents
PortServer TS 8/16 Configuration and Administration Guide Page Contents Chapter Configuring Users Page This Chapter IntroductionSetup Overview Supported Devices About Entering Commands on the Command LineAbout This Guide Other Documents in the Library Access Resource CD CardDownloading a Configuration File About Configuration MethodsConfiguring the PortServer TS 8/16 from a Telnet Session Configuring the PortServer TS 8/16 from the Web InterfaceAccessing the Configuration from the Web Interface Configuration PrerequisitesLogging On As Root from the Command Line Accessing the Command Line from a Telnet SessionConfiguring the IP Address Options Options for Configuring the IP Address and MaskStarting Point Configuring the Ethernet Interface with DPA-RemoteProcedure Configuring the IP Address Using Ping-ARP Manual Configuration Example Configuring the Ethernet Interface from the Command LineConfiguring an IP Address using Dhcp and Rarp Manual Configuration ProcedureConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort About RealPort What is RealPort?Configuring the RealPort Software Configuration OptionsConfiguring Ports Web Interface Example Configuring Ports for RealPort Command LineConfiguring Ports for Printers Configuration Considerations Related Information Configuring Ports for Printers Web InterfaceConfiguring Printer Connections Command Line Tips for telnet and rsh PrintingConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Terminals Port Defaults Configuring Ports for Terminals Web InterfaceConfiguring Ports for Terminals Command Line About Computer Connections Configuring Typical PC ConnectionsAbout Computer Connections Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing Types of Routing What is RoutingIntroduction to Routing About RIP Routing Updates PortServer TS 8/16 Participation in RIP Updates Example Route Using a PPP Link Configuring Static RoutesExample Route Using the Ethernet Interface Example Dynamic Routes Configuring Dynamic Routes Using RIPConfiguring Proxy ARP Configuring Proxy ARP Configuring Autoconnection About Autoconnection Configuring a Port for Autoconnection Web InterfaceConfiguring Autoconnection By Port Command Line Configuring a User for Autoconnection Command Line Configuring a User for Autoconnection Web InterfaceConfiguring a User for Autoconnection Command Line Configuring Console Management About Console Management Configuring Console Management Web InterfaceConfiguring Console Management Command Line Example Alternate IP Addresses Example SSH2 and Menu Access10-4 Configuring Security Features Controlling Access to Inbound Ports Controlling Access to the PortServer TS 8/16 ConfigurationControlling Access to the PortServer TS 8/16 Command Line Controlling Access to Outbound PortsRadius Table Key Using Radius to Authenticate UsersWhat is RADIUS? Radius ComponentsHow Radius Works Configuring Radius Web InterfaceRadius Accounting Attributes RFC Radius Command Line Configuration Example Configuring Radius Command LineIssuing User Passwords Using a Public Key Configuring SSH Version 2 for Secure CommunicationPassword Protection Configuring DNS About the Domain Name System Procedure for Using a Host File Configuration ProceduresProcedure for Using a Name Server 13-4 Configuring Snmp About Snmp and the PortServer TS 8/16 Agent Configuration Example Configuration Procedure Web InterfaceConfiguration Procedure Command Line 14-4 Managing the OS and Configuration Upgrading the OS Firmware Web Interface Prerequisite Task Upgrading the OS Firmware Command LineCopying the Configuration File to a Host Configuring PortServer TS 8/16 from a Remote HostWhen To Use Remote Configuration Rules for Editing a Configuration fileCpconf fromhost=199.250.121.12cnfg-fle Radius Resetting the Configuration to DefaultsConfiguring Users Configuration Methods About Configuring UsersCommon User Features Configuring a User Web Interface Configuring a User Command Line Examples Configuration Examples Illustration Terminal Server Configuration Without RealPortConfiguration Configuration NotesTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Dial-In PPP Connection Using Radius Dial-In PPP Connection Using Radius PortServer TS 8/16 Troubleshooting Introduction Symptom PortServer TS 8/16 Does Not BootAssumptions Symptom Cannot Telnet to the PortServer TS 8/16Running PortServer TS 8/16 Hardware Diagnostics Symptom Trouble Accessing a PortRunning PortServer TS 8/16 Post Procedure Running the Post Using the LEDsProcedure Running the Post from a Terminal Verifying Tftp on a Unix System Troubleshooting Tftp ProblemsFront Panel Procedure Resetting PortServer TS 8/16 Configuration to DefaultsCommand Line Procedure Verifying the PortServer TS 8/16 IP Address 17-9 Checking for Duplicate IP Addresses Pinging an IP Address Verifying the Network Cabling Linux Verifying the RealPort Process Verifying the RealPort ProcessAIX Verifying the RealPort Process HP-UX Verifying the RealPort ProcessSolaris Verifying the RealPort Process Windows NT Verifying the RealPort ServiceWindows 2000 Verifying the RealPort Service RealPort Checking and Changing Port ConfigurationDigi International Bren Road East Minnetonka, MN Digi Contact Information