Virtual network devices
On Linux® as a KVM guest on IBM® Z, you use generic network devices and predictable interface names for Ethernet interfaces.
Read /sys/class/net to obtain a list of interfaces. Each list item
corresponds to an online CCW network device.
Example:
# ls /sys/class/net
encf500 enced0
According to convention, the device bus IDs of the associated CCW devices are 0.0.f500 and 0.0.0ed0.
Use ip or an equivalent command to activate an interface.
Example:
# ip addr 192.0.2.5 dev encf500 peer 192.0.2.6