[Top] [Table Of Contents] [Prev] [Next] [Index]
10 out of 21 total pages
 

Configuring Dial-Out Connections   7


  This chapter discusses how to create locations--settings for dial-out destinations--for dial-out connections.
  This chapter discusses the following topics:
  See the PortMaster 4 Command Line Reference for more detailed command descriptions and instructions.
  You can also configure the PortMaster 4 using the PMVision application for Microsoft Windows, UNIX, and other platforms supporting the Java Virtual Machine (JVM). PMVision replaces the PMconsole interface to ComOS.
 

       Configuring the Location Table

  A location defines a dial-out destination and the characteristics of the dial-out connection. Locations control dial-out network connections in much the same way the user table controls dial-in network connections.
  Locations are stored in the location table. All dial-out locations have the following minimum settings:
  Locations can also optionally have the following settings:
 
  To display the location table, enter the following command:

  Command> show table location 

  A location table display looks like the following. The location table entries shown here are examples only. PortMaster products have empty location tables by default.
 
 
 Location  Destination  Netmask  Group  Maxcon  Type
 ---------  -------------  -------------  -------  --------  ------------
 hq  172.16.1.1  255.255.255.0  1  4  On Demand
 sf  192.168.1.21  255.255.255.0  99  1  Manual
 sub1  192.168.3.1  255.255.255.0  2  0  Manual
 bsp  172.16.1.21  255.255.255.0  99  1  Manual
 

       Creating a Location

  You must create a unique dial-out location for each remote host or router you want to access. Location table entries are identified by this unique location name, which can contain up to 12 characters.
  To create a location, use the following command:

  Command> add location  Locname

 

       Setting the Connection Type

  Because the default method of initiating a connection is manual , you need to use the dial  command to cause the PortMaster to manually dial out to a location. You can change the connection type as shown in Table 7-1. If you are changing an existing location's connection type, verify that the connection is not active.

  Table 7-1 Dial-Out Connection Types

 
  Connection Type     Description 
 on_demand   This type of connection is automatically started when packets for the remote location are queued by the PortMaster.
 automatic   This type of connection is always active. If the telephone connection is dropped, the PortMaster initiates a new connection with the location after a 30-second waiting period.
 manual   This type of connection is started when you request a connection. You can use this configuration to test a connection or for network callback users. This is the default.

  To configure the connection type, use the following command:

  Command> set location  Locname on_demand |automatic |manual 

  Dial-on-demand connections to selected locations can save money because the telephone line is used only when traffic needs to be transmitted. The dial-on-demand configuration can also be used as a backup for other types of connections such as those using high-speed synchronous lines. A dial-on-demand connection usually has the idle timer set so that the connection is closed when no longer needed.

  Note ¯ When configuring a dial-on-demand location, be careful not to have the on-demand location be the route to the loghost, RADIUS server, RADIUS accounting server, or any host for a port using the PortMaster login or device service, unless you understand the effect of these services upon dial-on-demand.

  If routing for a dial-on-demand location is set to on , listen,  or broadcast , the PortMaster dials out to that location when it boots, to update routing information. The PortMaster hangs up when the idle timer expires because RIP traffic does not reset the idle timer.
  To configure a location to support a dial-on-demand connection, use the following command:

  Command> set location  Locname on_demand 

  To establish an automatic dial-out connection, you must set the location type to automatic . In this configuration, the PortMaster dials out after it boots and establishes a network connection to the specified location. If the connection is dropped for any reason, the PortMaster dials out again and establishes the connection again after a 30-second wait.
  To configure a location to support a automatic connection, use the following command:

  Command> set location  Locname automatic 

  Use manual dial-out to test the connection or if you want the connection to be established only when you or a network callback user requests. You should test any connection before configuring it as a continuous or on-demand location.
  To configure a location to support a manual connection, use the following command:

  Command> set location  Locname manual 

  Note ¯ Disconnect dial-out connections by resetting the port before switching a connection type from manual  to on demand .

 

       Setting the Telephone Number

  The telephone number setting is used to dial out to the remote location.
  To set the telephone number of the remote location, use the following command:

  Command> set location  Locname telephone  String

 

       Setting the Username and Password

  The username and password are what the PortMaster uses to authenticate itself to the remote host. Note that the username and password you enter here must also be resident on the remote host in the user table, RADIUS, or other authentication mechanism.
  To set the username and password, use the following commands:

  Command> set location  Locname username  Username
Command> set location  Locname password  Password

 

       Setting the Protocol

  The network protocol for a dial-out location is typically set for PPP packet encapsulation, SLIP encapsulation, or X.75-sync (used in Europe). PPP can be used with IP packet routing, IPX packet routing, or both. Select a protocol that is compatible with the remote location.

  Note ¯ New location table entries default to PPP.

  To set the protocol for a location, use the following command:

  Command> set location  Locname protocol slip |ppp |x75-sync

  For more information about setting the location protocol to a Frame Relay subinterface, see "Frame Relay Subinterfaces" on page 13-8.
 

       Setting the Destination IP Address

  The destination IP address is the IP address expected on the system at the remote end of the dial-out connection.
  For PPP connections, you can either specify an IP address or have it negotiated. If you enter 255.255.255.255 (negotiated) for the destination IP address, the PortMaster learns the IP address of the remote system during PPP IPCP negotiation.
  For SLIP connections and locations set for on-demand dialing, enter the IP address or a valid hostname of up to 39 characters for the system at the remote end of the connection.

  Note ¯ Assigned addresses are not supported for dial-out locations.

  To set the destination IP address for a location, use the following command:

  Command> set location  Locname destination  Ipaddress

 

       Setting the Destination Netmask

  If the host or network on the remote end of the connection requires a netmask, you must define it in the location table.
  To set the destination netmask for a location, use the following command:

  Command> set location Locname netmask  Ipmask

 

       Setting the IPX Network Number

  Note ¯ The PortMaster 4 supports the IPX protocol if it is running ComOS 4.1 or later. IPX is not supported in ComOS 4.0.

  If you use the IPX protocol, you must assign a unique IPX network number to the network connection between the remote host and the PortMaster. Enter the IPX network number in the hexadecimal format described in Appendix A, "Networking Concepts." The number can consist of up to eight characters. The number is used only for the serial link, and must be different from the IPX network numbers used for Ethernets at either end.
  To set the IPX network number for a location, use the following command:

  Command> set location  Locname ipxnet  Ipxnetwork

  Note ¯ Do not set a value of all 0s (zeros) or all Fs for the IPX network numbers.

 
 

       Setting RIP Routing

  You can associate RIP routing with locations--for example, a dial on-demand connection where the remote router is defined as a location on the local PortMaster.
  As described in the PortMaster Routing Guide, PortMaster products automatically send and accept route information as RIP messages, unless configured otherwise.

  Note ¯ ComOS 4.1 and later releases support both RIP-1 and RIP-2 on the PortMaster 4. Earlier releases of ComOS support only RIP-1.

  Refer to the PortMaster Routing Guide for OSPF and BGP configuration instructions.
  To set RIP routing for a location, use the following command:

  Command> set location  Locname  rip on |off |broadcast |listen |v2  
{broadcast |multicast |on |v1-compatibility }

  Refer to the PortMaster 4 Command Line Reference for a description of the keywords in this command. Refer to the PortMaster Routing Guide for a discussion of routing with RIP, and for OSPF and BGP routing configuration instructions.
 

       Setting the Dial Group

  Dial groups associate locations with specific dial-out ports. By default, all ports and locations belong to dial group 0 (zero). You can configure locations and ports into dial groups numbered from 0 to 99. Dial group numbers can be used to reserve ports for dial-out to specific locations, or to differentiate among different types of modems that are compatible with the remote location.
  The dial group associated with a location works with the dial group specified for each port. For example, you create a dial-out location called home and specify that the dial group for home is 2. When you configure each port, you can assign the port to a dial group. Only ports assigned to group 2 are used to dial the location home, while other ports are not.
  To associate a location with a dial group number, use the following command:

  Command> set location Locname group  Group

 

       Setting the MTU Size

  The maximum transmission unit (MTU) defines the largest frame or packet that can be sent through this port, without fragmentation. If an IP packet exceeds the specified MTU, it is automatically fragmented. An IPX packet that exceeds the specified MTU is automatically dropped. PPP connections can have a maximum MTU of 1500 bytes. SLIP connections can have a maximum MTU of 1006 bytes. With PPP, the PortMaster can negotiate smaller MTUs when requested during PPP negotiation.
  The MTU is typically set to the maximum allowed for the protocol being used. However, smaller MTU values can improve performance for interactive sessions. During PPP negotiation, the smaller number is used. If you are using IPX, the MTU must be set to at least 600.
  To set the MTU for a location, use the following command:

  Command> set location  Locname mtu  MTU

 

       Configuring Compression

  Compression of TCP/IP headers can increase the performance of interactive TCP sessions over network hardwired asynchronous lines. Lucent implements Van Jacobson TCP/IP header compression and Stac LZS data compression. Compression is on by default.
  Compression cannot be used with multiline load balancing, but can be used with Multilink PPP.
  Compression must be enabled on both ends of the connection if you are using SLIP. With SLIP, TCP packets are not passed if only one side of the connection has compression enabled. For PPP connections, the PortMaster supports both bidirectional and unidirectional compression. Refer to RFC 1144 for more information about header compression.
  The PortMaster supports Stac LZS data compression only for PPP connections with bidirectional compression. Stac LZS data compression cannot be used for SLIP connections.
  To configure compression for a location, use the following command:

  Command> set location  Locname compression on |off |stac |vj 

  Table 7-2 describes the results of using each keyword.

  Table 7-2 Keywords for Configuring Compression 

 
  Keyword    Description 
 on   Enables compression. The PortMaster tries to negotiate both Van Jacobson and Stac LZS compression. This is the default.
 off   Disables compression.
 stac   Enables Stac LZS data compression only.
 vj   Enables Van Jacobson TCP/IP header compression only.
  To display compression information about a location, enter the following command:

  Command>  show S0

 

       Setting the Idle Timer

  You can set the idle timer for a location with manual or on-demand connections. This timer defines the length of time the line can be idle, with no network traffic in either direction, before the PortMaster disconnects the connection. You can set the idle time in seconds or minutes, to any value from 0 to 240. The default setting is 0 minutes. If the value is set to 2 seconds or a longer interval, the port is reset after having no traffic for the designated time. The idle timer is not reset by RIP or keepalive packets. To disable the idle timer, set the value to 0.

  Note ¯ Idle timers for dial-in connections are set on each port or for specific users. Idle timers for dial-out connections are set in the location table.

  To set the idle time for a location with a manual or on-demand connection, use the following command:

  Command> set location  Locname idletime  Number [minutes |seconds ]

 

       Setting Data over Voice

  The PortMaster supports data-over-voice for inbound and outbound ISDN connections. The PortMaster automatically accepts inbound voice calls and treats them as data calls. You can force a data-over-voice call on an outbound ISDN connection by setting the capability to on .
  To turn on the data-over-voice capability for ISDN connections to a location, use the following command:

  Command> set location  Locname voice on |off 

  For more information on ISDN connections, see Chapter 11, "Configuring T1, E1, and ISDN PRI."
 

       Setting CHAP

  When you enter a username and password into the location table, they are used as the system identifier and message-digest algorithm 5 (MD5) secret for CHAP authentication. You can turn on outbound CHAP authentication and eliminate the need to use the sysname  identifier and user table configurations for CHAP, unless the device being dialed also dials in to the PortMaster. The default setting is off .
  To set CHAP authentication for a location, use the following command:

  Command> set location  Locname chap on |off 

 

       Setting the Asynchronous Character Map

  The PPP protocol supports the replacement of nonprinting ASCII data in the PPP stream. These characters are not sent through the line, but instead are replaced by a special set of characters that the remote site interprets as the original characters. The PPP asynchronous map is a bit map of characters that must be replaced. The lowest-order bit corresponds to the first ASCII character NUL, and so on. Most environments must set the asynchronous map to 0 (zero) to achieve maximum throughput.
  To set the PPP asynchronous map for a location, use the following command:

  Command> set location  Locname map  Hex

 

       Setting Multiline Load Balancing

  You can set several ports to connect to a single location to distribute heavy traffic loads. This capability is called multiline load balancing. You can define a threshold--known as a high-water mark--for a location. The high-water mark triggers the PortMaster to bring up an additional connection to the location when the amount of data specified by the high-water mark is queued. The PortMaster examines the queue several times a minute to determine if the high-water mark has been reached.
  Load balancing is useful for on-demand routing because additional ports for the location are added as the load exceeds what can be handled by one port. When the ports are idle for the time specified by the set location idletime  command (see "Setting the Idle Timer" on page 7-7), all ports used for that connection are timed out simultaneously.
  Load balancing can save you money because you do not need to configure your network to handle the maximum load between locations. Periods of heavy traffic can be handled by additional ports on an as-needed basis. At other times, the additional ports can be used for other purposes.
  When multiple ports are in use, each packet is queued on the port with the least amount of traffic in the queue. Ports with very different speeds must not be combined for load balancing purposes. The overall throughput for a given number of ports is approximately equal to the number of ports multiplied by the throughput of the slowest port.
  The following settings are used to configure load balancing and define when additional lines to this location are dialed.
 

       Setting the Maximum Number of Dial-Out Ports

  To configure load balancing, you must define the number of dial-out ports that can be used to dial and establish a connection with this location. This setting creates a pool of ports that can be used at the same time to establish a connection with this location.
  If the maximum number of ports is set to 0, no connection with this location is established. If the maximum number of ports is set to any number greater than one, the high-water mark is used to determine when additional connections are established with this location.
  When more than one line is open to a given location, the PortMaster balances the load across each line. When the ports are idle for the time specified by the set location idletime  command (see "Setting the Idle Timer" on page 7-7), all ports used for that connection are timed out simultaneously.
  To set the maximum number of dial-out ports for a location, use the following command:

  Command> set location  Locname maxports  Number

  The Number variable is a value between 0 and 95--the total number of available ports.
 

       Setting Bandwidth-on-Demand

  The bandwidth-on-demand feature provides a way to specify a point at which the PortMaster establishes an additional line to a location. You use the high_water  keyword to specify the number of bytes of network traffic that must be queued before the PortMaster opens an additional connection. The PortMaster examines the queue several times a minute to determine if the high-water mark has been reached.
  If you set a very low threshold number, the PortMaster quickly opens the maximum number of ports you specify for this location. When selecting a threshold, bear in mind that interactive traffic from login users queues a relatively small number of bytes--only several hundred--while network users doing file transfers can queue several thousand bytes of traffic.
  This high-water value is used only when the maximum number of ports is greater than one. The default high-water mark is 0 (zero).
  To set the high-water mark in bytes for a location, use the following command:

  Command> set location  Locname high_water  Number

 

       Setting Filters

  You can attach input and output filters to each location. Filters must be defined in the filter table before they can be added to the location table. For more information about filters, see Chapter 8, "Configuring Filters." When a filter is changed, all ports in use by the location must be reset to have the changes take effect.

  Note ¯ If a matching filter name is not found in the filter table, this command is not effective and all traffic is permitted.

 
 

       Input Filters

  Input filters cause all packets received from the interface to be evaluated against the filter rule set. Only packets allowed by the filter are accepted.
  To set an input filter for a location, use the following command:

  Command> set location  Locname ifilter  Filtername

 

       Output Filters

  Output filters cause all packets going out to the interface to be evaluated against the filter rule set. Only packets allowed by the filter are passed out to the interface.
  To set an output filter for a location, use the following command:

  Command> set location  Locname ofilter  Filtername

 

       Testing Your Location Configuration

  When you are configuring a location, you can set a manual connection for the location so that you can test the configuration before resetting the connection to on-demand or automatic. To test the configuration, you must initiate a connection with the remote location by using the dial  command from the command line.
  To display the chat script (if you are using one) during dialing, use the optional -x  keyword. You can watch the connection process to ensure that location-specific settings are configured correctly. This keyword also resets some debugging values previously set with set debug .
  When your location is configured correctly, change the connection type from manual to automatic or on-demand.
  To test your configuration, use the following command:

  Command> dial  Locname [-x ]

 

[Top] [Table Of Contents] [Prev] [Next] [Index]
10 out of 21 total pages
spider@livingston.com
Copyright © 1999, Lucent Technologies. All rights reserved.