X.25 Address Mapping

The X.25 Network Server must be able to map the X.25 Logical Channel Number of PVCs and the called DTE address for SVCs to an IP address and TCP port number in order to complete connection requests. Address resolution can be done either through a file stored in Flash memory on the PXS running xnet or though an X.25 Map Server running elsewhere on the TCP/IP network. In either case, the file format for specifying the mapping is as shown below.

X.25 Address Map Format

The address map file is a plain text file containing one or more sections with each section having zero or more entries. Section headings have the form:

[ <source> ]

The special heading for the global SVC list must have a source name of svc. Source names are case sensitive.

The entry format for SVCs is:

<Called DTE address>  <IP address>  <TCP Port>

PVC mappings are listed by network node name. The entry format for PVCs is:

<Calling DTE LCN>     <IP address>  <TCP Port>  <LCN>

where the <Calling DTE LCN> is of the form <line number>-<LCN>

If the TCP port is less than 1024, it is added to the default port (49167) for xnet. Otherwise, it is directly used as the port. Lines starting with # are ignored.

Sample X.25 Address Map File

[ svc ]
# DTE   IP Address  Port
#------------------------------
12345   10.1.1.13     0
56789   10.1.1.13     0
98765   10.1.1.13     1
43210   10.1.1.13     1

[ xnetwork-11 ]
# LCN   IP Address  Port   LCN
#------------------------------
0-1     10.1.1.13     0     1
0-2     10.1.1.13     0     2
0-3     10.1.1.13     0     3
0-4     10.1.1.13     0     4

[ xnetwork-12 ]
# LCN   IP Address  Port   LCN
#------------------------------
0-1     10.1.1.13     1     1
0-2     10.1.1.13     1     2
0-3     10.1.1.13     1     3
0-4     10.1.1.13     1     4

[ xnetwork-13 ]
# LCN   IP Address  Port   LCN
#------------------------------
0-1     10.1.1.11     0     1
0-2     10.1.1.11     0     2
0-3     10.1.1.11     0     3
0-4     10.1.1.11     0     4
1-1     10.1.1.12     0     1
1-2     10.1.1.12     0     2
1-3     10.1.1.12     0     3
1-4     10.1.1.12     0     4