3–Open-iSCSI User’s Guide
Managing QLogic iSCSI Adapters Using iscsiadm
IS0054604-00 A 3-7
Example: IPv4 sample config file with static IP address
List All ifaces# iscsiadm -m iface
Example:
# BEGIN RECORD 2.0-872
iface.iscsi_ifacename = qla4xxx-3
iface.ipaddress = 192.168.1.75
iface.hwaddress = 00:0e:1e:04:93:92
iface.transport_name = qla4xxx
iface.bootproto = static
iface.subnet_mask = 255.255.255.0
iface.gateway = 192.168.1.1
iface.state = enable
iface.vlan = <empty>
iface.iface_num = 0
END RECORD
# iscsiadm -m iface
default tcp,<empty>,<empty>,<empty>,<empty>
iser iser,<empty>,<empty>,<empty>,<empty>
qla4xxx-4032-2 qla4xxx,00:c0:dd:0b:13:f1,192.168.2.214,<empty>,<empty>
qla4xxx.00:c0:dd:0b:13:f1.ipv6.0 qla4xxx,00:c0:dd:0b:13:f1,<empty>,
<empty>,<empty>
qla4xxx.00:0e:1e:04:11:e2.ipv4.0 qla4xxx,00:0e:1e:04:11:e2,192.168.7.9,
<empty>,<empty>
bnx2i.00:00:00:00:00:00 bnx2i,00:00:00:00:00:00,<empty>,<empty>,<empty>