summaryrefslogtreecommitdiff
path: root/etc/iface.example
blob: 3c7354fa7cd7ff978295e9c8ee85a6e68e726df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# Example iSCSI interface config
#
# There must be a seperate iscsi interface config file for each NIC, network
# interface or port or iscsi HBA you want to bind sessions to.
#
# For hardware iscsi, this is created for you when you run iscsiadm.
# For software iscsi, you must define these files yourself.
#

# REQUIRED: iface.transport_name
#
# Set the iscsi transport/driver to use for the iface by setting
# iface.transport_name
# example:
# iface.transport_name = tcp

# This value is required and valid values for iface.transport_name are:
# - tcp (Software iSCSI over TCP/IP)
# - iser (Software iSCSI over infinniband
# - qla4xxx (Qlogic QLA4XXX HBAs)
# - bnx2i (Broadcom bnx iSCSI HBAs);
# - cxgb3i (Chelsio cxgb S3 iSCSI HBAs);
#
#OPTIONAL: iface.initiatorname
# To use a initiator name other than the one set in
# /etc/iscsi/initiatorname.iscsi for normal sessions set the
# iface.initiatorname. This is only used for normal sessions.
# For discovery sessions the /etc/iscsi/initiatorname.iscsi value
# is used.
#
# iface.initiatorname = iqn.2003-04.com.fedora:test
#
#
# REQUIRED to be able to bind a session to a network device:
#			[iface.net_ifacename | iface.hwaddress]
#
# OPTIONAL if you are creating ifaces so you can create multiple sessions
# using the default behavior where the network layer selects the device.
#
# __One__ of the following values are required for binding a session
# to a specific nic/netdevice.
#
# To bind by network interface name (example: eth0, eth2:2, eth1.3)
# set iface.net_ifacename
# example:
# iface.net_ifacename = eth0

# To bind by hardware address set the NIC's MAC address to iface.hwaddress
# example:
# iface.hwaddress = 00:0F:1F:92:6B:BF

# Note you can only bind using one value. If you set multiple values
# the bahavior is not defined.

# For some transport (cxgb3i), a user could to set the private ip address for
# the iscsi traffic for an network interface:
# example:
#  - set iscsi ip on eth0 to be 102.50.50.101, eth0 needs to be up and be on
#    the same subnet.
# iface.net_ifacename = eth0
# iface.ipaddress = 102.50.50.101