x25route(1)

Name

x25route - manipulate the NetcomRouter IP-X.25 address mapping table

Syntax

x25route [options] add [all | host]
x25route [options] dump
x25route [options] active
x25route [options] fac host fac_string
x25route [options] del [all | host]
x25route [options] rfc host fac_string
x25route [options] host host
x25route [options] x25 x25addr

Options common to all commands include:
[-b] [-d device] [-n]

host is the numeric IP address, host name taken from /etc/hosts, provided by the Domain Name Service.

Description

x25route displays or alters the NetcomRouter IP/X.25 address mapping table, a database in the xinet device driver which matches particular IP host numbers with X.25 addresses. The xinet device driver translates between IP host numbers and X.25 addresses using one of 2 methods, according to the xinetDDNmode flag of xinet0 in /etc/xinet.conf or the ddn mode specified in /etc/conf/pack.d/xinet0/space.c. If xinetDDNmode is 0, NetcomRouter uses the address mapping table, while for any other value, the xinet driver uses the address conversion formula defined by the "Defense Data Network X.25 Host Interface Specification" published by the National Technical Information Service of the United States Department of Commerce.

These command line options are recognized:

Option

Description

-b

prevents header banners from being printed

-d device

uses a different device than the default (/dev/xinet_0)

-n

prevents interpretation of IP host numbers. This is helpful when your system uses the Domain Name Service.

x25route add all
builds the address mapping table from entries in /etc/x25hosts, /etc/packetnets, and /etc/hosts. This is the variant of the command used during system startup to build the table initially. The IP address used corresponds to that returned by gethostbyname(3). If you are using the Domain Name Service and your name server is connected via X.25, ensure that the IP address entries in /etc/x25hosts are in dot notation, and not host names, (as is the default).

x25route add host
adds a pair of addresses (IP and X.25) to the address mapping table. The IP address used corresponds to that returned by gethostbyname(3) for host if an actual host name is used instead of an IP address.

x25route add host fac_string
adds a X.25 Call facility to the call made to host. The format of fac_string is a comma separated list of facility specifications. The facility specifications are:

 
reverse - Reverse Charging
frselect - Fast Select with Restricted Response
fselect - Fast Select
pktsize= - packet size to negotiate follows the "=" sign
winsize= - window size to negotiate follows the "=" sign
thruclass= - throughput class to negotiate follows the "=" sign
nui= - NUI (Network User Identifier) follows the "=" sign;
non-ASCII data should be represented in octall (\nnn)
udata= - CUD (Call User Data) follows the "=" sign;
non-ASCII data should be represented in octall (\nnn)
rpoa= - Recognized Private Operating Agency numbers follow
the "=" sign; must be in groups of 4 digits

x25route del all
deletes all address pairs from the address mapping table.

x25route del host
deletes an address pair for host from the address mapping table.

x25route rfc host fac_string
removes a facility from the call made to host. "Fac_string" may be expressed as a concatenation of the character identifiers used in the fac function above.

x25route dump
displays the full list of host/address pairs.

x25route host host
displays the X.25 address for host.

x25route x25 address
displays the IP address or host for the given X.25 address.

x25route active
displays all active X.25 connections, including the distant host, X.25 address, the call status (C, W, or D for Connected, Waiting, or Disabled), whether or not this system originated the connection, and the up-time and time-out values. The up-time is the time since the status changed. The time-out is the amount of time left before the connection will be dropped. All three statuses have time-outs associated with them configured on installation. If Connected any traffic either way resets the time-out timer. Disable means that a connection to another host failed. NetcomRouter will not attempt it again until the time-out is up.


Revision 6.3.0 (April 2004)

Copyright © 1997-2004 The Software Group Limited. All Rights Reserved.
® Netcom is a registered trademark of The Software Group Limited.