XCell XC-32 User manual

XC-32, XC-320, XC-4200
User MANUAL
Version 1.2
DECISION Europe 3 rue de Lattre de Tassigny BP14 85170 ST DENIS LA CHEVASSE
FRANCE
Tel : (33) 02 51 41 41 89 - Fax : (33) 02 51 41 41 90
Web : http://www.xcell.com/ - E-mail : support@xcell.com

User manual XC-32 XC-320 XC-4200
Table des matières
I.Introduction......................................................................6
I.1 - XC-32 XC-320 XC-4200, remote access server................................6
I.2 - Furnished features.............................................................................6
I.3 - Symbolics...........................................................................................6
II.Xcell overview.................................................................8
II.1 - XC-32..................................................................................................8
II.2 - XC-320................................................................................................8
II.3 - XC-4200..............................................................................................8
III.Installation....................................................................11
III.1 - Indicating LEDS of XC-32..............................................................11
III.2 - Indicating LEDS of XC-320............................................................12
III.3 - - indicating LEDS of XC-4200........................................................13
III.4 - Ports and interfaces of XC-32.......................................................13
III.5 - Ports and interfaces of XC-320.....................................................14
III.6 - Ports and interfaces of XC-4200 ..................................................14
III.7 - Cautions..........................................................................................14
III.7.1 - Cleaning XC.................................................................................................14
III.7.2 - Note..............................................................................................................15
III.7.2.1 - About XC-32...........................................................................................15
III.7.2.2 - General note..........................................................................................15
IV.Configuration...............................................................16
IV.1 - Introduction....................................................................................16
IV.2 - Entering IP address.......................................................................16
IV.2.1 - Entering IP address from Xcell administrator..........................................16
IV.2.2 - Entering IP address from a terminal.........................................................17
IV.3 - HTTP Configuration (Netscape, Internet Explorer).....................17
IV.4 - Network interface..........................................................................19
IV.4.1 - Identification................................................................................................19
IV.4.2 - Route checking with PING command.......................................................19
IV.4.3 - Routing table...............................................................................................20
IV.5 - Asynchronous interfaces..............................................................21
IV.5.1 - Software settings........................................................................................21
IV.5.2 - Asynchronous port mode..........................................................................22
IV.5.3 - Type of control............................................................................................22
IV.5.4 - Flow control.................................................................................................23
IV.5.5 - Automatic disconnection of a Modem......................................................23
IV.5.6 - Association of a modem form to a port....................................................24
IV.5.7 - AutoUser mode...........................................................................................24
IV.6 - Saving and restoring Xcell configuration....................................24
IV.6.1 - Saving in FLASH memory..........................................................................24
IV.6.2 - Saving a configuration copy......................................................................24
IV.7 - Opening of a user account............................................................25
-2-

User manual XC-32 XC-320 XC-4200
IV.7.1 - Name and password...................................................................................25
IV.7.2 - Comments...................................................................................................26
IV.7.3 - In and Out communication.........................................................................26
IV.7.4 - Callback.......................................................................................................26
IV.7.5 - Audit.............................................................................................................27
IV.7.6 - Optional remote IP Address.......................................................................28
IV.7.7 - Telnet Address............................................................................................28
IV.8 - Management of a modem connection..........................................28
IV.9 - Audit...............................................................................................29
IV.9.1 - Audit on a remote machine........................................................................29
IV.9.2 - Audit on your console................................................................................30
IV.9.3 - Audit in a file...............................................................................................31
IV.9.4 - List of created audits..................................................................................31
IV.9.5 - Delete audit..................................................................................................31
IV.9.6 - Start/stop audit............................................................................................32
V.Terminal Mode (Telnet).................................................33
V.1 - Introduction.....................................................................................33
V.2 - Telnet...............................................................................................33
V.3 - Multi-sessions.................................................................................34
V.4 - Automatic Telnet.............................................................................35
V.5 - User connection diagram...............................................................35
VI.Rawtty and RemoteCOM.............................................37
VI.1 - Introduction....................................................................................37
VI.2 - RemoteCOM...................................................................................37
VI.2.1 - RemoteCOM under Windows 95/98...........................................................37
VI.2.1.1 - Setting up the Xcell................................................................................37
VI.2.1.2 - Installation of RemoteCOM driver..........................................................38
VI.2.2 - RemoteCOM under Windows NT system..................................................41
VI.2.2.1 - Setting up the Xcells..............................................................................41
VI.2.2.2 - Installation of RemoteCOM driver..........................................................42
VI.2.2.3 - Displaying RemoteCOM service status.................................................44
VI.3 - Rawtty.............................................................................................45
VI.3.1 - Server configuration...................................................................................45
VI.3.2 - Setting up the XC........................................................................................46
VI.3.3 - rawtty, rawclose..........................................................................................46
VII.Mux mode....................................................................48
VII.1 - Introduction...................................................................................48
VII.2 - TCP Mux........................................................................................48
VII.3 - UDP Mux........................................................................................48
VII.4 - Example n°1: Remote management of a PLC by a technician. .48
VII.4.1 - Description.................................................................................................48
VII.4.2 - Configuration of client's side XC..............................................................49
VII.4.3 - Configuration of server's side XC............................................................50
VII.5 - Example n°2: Remote management of a PLC by more than one
technician (solution 1)............................................................................50
-3-

User manual XC-32 XC-320 XC-4200
VII.5.1 - Description.................................................................................................50
VII.5.2 - Solution.......................................................................................................51
VII.5.3 - Configuration of client's side Xcell..........................................................52
VII.5.4 - Configuration of server's side Xcell.........................................................52
VII.6 - Example n°3: Remote management of a PLC by more than one
technician (solution 2)............................................................................53
VII.6.1 - Description.................................................................................................53
VII.6.2 - Solution.......................................................................................................53
VII.6.3 - Configuration of client's side Xcell..........................................................54
VII.6.4 - Configuration of server side's XC............................................................55
VII.7 - Example n°4: Remote management of a PLC by more than one
technician (solution 3)............................................................................55
VII.7.1 - Description.................................................................................................55
VII.7.2 - Solution.......................................................................................................56
VII.7.3 - Configuration of client's side Xcell..........................................................57
VII.7.4 - Configuration of server's side XC............................................................58
VIII.Printer Mode (LPD)....................................................59
IX.Rtelnet Mode................................................................60
IX.1 - Definition........................................................................................60
IX.2 - Configuration.................................................................................60
IX.3 - Rtelnet Pool....................................................................................61
X.Asynchronous PPP Mode............................................62
X.1 - Introduction.....................................................................................62
X.2 - PAP and CHAP authentication.......................................................62
X.3 - PPP connection setup....................................................................62
X.4 - Dial-IN connection..........................................................................62
X.5 - PPP form.........................................................................................63
X.5.1 - Creation, cancelling and displaying of a form..........................................63
X.5.2 - Comments....................................................................................................63
X.5.3 - Security.........................................................................................................63
X.5.4 - Authname and password............................................................................64
X.5.5 - Local IP.........................................................................................................64
X.5.6 - Remote IP.....................................................................................................65
X.5.7 - Proxy ARP....................................................................................................65
X.5.8 - Mask..............................................................................................................65
X.5.9 - Routing.........................................................................................................65
X.5.10 - Asyncmap...................................................................................................66
X.5.11 - MRU.............................................................................................................66
X.5.12 - MTU.............................................................................................................66
X.6 - PPP connection establishment......................................................66
X.6.1 - Dial-IN user connection phase...................................................................66
X.6.2 - Authentication phase..................................................................................67
X.6.3 - IP address negotiation phase.....................................................................67
X.7 - Compression...................................................................................68
X.8 - Proxy-ARP.......................................................................................68
-4-

User manual XC-32 XC-320 XC-4200
X.9 - Example n°1 : Remote access server............................................70
X.9.1 - Configuration...............................................................................................70
X.9.2 - Configuration of Windows 95 Dial-Up PPP Client.....................................72
X.9.3 - Resources sharing on WINDOWS 95/NT...................................................73
X.10 - Access Server function without Proxy-ARP...............................73
XI.Advanced functions.....................................................75
XI.1 - Firewall...........................................................................................75
XI.1.1 - Definition.....................................................................................................75
XI.1.2 - Chains..........................................................................................................75
XI.1.2.1 - Examples...............................................................................................76
XI.1.3 - Rules............................................................................................................77
XI.1.3.1 - Bidirectionnal option..............................................................................78
XI.1.3.2 - Type Of Service (TOS)..........................................................................78
XI.1.4 - Examples.....................................................................................................78
XI.1.4.1 - Forward Firewall....................................................................................79
XI.1.4.2 - Input Firewall.........................................................................................81
XI.1.4.3 - Output Firewall.......................................................................................81
XI.2 - Radius.............................................................................................82
XI.2.1 - Introduction.................................................................................................82
XI.2.2 - Xcell-hold Radius attributes......................................................................82
XI.2.3 - Radius requests..........................................................................................83
XI.2.4 - Configuration of the Radius client on Xcell..............................................84
XI.3 - DHCP..............................................................................................85
XI.3.1 - Definition.....................................................................................................85
XI.3.2 - DHCP client.................................................................................................86
XI.3.3 - DHCP relay..................................................................................................86
XII.Technical specifications............................................88
XIII.Cabling........................................................................90
XIII.1 - RJ45 connector............................................................................90
XIII.2 - Xcell (DTE) to DTE equipment....................................................90
XIII.3 - Xcell (DTE) to asynchronous terminal (DTE).............................91
XIII.4 - Xcell (DTE) to DCE equipment - RS232C (Modem)...................91
XIII.5 - Xcell (DTE) to DCE equipment - RS422A...................................92
XIII.6 - Xcell (DTE) to DCE equipment - RS485......................................93
-5-

User manual XC-32 XC-320 XC-4200
I.Introduction
I.1 - XC-32 XC-320 XC-4200, remote access server.
A terminal server enables you to connect passive terminals on a TCP/IP network. Thanks
to XC's integrated Telnet client, every terminal will be able to open up to three sessions on
the server.
Thanks to XC's remote access server function, you can perform a dial-in PPP connection
on each XC's port. It makes possible for a PPP compatible portable (using a modem) to
connect to the company's network.
Thanks to the Mux mode, you can also establish a communication between to serial
equipments through an asynchronous link. You can, for example, use a terminal on your
XC to manage a PLC located on a remote Xcell.
Remote access server's family is composed by the following products :
pXC-32 provides 2 asynchronous ports (RS232C) and one Ethernet port.
pXC-320 provides 4 or 8 asynchronous ports (RS232C or RS422/485A) and one
Ethernet port.
pXC-4200 provides 4, 8, 12 or 16 asynchronous ports (RS232C or RS422/485A) and
one Ethernet port.
I.2 - Furnished features
You will find the following features with any XC :
pA document titled "Getting started with Xcell server/router".
pXcell Technology CD-ROM contains RemoteCOM drivers, Rawtty drivers and a few
usefull softs. Please read the readme.html file for more information.
pA DTE DB25 cable (ref F00132) and a DTE DB9 cable (ref F00142). These cables are
PC COM port compatible - RS232C).
pA power supply cable.
pA 5V power supply (XC-32 and XC-320 only)
I.3 - Symbolics
In all pictures of this documentation, we will use the following symbols :
-6-

User manual XC-32 XC-320 XC-4200
WAN Link Printer
Ethernet Network Modem
Lan link Aquisition de
données
Work Portable
computer
Serial port server
function / Raw Mode Gateway
Terminal server
function
Remote access
router function
Mux Mode function Server
-7-

User manual XC-32 XC-320 XC-4200
II.Xcell overview
II.1 - XC-32
XC-32 provides 2 asynchronous ports on which you can connect passive terminals.
Thanks to XC's integrated Telnet client, every terminal will be able to open up to three
sessions on the server.
Thanks to XC's remote access server function, you can perform a dial-in PPP connection
on each XC's port. It makes possible for a PPP compatible portable (using a modem) to
connect to the company's network.
Thanks to the "raw" function of Xcell, you can connect printers or any other serial
equipment (bar-code reader, data acquisition system, a.s.o...).
Just run on your Unix server the "rawtty" application to redirect the in and out data flow of
the specified communication port ('/dev/ttyx') to one of XC-320 port.
RemoteCOM is provides the same function for Windows 95/98/NT systems. This function
is optionnal.
Thanks to the Mux mode, you can also establish a communication between to serial
equipments through an asynchronous link. You can, for example, use a terminal on your
XC to manage a PLC located on a remote Xcell. This function is optionnal.
II.2 - XC-320
XC-320 supports the same functions as XC-31 but provides 4 or 8 asynchronous ports.
With XC-320, you can use RemoteCOM function on 1 port. You can extend this fonction
to many ports (optionnal).
II.3 - XC-4200
XC-4200 supports the same functions as XC-310 but provides 4, 8, 12 or 16
asynchronous ports. XC-4200 also uses the XC-4 architecture.
-8-

User manual XC-32 XC-320 XC-4200
Figure 1 - Using of XC as a terminal server.
Figure 2 - Using of XC as remote access server
-9-

User manual XC-32 XC-320 XC-4200
Figure 3 - Using of XC to connect serial equipments.
-10-

User manual XC-32 XC-320 XC-4200
III.Installation
This chapter details the first steps to install XC-32, XC-320, XC-4200.
III.1 - Indicating LEDS of XC-32
The top face of XC-is composed by a line of five LEDS
XC 32
Designation Color State Meaning
Setup - Locate Red
On Setup mode activated
Off Normal mode
Clignotemen
tLocate function activated
Link Red On No presence of the network
Off Presence of the network
TxD Green Data transmission To the network
RxD Green Data reception from the network
Power Green On XC is on
Off XC is off
-11-

User manual XC-32 XC-320 XC-4200
III.2 - Indicating LEDS of XC-320
XC 320
The front panel of XC-320 composed by a line of five LEDS
Designatio
nColor State Meaning
Setup Red
On Setup mode activated
Off Normal mode
Blinking Locate function activated
LAN Link Red On No presence of the network
Off Presence of the network
LAN Tx Green Data transmission from the
network
LAN Rx Green Data reception from the network
Power Green On XC is on
Off XC is off
-12-

User manual XC-32 XC-320 XC-4200
III.3 - - indicating LEDS of XC-4200
XC 4200
The front panel of XC-4200 IS composed by a line of seven LEDS.
Designation Color State Meaning
Setup Red
On Setup mode activated
Off Normal mode
Blinking Locate function activated
Sync - Fan
fault Orange
On One synchrone interface actived at
least
Off No synchrone interface activated
Blinking Fan fault
Isdn-Fan fault Green
On One isdn interface activated at least
Off No isdn interface activated
Blinking Fan fault
Link Red On No presence of the network
Off Presence of the network
Tx Orange Data transmission from the network
Rx Green Data reception from the network
III.4 - Ports and interfaces of XC-32
The rear face of XC-340 displays the followings elements :
p1 power supply connector.
p1 Ethernet port 10baseT.
The front face of XC-32 displays the following elements :
p2 asynchronous ports RS232C/V24 noted ''Serial 1
The port n°1 is the console port in setup mode
-13-

User manual XC-32 XC-320 XC-4200
III.5 - Ports and interfaces of XC-320
The rear face of XC-320 displays the followings elements :
p1 power supply connector.
p1 Ethernet port 10baseT.
p4 or 8 asynchronous ports (RS232C/V24 or RS422/485A)
The port n°1 is the console port in setup mode
III.6 - Ports and interfaces of XC-4200
The rear face of XC-4200 displays the followings elements :
p1 power supply connector.
p1 Ethernet port 10baseT.
p
pp
p1 on/off button
The front face of XC-4200 displays the following elements :
p
pp
p4, 8, 12 or 16 asynchronous ports (RS232C/V24 or RS422/485A)
p1 asynchronous port noted ''Serial 1/Console''.
p
pp
p1 port ''Serial 2''
III.7 - Cautions
The opening of the box is strictly reserved to persons authorized by Decision Europe.
Manipulation of the open box is forbidden.
III.7.1 - Cleaning XC
pRemove the power supply cable from the rear panel
pPlease use watertown.
Caution : do not use chemical products which can damage the box paint (Alcohol,
trichlo,.. )
pPlease be sure the box is completely dry before powering on.
-14-

User manual XC-32 XC-320 XC-4200
III.7.2 - Note
III.7.2.1 - About XC-32
Security of this equipment is guaranteed only if you use the furnished power supply or an
equivalent model.
Cables must only be plug at very low security voltages (VLSV).
Warning
This is a class A product. In a domestic environment this product may cause radio
interference in which case the user may be required to take adequate measures.
III.7.2.2 - General note
The hardware and software described in this document may change without warning.
The information in this document may change without warning. Xcell Technology reserves
itself the right to revise this publication without having to provide notification for such
revisions. Aslong as reasonable precautions have been taken, Xcell Technology assumes
no responsibility for errors that may appear in this document.
Xcell Technology is a registered trademark of DECISION Europe.
No part of this publication may be copied or reproduced in any form or by means without
prior written consent of Xcell Technology.
Windows and Microsoft Windows are trademarks of Microsoft Corporation. Ethernet is a
trademark of the Xerox corporation. Netscape is a trademark of Netscape
Communications Corporation.
All other brand and product names and trademarks mentioned herein are trademarks of
their respective owners.
-15-

User manual XC-32 XC-320 XC-4200
IV.Configuration
IV.1 - Introduction
The three ways to configure your Xcell are :
pWith an asynchronous terminal (or a terminal emulator) connected to one of its serial
ports.
pFrom another network host using Telnet protocol.
pFrom a web browser (Netscape, Internet Explorer,...).
Before using Telnet or HTTP protocols, you just need to fix Xcell IP address. This can be
made with Xcell administrator or with a terminal.
IV.2 - Entering IP address
IV.2.1 - Entering IP address from Xcell administrator
Xcell administrator enables you to locate and setup all Xcells of your LAN.
To search for all Xcells on your LAN, click on "Adminstration" then on "Explorer". A
window like this one must appears on your screen :
To change Xcell's IP address, click on "IP address" cell and type new IP adress.
-16-

User manual XC-32 XC-320 XC-4200
IV.2.2 - Entering IP address from a terminal
Use a terminal ( 9600 bauds, 8 bits, no parity ) connected on Xcell's Console part.
The Setup mode can be selected after Xcell startup. When the Setup LED blinks, press
three times on '@' :
The terminal screen should display the following message :
ROOT>>
Now, you have access to a classic line shell (with a vt100, vt220, ansi terminal). Data input
errors may be corrected by using 'left arrow ', 'right arrow' and 'backspace’ keys. The 'up
arrow' and 'down arrow' keys re-edit the last command.
You can now enter IP address and the network where your Xcell is connected, with the
following commands :
IFCONFIG IP <interface> <IP_address>
ROUTE ADD NET <interface> <destination> <gateway> <netmask>
Example :
ROOT>> ifconfig ip eth0 192.168.1.11
Ok!
ROOT>> route add net eth0 192.168.1.0 0.0.0.0 255.255.255.0
Ok!
To save your configuration parameters, it is necessary to write it in permanent memory
(FLASH-EPROM). Enter the save command to do achieve this :
ROOT>> save
Status: Done.
ROOT>>
IV.3 - HTTP Configuration (Netscape, Internet Explorer)
Xcell can be configured in text mode (Console, Telnet) or in graphic mode (HTTP).
The following pages of this manual excusively deal with a text mode configuration.
However, all text mode commands have their equivalents in graphic mode.
To set up parameters in graphic mode, you just need a web browser (Netscape, Internet
Explorer), and to enter Xcell's IP address in URL field :
-17-

User manual XC-32 XC-320 XC-4200
Click on GO, and open a session under the name root. Default password is root.
Now you can configure your Xcell.
-18-

User manual XC-32 XC-320 XC-4200
IV.4 - Network interface
IV.4.1 - Identification
To correctly initialize the network connection, use the ifconfig command to enter the
following parameters :
pIP address. The location of your Xcell on the network. This address consists in four
numbers separated by dots (.), valid values for each of the four numbers are whole
numbers between 1 and 254, for example "192.168.2.3".
pNetwork mask (netmask). It is a number similar to IP address, which determines what
address is specified by the network and what place on this network is specified by your
Xcell. For an IP address "192.168.2.3", if you enter 255.255.255.0" as a mask value,
this means that your network address is "192.168.2.0".
pThe maximal transfer unit system (MTU). On an Ethernet system the MTU value is
commonly established at 1500.
pBroadcast address. By default, this address is the one of the system with 255 in place
of the machine address. For a network address "192.168.2.0", broadcast address will
be "192.168.2.255".
By default, network mask is configured at "255.255.255.0" (class C) and the MTU at 1500
(Ethernet). Only in some particular cases, you have to change these values.
IV.4.2 - Route checking with PING command
In order to check if Xcell is can be reached inside the network, you can run the ping
command :
ROOT>> ping 192.168.1.20 machine IP address on the
network
PING 192.168.1.20 (192.168.1.20): 56 data bytes
64 bytes from 192.168.1.20: icmp_seq=0 ttl=255 time=0.6 ms
64 bytes from 192.168.1.20: icmp_seq=1 ttl=255 time=38.2 ms
64 bytes from 192.168.1.20: icmp_seq=2 ttl=255 time=2.7 ms
64 bytes from 192.168.1.20: icmp_seq=3 ttl=255 time=2.7 ms
64 bytes from 192.168.1.20: icmp_seq=4 ttl=255 time=2.8 ms
--- 192.168.1.20 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.6/9.4/38.2 ms
ROOT>
IV.4.3 - Routing table
-19-

User manual XC-32 XC-320 XC-4200
Before sending an IP frame, Xcell consults its routing table in order to find an entry
indicating the route to use.
In the following example, terminals connect to server thanks to Xcell.
Note that the server is to be found on the sub-network 192.168.1.0 at the address
192.168.1.2 and that Xcell belongs to the sub-network 192.168.2.0 at the address
192.168.2.2. A bridge helps to the interconnection of the two sub-networks :
Figure 5 - Network example to make a routing table
To send IP frames to server, you must necessarily inform Xcell that these frames run
through the 192.168.2.1 router.
There are three manners for this :
The first consists in informing Xcell that all IP frames intended for the 192.168.1.2 server
have to be sent to the 192.168.2.1 router :
ROOT>> route add host eth0 192.168.1.2 192.168.2.1 255.255.255.255
Ok!
ROOT>> route static
Kernel routing table
Destination Gateway Genmask Typ Iface
192.168.1.2 192.168.2.1 255.255.255.255 host eth0
The second consists in informing Xcell that all IP frames intended for the 192.168.1.0
network have to be transmitted to the 192.168.2.1 router :
ROOT>> route add net eth0 192.168.1.0 192.168.2.1 255.255.255.0
Ok!
ROOT>> route static
Kernel routing table
Destination Gateway Genmask Typ Iface
192.168.2.0 0.0.0.0 255.255.255.0 net eth0
-20-
This manual suits for next models
2
Table of contents