Q-Logic Computer Drive IB0056101-00 G 用户手册
5 – Software Installation
Configuring the InfiniPath Drivers
Configuring the InfiniPath Drivers
5-14
IB0056101-00 G
S
4.
Check whether the Ethernet driver has been loaded with:
$ lsmod | grep ipath_ether
5.
Verify that the driver is up with:
$ ifconfig -a
ipath_ether Configuration on SLES
The following procedure causes the ipath_ether network interfaces to be
automatically configured the next time you reboot the system. These instructions
are for the
are for the
SLES 10
distribution.
Servers typically have two Ethernet devices present, numbered as 0 (
eth0
)
and 1 (
eth1
). This example creates a third device,
eth2
.
As the root user, perform the following steps:
1.
Be sure that the ipath_ether module is loaded:
# lsmod | grep -q ipath_ether || modprobe ipath_ether
2.
Determine the MAC address that will be used:
# sed ’s/^\(..:..:..\):..:../\1/’ \
/sys/bus/pci/drivers/ib_ipath/00/guid
/sys/bus/pci/drivers/ib_ipath/00/guid
The output should appear similar to this (six hex digit pairs, separated by
colons):
colons):
00:11:75:04:e0:11
NOTE:
When multiple QLogic HCAs are present, the configuration for
eth3
,
eth4
, and so on follow the same format as for adding
eth2
in the
following example. Similarly, in
, add one to the unit number
(replace
.../00/guid
with
/01/guid
for the second QLogic interface),
and so on.
The Media Access Control (MAC) address is a unique identifier attached
to most forms of networking equipment.
to most forms of networking equipment.
determines the MAC
address to use, and will be referred to as $MAC in the subsequent steps.
$MAC must be replaced in each case with the string printed in
$MAC must be replaced in each case with the string printed in
NOTE:
When cutting and pasting commands such as the above from PDF
documents, the quotes are special characters and may not be
translated correctly.
documents, the quotes are special characters and may not be
translated correctly.