Provided are a method, system, and program for configuring device
addresses used by a source device to communicate with at least one target
device. A determination is made of a number of device addresses supported
by a target device and an identifier of the source device. The determined
identifier and the number of device addresses supported by the target
device are used to determine device addresses from the device addresses
supported by the target device to communicate with the target device.