A Linux® instance and a peer both run in LPAR
mode on the same or on different mainframes. They are to be connected with a CTC FICON® or CTC ESCON® network interface.
Assumptions:
Locally, the read and write channels are configured for type 3088
and use device bus-IDs 0.0.f008 and 0.0.f009.
IP address 10.0.50.4 is to be used locally and 10.0.50.5 for the
peer.
Figure 1 illustrates
a CTC setup with a peer in a different LPAR.
Figure 1. CTC scenario with peer in a different LPAR
Set the CTCM group device online and find
out the assigned interface name:
# echo 1 > /sys/bus/ccwgroup/drivers/ctcm/0.0.f008/online
# ls /sys/devices/ctcm/0.0.f008/net/
ctc0
In the example, the interface name is ctc0.
Assure that the peer interface is configured.
Activate the interface locally and on the
peer.
If you are connecting two Linux instances, either instance
can be activated first. If the peer is not Linux, activate the interface
on Linux first. To activate
the local interface:
# ip addr add 10.0.50.4 dev ctc0 peer 10.0.50.5
# ip link set dev ctc0 up