User guide
108 DC 900-1333P
Freeway User Guide
3.2.1 Configuration Parameters for ICP_IP Virtual Devices
ICP_IP virtual devices behave just like physical ICP boards except that they send and
receive data via an IP network rather than via a serial line. This section describes the
parameters in the boot configuration file used for ICP_IP devices. These parameters
specify the configuration of the IP link implemented by an ICP_IP device (for example,
the IP addresses and ports, data format, and so on). Each ICP_IP device may be config-
ured independently of all other ICP_IP devices.
The
bootcfg.ip file contains examples of the ICP_IP parameters. This file is preconfig-
ured with the following devices:
icp0 Commented-out examples of an ICP2424, ICP2432, and ICP6000
icp1 ICP_IP stream listening socket (TCP/IP server)
icp2 ICP_IP stream connecting socket (TCP/IP client)
icp3 ICP_IP datagram socket (unicast)
icp4 ICP_IP datagram socket (multicast)
Edit the
freeway/boot/bootcfg.ip file, modifying the following fields as necessary to set up
each ICP_IP virtual device:
Device Name The
device_name parameters in the example file in the bootcfg.ip file are
icp0 through icp3. Freeway uses the device names to identify the devices. If a Free-
way client uses the data link interface (DLI), the device name must be of the form
“
icpx”, where x corresponds to the BoardNo parameter in the DLI configuration
file,
freeway/client/test/ppp/pppaldcfg
1
. Each device name entered in the boot con-
figuration file must be unique. (Remember that the
ppp variable specifies the par-
ticular protocol or toolkit you are using. Refer to Ta bl e 2–2 on page31.)
Device Type The
device_type parameter for ICP_IP virtual devices must be icp_ip.
1. The DLI configuration file for X.25 freeway/client/test/x25mgr/apidcfg.