•
state
•
ungroup
•
vipa
For information on how these features work, refer to
http://www-128.ibm.com/developerworks/linux/linux390/april2004_documentation.html
(Linux for
zSeries and S/390 Device Drivers, Features, and Commands).
Now you need to create the configuration file for your new interface. The network interface
configuration files are placed in
/etc/sysconfig/network-scripts/
.
The network configuration files use the naming convention ifcfg-<
device
>, where device is the
value found in the
if_name
file in the qeth group device that was created earlier. In this example
it is
eth1
.
If there is an existing configuration file for another device of the same type already defined, the
simplest solution is to copy it to the new name.
# cd /etc/sysconfig/network-scripts
# cp ifcfg-eth0 ifcfg-eth1
If you do not have a similar device defined you must create one. Use this example of
ifcfg-eth0
as a template.
/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
Edit the new
ifcfg-eth1
file.
Remove the HWADDR line for now.
Modify the DEVICE statement to reflect the contents of the
if_name
file from your ccwgroup.
Modify the IPADDR statement to reflect the IP address of your new interface.
Modify the NETMASK statement as needed.
Adding a
qeth
Device
81
Содержание ENTERPRISE LINUX 3 - FOR IBM S-390 AND IBM ESERVER ZSERIES
Страница 2: ...Red Hat Enterprise Linux 4 ...
Страница 4: ...Red Hat Enterprise Linux 4 ...
Страница 56: ...46 ...
Страница 64: ...54 ...
Страница 70: ...60 ...
Страница 104: ...94 ...
Страница 108: ...98 ...