9–Configuring iSCSI Protocol
iSCSI Offload in Linux Server
129
83840-546-00 N
iface.ipaddress = XX.XX.XX.XX
iface.transport_name = bnx2i\
Ensure that the
iface.hwaddress
is in lowercase format.
VLAN Configuration for iSCSI Offload (Linux)
iSCSI traffic on the network may be isolated in a VLAN to segregate it from other
traffic. If so, you must make the iSCSI interface on the adapter a member of that
VLAN.
Modifying the iSCSI iface File
To configure the iSCSI VLAN, add the VLAN ID in the
iface
file for iSCSI. In the
following example, the VLAN ID is set to 100.
#Begin Record 6.2.0-873.2.el6
Iface.iscsi_ifacefile name = <>
Iface.ipaddress = 0.0.0.0
Iface.hwaddress = <>
Iface.trasport_name = bnx2i
Iface.vlan_id =
100
Iface.vlan_priority = 0
Iface.iface_num = 100
Iface.mtu = 0
Iface.port = 0
#END Record
Setting the VLAN ID on the Ethernet Interface
If using RHEL 5.
x
versions of Linux, you should configure the iSCSI VLAN on the
Ethernet interface.
In RHEL 6.3, and SLES 11 SP3, it is not necessary to set
the VLAN on the Ethernet driver.
To set the VLAN ID, issue the following commands:
Vconfig add ethx <vlan number>
—Creates an L2 VLAN interface.
Ifconfig eth.<VLANID> <static ip> up
—Assigns an IP address to the
VLAN interface.
NOTE
Although not strictly required, Cavium recommends configuring the same
VLAN ID on the
iface.iface_num
field for iface file identification
purposes.