Previous | Contents | Index |
To remove the PPP configuration, follow these steps:
TCPIP> SET NOINTERFACE PPn |
Configuring the network interface for SLIP is the same as configuring the interface for Ethernet connections. In this case, the network interface is the modem connection. Remember that before you can configure a SLIP line, you must choose an IP address for the interface at each end of the line and establish a physical connection.
Use the following commands to set up the SLIP interface:
Table 3-3 describes the command qualifiers used for configuring SLIP interfaces.
Qualifier | Description |
---|---|
/[NO]AUTO_START | Optional. The default is /AUTO_START. Automatically creates the interface on startup. |
/COMPRESS=[ON|OFF|AUTOMATIC] | Optional. The default is no compression. Enables or disables TCP header compression (CSLIP). With /COMPRESS=AUTOMATIC, compression remains off unless the remote host begins to use it. |
/[NO]FLOWCONTROL |
Optional. The default is No flow control. Enables the special handling
of XON and XOFF characters to work properly with modems that are
configured to interpret these characters locally.
Specify /FLOWCONTROL only if the host at the other end of the line is another host running TCP/IP Services. If you cannot use /FLOWCONTROL, configure your modem to pass all the XON and XOFF characters through transparently. |
/HOST=( host_name, IP_address) | Required. Host name or IP address of the local host. If your host is multihomed, you must specify an address in dotted-decimal notation. |
/NETWORK_MASK= subnet_address | Required. The subnet mask of the local SLIP interface in dotted-decimal notation. |
/SERIAL_DEVICE= device |
Required for hard-wired or dedicated modem connections. Optional for
dynamic connections.
Identifies the OpenVMS device name assigned to the SLIP interface, for example, TTA1. |
For example, the following command configures SLIP interface SL5, using the local IP address assigned to host CROW, with a subnetwork mask of 255.255.255.0. The interface uses the terminal device TTA3:. The /COMPRESS qualifier enables TCP header compression (CSLIP). The /FLOWCONTROL qualifier enables special handling of XON and XOFF characters.
TCPIP> SET INTERFACE SL5 /HOST=CROW /NETWORK_MASK=255.255.255.0 - _TCPIP> /SERIAL_DEVICE=TTA3 /COMPRESS=ON /FLOWCONTROL |
To configure SLIP with hard-wired lines, follow these steps:
You can configure either a terminal server port or an OpenVMS system to answer dialin calls.
Follow these steps:
$ SET TERMINAL TTA2 /PERMANENT /MODEM /NOHANGUP |
$ SET TERMINAL TTA2 /PERMANENT /NOTYPEAHEAD |
$ SET TERMINAL TTA2 /PERMANENT /NOAUTOBAUD /SECURE_SERVER |
$ SET HOST /DTE nx |
atdt telephone_number |
The following example shows a user named SLIP-USER at a PC named ROBIN with a 9600-baud modem, using terminal device TTA2 and connecting it to the port of a terminal server. In this example:
$ SET HOST /DTE TTA2 %REM-I-TOQUIT, connection established Press Ctrl/\ to quit, Ctrl/@ for command mode atdt 2222222 CONNECT 9600 # hootowl (not echoed) Network Access SW V1.5 for DS700-16 (c) Copyright 1994, Digital Equipment Corporation - All Rights Reserved Please type HELP if you need assistance Enter username>SLIP-USER Local> CONNECT SLIP Ctrl/\ TCPIP> SET INTERFACE SL2 /HOST=1.2.3.4 /NETWORK_MASK=255.255.255.0 - _TCPIP> /SERIAL_DEVICE=TTA1: /COMPRESS=ON |
You can configure your host to answer calls and establish connections initiated by users on remote hosts.
To set up your host as a SLIP provider:
TCPIP> SET INTERFACE SL5 /HOST=192.208.35.5 /SERIAL_DEVICE=TT |
As soon as you log out, your terminal port becomes a SLIP interface. Without causing the modem to hang up, start SLIP on the remote system.
To facilitate connection setup for end users, create a dedicated user name for each remote host that dials in. These users need to have a LOGIN.COM procedure that invokes appropriate SET TERMINAL commands and TCP/IP management SET INTERFACE commands, terminating with a LOGOUT command. Every user should specify a different SLIP interface name and host name (or IP address). These users require the OPER privilege to create interfaces.
You can enable IP forwarding on the SLIP provider host and start dynamic routing. For example, enter the following commands:
TCPIP> SET PROTOCOL IP /FORWARD TCPIP> SET CONFIGURATION PROTOCOL IP /FORWARD |
To send notifications automatically on all connected LANs when new hosts or networks become reachable, use dynamic routing with the /SUPPLY option. For example, every time a SLIP connection is set up to a new remote subnetwork, RIP (Routing Information Protocol) advertises a corresponding route. For example, enter the following commands:
TCPIP> START ROUTING /SUPPLY TCPIP> SET CONFIGURATION START ROUTING /SUPPLY |
You can make your SLIP-connected host appear as if it were directly connected to the LAN. This is possible using a proxy ARP server (usually the same host that is acting as a SLIP gateway into the LAN).
To use proxy ARP (Address Resolution Protocol), assign to the remote host an IP address in the same subnetwork as the LAN. As other hosts on the LAN attempt to communicate with the remote host, the SLIP gateway answers ARP queries for the remote host by giving its own LAN address. The gateway then forwards packets across the SLIP line.
Many DECserver terminal server products support SLIP connections and implement proxy ARP. If you dial in from an OpenVMS host to a terminal server, the terminal server automatically detects your IP address and begins responding to ARP queries, forwarding packets as necessary.
To use proxy ARP with a DECserver terminal server, assign an IP address in the same subnetwork as the terminal server.
At the terminal server, enter the TCP/IP management command SHOW PORT SLIP. Verify that:
It is also possible to set up your host as a SLIP gateway with proxy ARP. You might prefer this approach if your dialin modems are attached directly to an OpenVMS system rather than to a terminal server.
Follow these steps on the host to become a SLIP gateway:
$ TCPIP SET INTERFACE SL0 /HOST=10.1.2.3 /SERIAL_DEVICE=TTA2 |
$ TCPIP SET ROUTE FINCH /GATEWAY=10.1.2.3 |
$ TCPIP SET ARP 08-00-2B-2C-4F-46 FINCH /PUBLIC |
$ TCPIP SET PROTOCOL IP /FORWARD |
When your host is set up as a SLIP gateway, create an interface on the remote host at the other end of the serial line. Specify an address in the same subnetwork as the LAN.
Although the two ends of the SLIP line are in different subnetworks,
traffic can flow properly due to the interface route you added with the
SET ROUTE command.
3.3.6 Shutting Down SLIP
To terminate a SLIP connection, follow these steps:
$ TCPIP SET NOINTERFACE interface |
If you have problems dialing in to an OpenVMS system using SLIP or PPP after following the instructions in this chapter, perform the following steps to isolate the cause of the problem:
$ SHOW INTRUSION $ DELETE/INTRUSION_RECORD source |
TCPIP> SHOW PROTOCOL IP/FORWARD |
$ SET TERMINAL TTnx /ALTYPEAHD /AUTOBAUD /DIALUP - _$ /DISCONNECT /EIGHTBIT /MODEM /NOHANGUP /NOHOSTSYNC /NOPASTHRU - _$ /NOREADSYNCH /NOTTYSYNCH /PERMANENT /TYPE_AHEAD |
$ SET HOST/DTE TTnx |
$ PPPD PPPD> CONNECT \}`}"}(}"6~ <CTRL/@> %PPPD-I-CONNECTTERM, converting connection on device _TTA0: to a Point-to-Point connection %PPPD-E-CALLBACKERR, error calling network callback %SYSTEM-F-NOPRIV, insufficient privilege or object protection violation %PPPD-F-ABORT, fatal error encountered; operation terminated |
TCPIP> PING host-name |
$ HELP TCPTRACE |
TCPIP> SHOW INTERFACE SLn |
TCPIP> SHOW INTERFACE PPn |
Keep the following in mind for PPP-specific problems:
%PPPD-E-NEEDVIRTTERM, point-to-point connection on device _TTB0: must be done on a virtual terminal |
$ RUN SYS$SYSTEM:SYSMAN SYSMAN> IO CONNECT VT/NOADAPTER/DRIVER=SYS$LOADABLE_IMAGES:SYS$TTDRIVER.EXE SYSMAN> EXIT |
$ SET PROCESS/PRIVILEGE=CMKRNL $ SYSMANIO = "SYSMAN IO" $ SYSMANIO CONNECT VT/NOADAPTER/DRIVER=SYS$LOADABLE_IMAGES:SYS$TTDRIVER.EXE |
Previous | Next | Contents | Index |