Activating an interface

6.10 z/VM guest

Use ip or an equivalent command to activate the interface.

About this task

ip syntax for setting an IP address for an IUCV connection

Read syntax diagramSkip visual syntax diagram ip address  add  <ip_address>  dev  <interface>  peer  <peer_ip_address

ip syntax for activating an IUCV interface

Read syntax diagramSkip visual syntax diagram ip link set  dev  <interface>  up  mtu 9216 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