QLogic 7104-1M-CABLE User Manual

Page of 130
6–Configuring Drivers and Services
OpenFabrics Drivers and Services Configuration and Startup
IB0056101-00  H
6-11
A
4.
Create VirtualNIC interface configuration files. For each Ethernet interface 
defined in the /etc/sysconfig/qlgc_vnic.cfg file, create an interface 
configuration file, /etc/sysconfig/network-scripts/ifcfg-<NAME
(or /etc/sysconfig/network/ifcfg-<NAME> on Linux 2.6 kernels), 
where <NAME> is the value of the NAME field specified in the CREATE 
block.
Following is an example of ifcfg-eiocx setup for Red Hat systems:
DEVICE=eioc1
BOOTPROTO=static
IPADDR=172.26.48.132
BROADCAST=172.26.63.130
NETMASK=255.255.240.0
NETWORK=172.26.48.0
ONBOOT=yes
TYPE=Ethernet
Following is an example of ifcfg-eiocx setup for SuSE and SLES 
systems:
BOOTPROTO=’static’
IPADDR=’172.26.48.130’
BROADCAST=’172.26.63.255’
NETMASK=’255.255.240.0’
NETWORK=’172.26.48.0’
STARTMODE=’hotplug’
TYPE=’Ethernet’
5.
Start the QLogic VNIC driver and the QLogic VNIC interfaces. Once you 
have created a configuration file, you can start the VNIC driver and create 
the VNIC interfaces specified in the configuration file by running the 
following command (as a root user):
/etc/init.d/qlgc_vnic start
You can stop the VNIC driver and bring down the VNIC interfaces by running 
the following command:
/etc/init.d/qlgc_vnic stop
To restart the QLogic VNIC driver, run the following command:
/etc/init.d/qlgc_vnic restart
If you have not started the InfiniBand network stack (InfiniPath or OFED), 
then running the 
/etc/init.d/
qlgc_vnic start command also starts 
the InfiniBand network stack, since the QLogic VNIC service requires the 
InfiniBand stack.