Skip to main content
Version: current

iSCSI

info

This feature requires the Storage package.

iSCSI allows accessing storage over an IP-based network. On the initiator the iSCSI device will appear as a block device. RouterOS supports both target and initiator modes.

Properties

PropertyDescription
iscsi-addressIP address of the iSCSI target. (Host device IP)
iscsi-exportDisables/enables iSCSI on the host device
iscsi-iqnUnique identifier used to name the iSCSI target.
iscsi-portNetwork port used by the iSCSI target to listen for incoming connections from initiators. The default port for iSCSI traffic is 3260.
iscsi-server-iqnUnique identifier used by the iSCSI server. By default the format for the IQN is iqn.2000-02.com.mikrotik:slot (starting 7.21beta2)
iscsi-server-portNetwork port used by the iSCSI server. (starting 7.21beta2)

Configuration example

Host

/disk
set pcie1-nvme1 iscsi-export=yes

Client

/disk
add type=iscsi iscsi-address=192.168.1.1 iscsi-iqn=iqn.2000-02.com.mikrotik:pcie1-nvme1