11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Quick Reference for Adding Network<br />

• Set the device online:<br />

# echo 1 > /sys/bus/ccwgroup/drivers/qeth/read_device_bus_id/online<br />

• Define the alias.<br />

Based on the type interface being added, add a line to /etc/modprobe.conf that is like one<br />

of the following:<br />

hsin alias qeth<br />

ethn alias qeth<br />

trn alias qeth<br />

• Create a configuration script.<br />

Create a file in /etc/sysconfig/network-scripts/ with a name like one of the following:<br />

ifcfg-hsin<br />

ifcfg-ethn<br />

ifcfg-trn<br />

The file should look like this:<br />

/etc/sysconfig/network-scripts/ifcfg-eth0<br />

# IBM QETH<br />

DEVICE=eth0<br />

BOOTPROTO=static<br />

HWADDR=00:06:29:FB:5F:F1<br />

IPADDR=9.12.20.136<br />

NETMASK=25<strong>5.2</strong>5<strong>5.2</strong>55.0<br />

ONBOOT=yes<br />

NETTYPE=qeth<br />

SUBCHANNELS=0.0.09a0,0.0.09a1,0.0.09a2<br />

TYPE=Ethernet<br />

Based on the type interface being added, the DEVICE parameter should be like one of the<br />

following:<br />

DEVICE=hsin<br />

DEVICE=ethn<br />

DEVICE=trn<br />

• Activate the device.<br />

Based on the type interface being added, issue an ifup <strong>com</strong>mand:<br />

# ifup hsin<br />

243

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!