4.2.5 TCP/IP for OS/390
It is possible to share a single Ethernet LAN adapter in the ThinkPad between Linux (including the
We included the following
System definition:
channel (3) local
cu devad(0xE20,2) path(3) resource(R10A3172)
Resource definitions:
R10A3172: cu 3172 interface local(1)
options ‘ipaddress=9.12.17.211’ device(00) 3172 eth0 device(01) OFFLINE
end R10A3172
We changed the following lines in the TCPIP.PROFILE.TCPIP data set:
... |
|
|
|
|
|
DEVICE LCS1 LCS E20 |
|
|
| ||
LINK ETH1 ETHERNET 0 LCS1 |
|
| |||
... |
|
|
|
|
|
HOME 9.12.17.211 ETH1 |
|
| |||
... |
|
|
|
|
|
GATEWAY |
|
|
|
| |
9 | = | ETH1 | 1492 | 0.255.255.0 | 0.12.17.0 |
... |
|
|
|
|
|
START LCS1
This specifies the use of LAN adapter 0 (sometimes known as the MPTS adapter number, from the OS/2 MPTS program). Adapter 0 is the default LAN adapter number for
In order to share an Ethernet adapter with Linux, we must specify, in the resources file, the IP address to be used by OS/390. It must also be specified in the OS/390 TCP/IP profile data set, as shown here. With the specifications described here, we have these connection options from another host on the network:
TN3270 to 9.12.17.210, port 24
TN3270 to 9.12.17.211, port 23
telnet to 9.12.17.210, port 23
telnet to 9.12.17.211, port 1023
telnet to 9.12.17.211, port 23
34S/390 PID: ThinkPad Enabled for S/390