Activating an interface
Use ip or an equivalent command to activate the interface.
About this task
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