Skip to main content

Configure iSCSI LIFs to return FQDN to host iSCSI SendTargets Discovery Operation

Contributors netapp-dbagwell netapp-thomi netapp-aherbin

Beginning with ONTAP 9, iSCSI LIFs can be configured to return a Fully Qualified Domain Name (FQDN) when a host OS sends an iSCSI SendTargets Discovery Operation. Returning a FQDN is useful when there is a Network Address Translation (NAT) device between the host OS and the storage service.

About this task

IP addresses on one side of the NAT device are meaningless on the other side, but FQDNs can have meaning on both sides.

Note

The FQDN value interoperability limit is 128 characters on all host OS.

Steps
  1. Change the privilege setting to advanced:

    set -privilege advanced

  2. Configure iSCSI LIFs to return FQDN:

    vserver iscsi interface modify -vserver SVM_name -lif iscsi_LIF_name -sendtargets_fqdn FQDN

    In the following example, the iSCSI LIFs are configured to return storagehost-005.example.com as the FQDN.

    vserver iscsi interface modify -vserver vs1 -lif vs1_iscsi1 -sendtargets-fqdn storagehost-005.example.com

  3. Verify that sendtargets is the FQDN:

    vserver iscsi interface show -vserver SVM_name -fields sendtargets-fqdn

    In this example, storagehost-005.example.com is displayed in the sendtargets-fqdn output field.

    cluster::vserver*> vserver iscsi interface show -vserver vs1 -fields sendtargets-fqdn
    vserver lif        sendtargets-fqdn
    ------- ---------- ---------------------------
    vs1     vs1_iscsi1 storagehost-005.example.com
    vs1     vs1_iscsi2 storagehost-006.example.com
Related information

ONTAP command reference