Quick Reference for Adding Network Devices
249
• Create the group device:
# echo read_device_bus_id,write_device_bus_id,data_device_bus_id >
/sys/bus/ccwgroup/drivers/qeth/group
Due to the length of this command, it has been broken into two lines.
• Configure the device.
For more information about configuration of the QETH driver, refer to the following:
http://oss.software.ibm.com/developerworks/opensource/linux390/docu/lx26apr04dd01.pdf
(Linux
for IBM System z and S/390 Device Drivers, Features, and Commands)
• Set the device online:
# echo 1 > /sys/bus/ccwgroup/drivers/qeth/read_device_bus_id/online
• Define the alias.
Based on the type interface being added, add a line to
/etc/modprobe.conf
that is like one of
the following:
hsi
n
alias qeth
eth
n
alias qeth
tr
n
alias qeth
• Create a configuration script.
Create a file in
/etc/sysconfig/network-scripts/
with a name like one of the following:
ifcfghsi
n
ifcfgeth
n
ifcfgtr
n
The file should look like this:
/etc/sysconfig/network-scripts/ifcfg-eth0
# IBM QETH
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:06:29:FB:5F:F1
IPADDR=9.12.20.136
NETMASK=255.255.255.0
ONBOOT=yes
NETTYPE=qeth
SUBCHANNELS=0.0.09a0,0.0.09a1,0.0.09a2
TYPE=Ethernet
Based on the type interface being added, the DEVICE parameter should be like one of the following:
DEVICE=hsi
n
DEVICE=eth
n
DEVICE=tr
n
Summary of Contents for ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Page 12: ...xii ...
Page 20: ......
Page 30: ...12 ...
Page 32: ...14 ...
Page 82: ...64 ...
Page 106: ...88 ...
Page 122: ...104 ...
Page 124: ...106 ...
Page 126: ......
Page 132: ...114 ...
Page 168: ...150 ...
Page 182: ...164 ...
Page 192: ...174 ...
Page 194: ......
Page 236: ...218 ...
Page 238: ...220 ...
Page 270: ......
Page 274: ...256 ...
Page 278: ...260 ...
Page 292: ...274 ...
Page 294: ......
Page 300: ...282 ...
Page 304: ......
Page 316: ...298 ...
Page 370: ...352 ...
Page 384: ...366 ...
Page 385: ...Part VII Appendix ...
Page 386: ......