Lucidata Diplomat jr JRN-ASV User manual

Lucidata Diplomat jr
Model JRN-ASV
Network Asynchronous Server
LucidataHouse
Selwyn Close
GreatShelford
CAMBRIDGECB25HA
England
tel:+44(0)1223846100
fax:+44(0)1223846200
email: [email protected]

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
2
Model JRN-ASV
Publication Details All possible care has been taken in the preparation of this publication,
but Lucidata accepts no liability for any inaccuracies that may be found.
Lucidata reserves the right to make changes without notice to both this
publication and to the product which it describes.
Ifyoufindanyerrors in this publication orwould like tomake suggestions
for improvement, please write to the Company at the address below.
Lucidata House
Selwyn Close
Great Shelford
CAMBRIDGE
CB2 5HA
England
tel: +44(0)1223 846100
fax: +44(0)1223 846200
email: [email protected]
Diplomat ®is a registered trademark of Lucidata Limited.
© Lucidata Limited 1991-2001
No part of this publication may be reproduced, transmitted, transcribed,
stored in any retrieval system or translated into any human or computer
language without the prior written permission of Lucidata Limited.
Diplomat jrN-ASV User Guide Issue Number 2 (04/98)
Revision Details Issue First Published Revised Pages
2 4/98 11/98 3,5,9,10,11,14-22,24
04/99 2,3,29
07/99 2,13
04/00 2,3,7,12,13,15,17-19,25,29
07/00 2,3,4,13,18,19,20,29
08/00 2,3,28,29,30
09/00 2,4
03/01 2,3,9,10,13,18-32

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 3
Table of Contents
Introduction Page 5
Getting Started Quickly Page 6
Port A Page 6
Port B Page 6
Power Page 6
Configuration Page 9
Port A Hardware Options Page 9
Data Rate Page 9
DTR Page 9
ConfigurationCable Page 9
Control Characters Page 10
MainMenu Page 10
Configuration Bytes Page 11
Remote Configuration Page 18
Operation Page 20
Normal Operation Page 20
UDP Client/Server Page 21
TCP Client/Server Page 21
Closing TCP Sessions Page 22
Status Reporting Page 22
Telnet Port Operation Page 22
Controlling the Flow of Data Page 23
TransparentMode Page 24
LED Indicators Page 24
Trouble Shooting
and Error Messages Page 25
Basic Error Conditions Page 25
Statistics Display Page 26
NetworkTrouble Shooting Page 27
NetworkMonitor Page 28
Error Messages Page 29
Technical Specification Page 30
Asynchronous Port A Page 30
Network Interface Port B Page 31
Product Details Page 32
Technical Data Page 32

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
4
Warranty
All Lucidata products are designed, developed and tested under the
controlof its ISO9000 compliantQualityManagementSystem. The high
quality of our products is thus assured. Should any issues on the quality
of our products arise please address them to the Quality Manager via
any of the addresses given on page ii. This User Guide contains all the
necessaryinformationfor the properinstallation andconfigurationofthe
product to ensure the highest level of performance.
Warranty Lucidata warrants that the products described in this User Guide are
free from defects in manufacture and that they meet the specifications
andfunctionalitydescribedinthis User Guide. Lucidata willreplace parts
and repair defects in manufacture, on a return to factory basis, for a
period of 12 months from the date of our original invoice provided that
the product has only been used in the manner and for the purpose
describedinthisUserGuide.Lucidatadoesnotwarrantthattheproducts
described in this User Guide are suitable for any specific application
andthepurchasermustsatisfyhim/herselfofthesuitabilityoftheproduct
forthe intended applicationasbestknown to him/herself. Lucidatadoes
notacceptanycontingentliability for any damages whatsoeverincluding
direct, indirect, incidental, consequential, loss of business profits or
specialdamagesarisingfromthe use ofitsequipment.Lucidataassumes
that if its equipment is used in a business critical or any other essential
application, then the system design should incorporate sufficient
resilienceto ensure that asinglefailurewould not have disproportionate
consequences.
Service and Support If a unit fails, and you have bought it from a Lucidata appointed dealer,
you should contact that dealer. If bought from the manufacturer, return
the unit in its original packing to the address on page ii.
YoushouldtelephoneorfaxLucidatapriortoreturningthe unittoascertain
whether an apparent fault is due to mis-operation rather than to a
technical fault within the unit and to obtain a returns number.
Lucidatareservestherightto charge for any investigationof an apparent
fault that is found to be due to incorrect operation, or for the repair of a
fault that is due to the unit not being used in accordance with the
instructions in this User Guide.
Maintenance Faults that occur outside the warranty period and are not covered by a
separatemaintenancecontract, will be repairedon atime-and-materials
basis. Please telephone Lucidata prior to returning your unit. You will be
given an estimate of the repair costs.
FM 13348 BS EN ISO 9001:1994

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 5
Introduction
Introduction TheLucidataDiplomatmodel jrN is oneof afamily of simpleconnectivity
solutions built around Lucidata’s popular Diplomat jr product. The jrN
model has been designed specifically to interface to the most common
local area network (LAN) media utilising Ethernet technology and
employing the TCP/IP transport level protocols. Despite network
technology being rather complex, Lucidata has always sought to make
its products easy to use and user friendly. We believe that our products
should just be connected up and left to do their job with little on no
intervention necessary from the user.
Tothis endmost Lucidata productsare supplied withsimple menu driven
configuration screens that can be accessed with any simple local ter-
minal or emulation. Remote configuration over the network is also pos-
sible but due to the inherent security implications of such a method it is
not the default method.
The model jrN runs the jrN-ASV firmware as standard and supports
interconnectivity between Ethernet and simple asynchronous serial de-
vices over an RS232 interface. It also has brothers and sisters that
offer RS422 (jrNV), synchronous (jrNS) and parallel (jrNP) interfaces
which run a variety of communications protocols
This manual is structured to require the minimum of reading to effec-
tively operate the
Diplomat jrN
. If, as is our usual policy, Lucidata has
configured your unit for you, you will only need to read Chapter 2, Get-
ting Started Quickly, to discover what plugs into where and you will be
on the air.
If your unit is not configured yet you will need to read Chapter 3 on Con-
figuration to discover what information you need to get your hands on
before starting that process. If you are wondering why you bought a
Diplomat jrN
then Chapter 4, Operation, is where we tell of all the things
thatthe jrN can doandhowto drive it. Youwillprobablywant to read this
chapter anyway. Networks can be complex things and problems can
and do arise which may generate many and varied error messages,
some coming from within the
Diplomat jrN
and others from outside but
reported to the interface. Chapter 5, Trouble Shooting and Error Mes-
sages, documents these and gives probable explanations and recom-
mended courses of action. Finally Chapter 6, Technical Specification,
contains the dry detail of the hardware so you know what pins to use.

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
6
Asynchronous Serial Port
RJ45socket
10Base-T
BNCsocket
10Base-2
GreenLED RedLED
(Power)
Power
jack socket
8VDC
YellowLED
Port B Port A
Getting Started Quickly
Network Interface
D25Female
LinksL1,L2
LinksL4,L5

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 7
Getting Started Quickly
Whenyou holdthe
DiplomatjrN
in your hand sothattheDiplomat jr logo
is oriented in the normal reading orientation, the Network end is to the
left and the Serial interface is to the right. For documentation purposes
we refer to the Serial interface as Port A and the selected network inter-
face as Port B.
Port A Port A is wired as a Serial Asynchronous DCE and any cable that was
designed to connect a terminal type device to a modem using a 25 pin
male D type connector will be suitable to connect your device to Port A.
Port B Port B has a 10Base-T RJ45 connector and optionally a 10Base-2 BNC
connector. If botharepresent connection shouldbe made toonlyone of
these connectors otherwise the Auto Media Sensing will get confused
andprobably choose 10Base-2.TheAutoMedia Sensing only operates
at power-up time so changing the connector during operation will not
have the desired effect. The 10Base-T connector is wired for direct
connection to a hub using UTP cable.
Power The power lead from the mains adaptor is plugged into the socket on
the Port A end. When power is applied to the adaptor the Red LED by
thepowerconnector should light. Ifit doesnot youprobablyhaveadead
mains socket but refer to Chapter 5, Trouble Shooting and Error
Messages to discover what to do.
If you have selected the 10Base-T connector the Green LED by the
RJ45 socket should be illuminated to indicate a good link to the hub. If
not consult Chapter 5.
The jrN is now operational and should be doing what was expected. If
there is traffic on the network then the Yellow LED by the RJ45 connec-
tor will be flashing.
IfthejrN has beenconfigured asaServerthenit will just waituntilsome-
one makes a connection over the network. If it is configured as a Client
then sending a single character to Port A will cause the jrN to attempt to
make a connection to the remote server defined in its configuration.

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
8
DTRbiased on DTRbiased off
DTR on pin 20 DTR on pin 19
9600 baud custom/autospeed
Rx Speed Selection
Tx Speed Selection
Configuration
ChangingDataRateandDTRSignalonLinksinsidetheDiplomatjrN

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 9
Configuration
Most configuration of the jrN is performed by interacting with the Menu
screens presented through Port A but there are two sets of hardware
jumpers that determine some properties of Port A. Reference should be
madeto the diagram onpages6and 8 when makinganychangesto the
jumpers.
Data Rate Thedatarateof Port Aisselectedbychoosingthe positionofthejumpers
on links L4 and L5.The default speeds are 9600 and 19200bps but the
clocks T1 and T2 may be configured differently by setting the
Configuration Byte D (See later section). The receive speed is selected
by link L4 and the transmit speed by link L5. If a jumper is on the right
most two pins (E-F) of a link then 9600 bps is selected. If a jumper is on
the left most two pins (D-E) of a link then the custom speed is selected
(by default 19200 bps).
Character Format The default character format used by Port A is eight data bits, no parity
bit and one stop bit (8N1). This can be configured differently by setting
the Configuration Byte C. (See later section)
DTR The state of the internal DTR signal on Port A will always determine
whether Port A will be able to transmit and it is not necessary for an
externalconnectiontobemadetopin20.SomeprintersprovideaREADY
signalon pin 19.Ifexternalcontrol is required, anditusuallyis, a jumper
between the right most pins (B-C) of link L2 will select pin 20 for DTR
control. A jumper between the left most pins (A-B) of link L2 will select
pin 19 for DTR control.
In addition the selected pin may be gently biased towards either ON or
OFF by jumpering link L1. Some devices will still hold DTR high enough
to appear ON even when they are powered off so by gently biasing the
pin OFF when the device is powered down DTR is correctly sensed.
Equally it may be desirable to keep Port A enabled all the time in which
case no links would be used on L2 and the DTR level would be
determined solely by L1. If a jumper is on the right most two pins (B-C)
of L1, DTR is biased ON and if the jumper is on the left most two pins
(A-B) of L1, DTR is biased OFF.
The DTR signal can have significant effects depending on other con-
figuration options which are described later so it is important to have it
properly configured. The default factory setting is DTR biased ON and
connected to pin 20 of Port A.
Configuration Cable If
Transparent Mode
has been selected the jrN will ignore all control
characters. (see next paragraph). This would make it difficult to re-
configure the unit so the Diplomat looks for a link between Pin 8 (or 6)
and Pin 20. If it detects a link it will interpret control characters for 15
seconds before entering
TransparentMode
.It is importantthatlinkL2 is
between pins B and C and that nothing is connected to pin 20 that will
prevent it being driven high and low by pin 8.
Note: The link must NOT be present for normal operation so a specially labelled
ConfigurationCableshould be made forthepurpose.
Port A
Hardware Options

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
10
Control Characters Throughout this manual reference is made to ASCII control characters
that have special significance. They are identified variously as a key
combination eg CTRL/P, standard mnemonic eg DLE or by the ASCII
value. To make for easier reading, all referenced control characters are
definedhere.
Mnemonic Key Combination Decimal Value
DLE CTRL/P 16
ENQ CTRL/E 5
DC2 CTRL/R 18
DC1(XON) CTRL/Q 17
DC3(XOFF) CTRL/S 19
CR RETURN 13
SUB CTRL/Z 26
NUL CTRL/@ 0
BEL CTRL/G 7
Main Menu All other configuration is done by invoking the Main Menu. Under most
circumstances, the exceptions will be described later, typing CTRL/P
(that is holding down the CTRL key and typing P) will cause the Main
Menutobedisplayed.CTRL/PisASCII value 16 decimal. Theinteraction
with the menu system might be considered rather old fashioned in this
Windows World but there is a good reason why it was designed this
way.Basicallyit makesiteasytoconfigurethejrNfrom a programrunning
on any computer by simply sending a string of significant characters to
PortAwithoutwaitingfor any response. In factif the computerfirst sends
a DC3 character (ASCII value 19 decimal) then no responses will be
returned to the computer at all. When the
Diplomat
has finished
interpreting the commands it will perform a soft start and clear the flow
control blocking flag.
Lucidata Diplomat C 1995-2001
Model JRN-ASV rev 3.35:1048
Terminal Profile is <Local Port>
Type Single Digit to Select, <CR> to Exit
<A> Set Port A Configuration Byte
<B> Set Port B Configuration Byte
<C> Set Character Configuration Byte (CAUTION)
<D> Set Data Rate Configuration Byte (CAUTION)
<S> Enter Statistics Menu
<N> Enter Network Control Menu
<R> Reset Diplomat Softly
Select <>
Configuration

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 11
Configuration Bytes The current generation of
Diplomat jr
s grew from a generation that had
lotsofconfigurationswitches on the PCBto setup options. Thisrequired
taking the lid off the box to make changes and in addition the switches
occupied valuable PCB space that could be better utilised for extra
functionality. The jrN has non-volatile memory so it can remember any
configuration details that it is given. For simplicity we have introduced
the concept of ‘Silicon Switches’ to select low level options. They are
directly analogous to ordinary switches but only exist in the Diplomat’s
memory.
In the
Diplomat jrN
there are four sets of Silicon Switches associated
with four Configuration Bytes.
Configuration Byte A controls the major characteristics of Port A and
ConfigurationPortBcontrolsthemajorcharacteristicsofPortB.Changing
ConfigurationBytesC and Dshould onlybeattemptedaftercareful con-
sideration of the consequences as once altered Port A will expect
data coming in to comply with the newly specified speed and character
format. Having said that Configuration Byte D used in conjunction with
Clock Links L4 and L5 can provide very versatile speed options includ-
ing split speed.
Selecting A, B, C or D from the Main Menu will cause the appropriate
Configuration Byte to be displayed and the cursor will be positioned un-
der the first bit. At this stage the following characters can be typed in to
change the configuration byte:
CR - Return to Main Menu with the value of the configuration byte set to
thedisplayed value.
Space - move cursor to the right without changing the byte.
BS - move the cursor to the left without changing the byte.
0 - Change the ‘Switch’ above the cursor to 0 and move cursor right.
1 - Change the ‘Switch’ above the cursor to 1 and move cursor right.
Note - if any operation moves the cursor off either end the system re-
turns to the Main Menu.
Becausethe configuration bytessetlowlevel properties oftheDiplomat
they should be set up prior to attempting to configure the Network pa-
rameters.
By convention the switches or bits of a configuration byte are num-
bered as follows
76543210
Configuration

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
12
The meaning of the bits in Configuration Byte A are given in the following table.
Bit Name Description
of Switch
0 BHWPNG [0] - IgnoreICMP ECHO notifications.
[1] - If an ICMP ECHO message is received on Port B and Configuration
Byte B BEXREP=1 then output a BEL character on Port A. If
BHWDIS=1 then also drop pin 6(DSR) and pin 8(DCD) on Port A for
1 second. A TTL logic level 1 is also asserted on pin 12 of Port A for 1
second.
1 BHWDIS [0] - Disable Hardware Disconnect
[1] - Enable Hardware Disconnect. If DTR drops then any OPEN TCP
session is CLOSED. If an OPEN TCPsession is CLOSED from the
remote side then drop pin 6(DSR) and pin 8(DCD) on Port A for 1
second. A TTL logic level 1 is also asserted on pin 12 of Port A for 1
second.
2 BCNTR [0] - Only action defined Control Characters, DLE, ENQ, DC2 during the
first 15 seconds after power up, if configuration cable detected,
otherwise treat data stream completely transparently.
[1] - Always action defined Control Characters
3 BXON [0] - Treat DC1 and DC3 characters as data.
Note:If the connected device issues either of these characters and
BECHO=1 then a feedback loop is established and the network
could be flooded with packets of DC1/DC3 characters.
[1] - Use DC1 and DC3 characters for local XON/XOFF flow control
4 BCRLF [0] - Do not append a LF character to echoed CR characters
[1] - Append LF character to each CR character echoed
5 BECHO [0] - Do not Echo input characters
[1] - Echo all input characters
6 BSCHAR [0] - Only send data to Network on a terminator character or input buffer
full condition
[1] - Offer each character input for immediate transmission over the
Network. Characters may naturally accumulate and there is no guar-
antee that a TCP segment will only contain a single character.
7 BEXREP [0] - Do not output Error Message Texts to Port A
[1] - Output human readable Error Message Texts to Port A
Configuration

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 13
The meaning of the bits in Configuration Byte B are given in the following table.
Bit Name Description
of Switch
0 BPEER [0] - Enforce Client/Server relationship in TCP
[1] - Allow Client/Client sessions in TCP
1 BTCPUD [0] - Use the TCP protocol
[1] - Use the UDP protocol
2 BSEXY [0] - New Session(SYN) attempts must come from the same Host as the
current TCP session and Resets (RST) must come from the same
Host AND Port as the current TCP session.
[1] - New Session (SYN) attempts can come from any Host but Resets
(RST) must come from the same Host as the current TCP session
[0] - Insist on 'Interactive' behaviour when in UDP Server mode. ie Do not
accept a new Client until a response sent to old Client.
[1] - Accept packets from anyone as long as they are addressed to us in
UDP Server mode.
3 BCLIENT [0] - Client initiates a TCP session on DTR high
[1] - Client initiates a TCP session on Data appearing
4 BSERV [0] - Behave as a Client Device i.e. initiate sessions
[1] - Behave as a Server Device i.e. listen and wait for contact
5 BSEND [0] - Disable Auto Send
[1] - Enable automatic sending of buffered data to the network after 50mS
has expired since last character input on Port A
6 BMONIT [0] - Normal Operation, respond to packets addressed to unit
[1] - Produce a formatted dump on Port A of the first 64 bytes of every
packet detected on the Network.The first 4 bytes are internal status
bytes and not Network data.
7 BEXREP [0] - Do not forward Network Error Message Texts to Port A
[1] - Output local translation of Network Errors in human readable form
and pass on ICMP Echoes.
Note: If the Firewall feature is enabled the bit BSEXY has no effect.
Configuration

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
14
The meaning of the bits in Configuration Byte C are given in the follow-
ingtable.
Data Parity Stop Bit 3 Bit 2 Bit 1 Bit 0
Bits Bits Bits
8N20000
8N10001
8E10010
8O10011
7N20100
7E20101
7O20110
7M20111
7S21000
7E11001
7O11010
7M11011
7S11100
Where the Parity Bit Codes mean None, Even, Odd, Mark, Space
The meaning of the bits in Configuration Byte D are given in the follow-
ing tables.
Clock 1 (T1) is controlled by bits 0 to 3
Clock 2 (T2) is controlled by bits 4 to 7
Speed Bit 3 Bit 2 Bit 1 Bit 0
(bps) or 7 or 6 or 5 or 4
75 0000
150 0001
300 0010
600 0011
1200 0 1 0 0
2400 0 1 0 1
4800 0 1 1 0
9600 0 1 1 1
19200 1 0 0 0
19200 1 0 0 1
19200 1 0 1 0
19200 1 0 1 1
19200 1 1 0 0
19200 1 1 0 1
19200 1 1 1 0
19200 1 1 1 1
Configuration

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 15
Nowthatthe basic configuration ofthe
DiplomatjrN
hasbeenperformed
we can safely move on to setting up the Network Parameters.
Typing ‘N’ at the Main Menu will bring up the Network Control Menu.
Network Control Menu -
Diplomat is configured as a TCP Server
Our Ethernet Address is - 00 A0 EF 00 00 0C
Our Diplomat IP Address is - 128.18.18.12
Default Remote IP Address - 128.18.18.255
Default Gateway IP Address - 128.18.18.255
Default Sub-Net Address Mask - FFFFFF00
Default TCP/UDP Service Port Id. - 7000
Status of TCP Session - CLOSED
<O> Set Our IP Address
<S> Set Remote/Server IP Address
<G> Set Gateway IP Address
<M> Set Sub-Address Mask
<P> Set Server Port Id.
<C> Set Client Port Id.
<F> Firewall Definition Menu
<A> Broadcast ARP Request
<B> Broadcast BOOTP Request
<R> Broadcast RARP Request
<E> Send ECHO Request to Remote
<CR> Returns to Previous Menu
Network Parameter
Configuration
Configuration
GATEWAY
Diplomatjr
CLIENT
Local Ethernet
RemoteEthernet
OURIPADDRESS
GATEWAYIP ADDRESS
LOCALHOST
SERVERIPADDRESS
(LOCAL)
REMOTEHOST
SERVERIPADDRESS
(REMOTE)

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
16
In the above screen the Diplomat has been configured as a Server. In a
later screen the slight differences when it is configured as a Client will
be obvious.
The Ethernet Address is unique to the unit and cannot be changed. It is
displayed for information only.
The three IP Addresses are all changed in the same way. First a key
letter is selected:
'O' to set the Local IP Address of the Diplomat itself, 'S' for the Remote
host and 'G' for the local Gateway. If there is no local gateway then the
gateway address should be set to the same as the remote host. The
following is a typical prompt:
Enter New IP address in Decimal Dot Notation
Address of this Diplomat (Client/Server) -
If the Return key is entered no changes are made and the screen re-
freshesto showthecurrent values. Fieldsmaybe skippedbytyping a ‘.’
until the field you want to change is reached and then simply typing the
new decimal value and hitting Return will update the value.
Whetheryou are usingSub-Networkingon your networkornot the Sub-
Net mask should be such that when applied (perform a bitwise AND
operation) to both the Local IP Address and the Remote IP Address the
maskedvalues match. Ifalocalgateway is used thenthemaskedGate-
way IP Address should match the masked Local IP Address. ie com-
municating devices must be on the same conceptual sub-net.
Typing ‘M’ will invoke the following response:
Enter Sub-Address Mask in hex
You should now enter the full eight hex characters to specify the 32 bit
mask.
The TCP/UDP Service Port is the port number that a Client host will use
to make a connection to the Diplomat when it is acting as a Server. The
Diplomat will not respond to attempts to communicate with any other
port number.
Typing ‘P’ will invoke the following response:
Enter TCP Port Address in Decimal -
Careshouldbe taken toensure thatthevaluechosenis within the range
allowed by the remote host TCP/IP stack. Some systems impose re-
stricted ranges ie.2000 to 4000.
Configuration

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 17
WhentheDiplomatisconfiguredasaClienttherearetwoportaddresses
required. This time the Service Port is the Server Port number that the
Diplomat will try to establish a connection with on the Server and the
Client Port number is the Diplomat’s own local port ID.
Ifthe value of23ischosen for the ServicePorttheDiplomat will perform
Telnet control character processing by adding or removing NUL charac-
ters after CR characters.
The Port value 12345 should not be used as it is reserved for remote
interrogation of the
Diplomat jrN
.
The Port value 12346 should not be used as it invokes a special filter.
Typing‘F’will invoke theFirewallDefinitionMenu
Firewall Definition Menu - feature activated by non-zero
values
Acceptable Hosts and Ports
1. 0.0.0.0 : 0
2. 0.0.0.0 : 0
3. 0.0.0.0 : 0
4. 0.0.0.0 : 0
5. 0.0.0.0 : 0
6. 0.0.0.0 : 0
7. 0.0.0.0 : 0
8. 0.0.0.0 : 0
<C> Clear All entries, Disable feature
<A> Add an entry, <D> Delete an entry, <E> Edit an entry
<CR> Returns to Previous Menu
The feature only has effect if the
Diplomat jrN
has been configured as a
Server or Peer. The Firewall is activated by defining a non-zero IP ad-
dress. When activated the remote host IP address defined in the Net-
workControlMenuis ignored and onlythose hostsdefined in thefirewall
list will be able to start up a TCP session or enter into a UDP exchange.
IPand port values areenteredinexactly the same mannerasdescribed
for the previous menu.
The Status of the TCP session is shown for information purposes and
will be unaffected provided that no changes are made to the network
parameters. Therefore it is possible during an active session to type
CTRL/P, N to see the Network Control Screen and then return to the
activesessionbytypingReturn twice, once to getback to theMain Menu
and once to get back to the session.
Configuration

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
18
As we mentioned earlier, the design of the menu system enables auto-
matic configuration changes under the control of a local computer sys-
tem very simply. For example suppose that the configuration change
required was to make the
Diplomat jrN
a UDP Server on port 2000 just
for the day. The string that would be sent from the computer (ignoring
commas) would be:
DC3,DLE,B00010010NC2000,CR,CR,CR
Remote Configuration The
DiplomatjrN
canbeconfiguredremotely using a program oranother
DiplomatjrN
.Thisbecomesessential in the caseof thejrN(S) and jrN(P)
variantswhichdonothave an asynchronous RS232 port.It will beeasier
to describe the process from the point of view of the
Diplomat jrN
which
is being used to do the remote configuration. We will call this the Host
jrN.
The Host jrN should first be configured as a UDP Client with full Error
Reporting using the following values for configuration byte A and B.
A=11001100
B=10101010
In the Network Menu, the IP address of the remote jrN to be configured
shouldbe substituted for theServerIPaddress and the RemoteService
port should be set to 12345. This is the reserved UDP port number that
all Diplomats use for configuration. Ensure that the Default Gateway is
theone required toobtainaroute to theremotejrN. Send afewPingsto
the remote jrN using the "E" command to verify it is contactable. Then
on hitting the Return key three times a new Main Menu display should
appear. This Menu is coming from the remote jrN as is shown by the
Terminal Profile now showing "Remote Control" instead of "Local Port".
For all intents and purposes the Local Terminal is connected to the
remote jrN. All menu driving commands work in the usual way with the
exception that no control characters are sent to the remote jrN. Make
verysureofthechanges that aremadebecausetheywillberemembered
by the remote jrN when the Main Menu is left and if the IP address has
beenchangederroneously you maynot beabletocontactthe jrN again.
Configuration
XOFFDiplomatresponses
equivalenttoCTRL/P
Mainmenu-setportBConfigurationbyte
NetworkMenu-setserverportID

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01) 19
Configuration
The remote jrN will also perform a soft restart after saving the new
configuration and any existing TCP connection will be lost. It must be
emphasized that typing Return when in the remote Main Menu is
necessary for new configuration values to be stored, but typing
CTRL/P at any time will return to the Host jrN Main Menu. The remote
jrN will be left in whatever state it was in. Although the remote menu
displays look the same as if the configuration was being done locally
theyare actually performedinparallelwith whatever theremotejrN was
doing at the time. If no configuration values are changed because you
only viewed the statistics or got the remote jrN to Ping its Server then
thatwillnotforce arestartandanyexistingTCP sessionwillbepreserved.

Diplomat jr Model jrN-ASV User Guide Issue No. 2 (03/01)
20
Operation
Normal Operation As long as the
Diplomat jrN
is properly configured and is not in Network
Monitor mode it is in the Normal Mode of operation. It will process the
following Ethernet message types:
ARP messages addressed to the local IP address
RARP messages containing the local Ethernet address
ICMP messages addressed to the local IP address
UDP messages addressed to the local IP address and the local port or
the configuration port
UDP messages addressed to the Broadcast IP address and the local port
or the configuration port
TCP messages addressed to the local IP address and the local port
Responses to ARP, RARP and ICMP are performed automatically and
the user will in general be unaware of the activity. ARPs have no effect
other than providing or giving essential information about Ethernet and
IPaddresses but aRARPrequestcan cause the
DiplomatjrN
tochange
its IP address to the value contained in the RARP reply.
When the
Diplomat jrN
is configured as a Client it checks to see if it has
agoodEthernetaddress foreithertheDefaultGatewayor RemoteServer
and issues an ARP if it does not. If the
Diplomat jrN
determines that the
Remote Server Address is on a different Sub-Network to itself it will
address the ARP to the Default Gateway. The Ethernet address
containedintheARPreplywillbe used subsequently to address packets
to the Remote Server. This process is repeated every 2 seconds until a
valid reply has been received.
The
Diplomat jrN
cannot send data until it has a valid ARP entry in its
tables. For this reason an entry is preset into the ARP table for the Sub-
Network broadcast IP address (host address of all ones) together with
anEthernetaddressofall ones. ThisistoenableaUDPclienttogenerate
UDP broadcasts if the Remote Server IP Address is set equal to the
Sub-Network broadcast IP address. In this case the Diplomat jrN does
not issue any automatic ARP requests.
If switches BHWPNG of Configuration byte A and BEXREP of
ConfigurationbyteBarebothsetthenwhenevertheDiplomatjrNreceives
an ICMP echo request (PING) from a remote host a BEL character is
transmitted from Port A. If in addition switch BHWDIS is set then the
DSR (pin 6) and DCD (pin 8) signals on Port A will be dropped for 1
second. A TTL logic level 1 is also asserted on pin 12 of Port A for 1
second.
The Diplomat jrN may be set up as a UDP Client or Server, or a TCP
Client or Server. The following paragraphs describe the properties of
each set up.
Table of contents
Other Lucidata Server manuals
Popular Server manuals by other brands

Silex technology
Silex technology DS-510 Package Contents

HP
HP Integrity BL860c i2 User's & service guide

NEC
NEC NEC Express5800 Series Initial Operation Verification Guide

Lenovo
Lenovo ThinkServer TS200v Informacje dotyczące gwarancji i wsparcia

Gigabyte
Gigabyte H282-Z60 user manual

HP
HP ProLiant DL380p Gen8 user guide