Activating an interface

6.18 z/VM guest

Use ip or an equivalent command to activate the interface.

About this task

Figure 1. ip syntax for setting an IP address for an IUCV connection

1  ip address   add <ip_address>  dev <interface> 
2.1?  peer <peer_ip_address

Figure 2. ip syntax for activating an IUCV interface

1  ip link set  dev <interface>  up 
2.1!  mtu 9216
2.1?  mtu <max_transfer_unit>
where:
<interface>
is the interface name.
<ip_address>
is the IP address of your Linux® instance.
<peer_ip_address>
for direct connections this is the IP address of the communication peer; for routed connections this is the IP address of the TCP/IP service machine or Linux router to connect to.
<max_transfer_unit>
is the size in byte of the largest IP packets which may be transmitted. The default is 9216. The valid range is 576 through 32764.
Note: An increase in buffer size is accompanied by an increased risk of running into memory problems. Thus a large buffer size increases speed of data transfer only if no out-of-memory-conditions occur.

For more details, see the ip man page.

Example

This example activates a connection to a TCP/IP service machine with IP address 1.2.3.200 using a maximum transfer unit of 32764 bytes.

# ip addr add 1.2.3.100 dev iucv1 peer 1.2.3.200
# ip link set dev iucv1 up mtu 32764