System information

# iscsiadm -m iface -I iface_name --op=update -n iface.setting -v
hw_address
Examp le 25.12. Set MAC ad d ress o f i face0
For example, to set the MAC address (hard ware_ad d ress) of i face0 to
0 0 : 0 F: 1F: 9 2: 6 B: BF, run:
# iscsiadm -m iface -I iface0 --op=update -n iface.hwaddress -v
00:0F:1F:92:6B:BF
Warning
Do not use d efaul t or i ser as i face names. Both strings are special values used by
i scsi ad m for backward compatibility. Any manually-created i face configurations named
d efaul t or i ser will disable backwards compatibility.
25.11.3. Configuring an iface for iSCSI Offload
By default, i scsi ad m will create an i face configuration for each Chelsio, Broadcom, and
ServerEngines port. To view available i face configurations, use the same command for doing so in
software iSCSI, i.e. i scsi ad m -m i face.
Before using the i face of a network card for iSCSI offload, first set the IP address (target_IP
[7]
)
that the device should use. For ServerEngines devices that use the be2i scsi driver (i.e.
ServerEngines iSCSI HBAs), the IP address is configured in the ServerEngines BIOS set up screen.
For Chelsio and Broadcom devices, the procedure for configuring the IP address is the same as for
any other i face setting. So to configure the IP address of the i face, use:
# iscsiadm -m iface -I iface_name -o update -n iface.ipaddress -v
target_IP
Examp le 25.13. Set t h e i face IP ad d ress o f a C h elsio card
For example, to set the i face IP address of a Chelsio card (with i face name
cxg b3i .0 0 : 07: 4 3: 0 5: 9 7: 0 7) to 20 . 15. 0. 6 6 , use:
# iscsiadm -m iface -I cxgb3i.00:07:43:05:97:07 -o update -n
iface.ipaddress -v 20.15.0.66
25.11.4 . Binding/Unbinding an iface t o a Port al
Whenever i scsi ad m is used to scan for interconnects, it will first check the i face. transpo rt
settings of each i face configuration in /var/l i b/i scsi /i faces. The iscsi ad m utility will then
bind discovered portals to any i face whose i face. transpo rt is tcp.
Chapt er 2 5. O nline St orag e Manag ement
185