Q-Logic OFED Network Router User Manual


 
Draft
Configuring Drivers and Services
OpenFabrics Drivers and Services Configuration and Startup
IB0056101-00 G.02 Preliminary 6-11
A
c. Format 3: Starting VNIC using DGID. Following is an example of a
DGID and IOCGUID VNIC configuration. This configuration allows for
the quickest start up of VNIC service:
{CREATE; NAME="eioc1";
DGID=0xfe8000000000000000066a0258000001;IOCGUID=0x66a0130
000001;
}
This example uses DGID, IOCGUID and IOCSTRING:
{CREATE; NAME="eioc1";
DGID=0xfe8000000000000000066a0258000001;
IOCGUID=0x66a0130000001;
IOCSTRING="Chassis 0x00066A00010003F2, Slot 1, IOC 1";
}
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’