<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can I limit iscsi target visibility based on VLAN? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78379#M18231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, well thanks for the replies ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm going to do instead is to have the clients choose a target portal based on their local VLAN, and associate to it explicitly; I don't want iSCSI traffic going through a router. I'll let igroup membership sort the rest out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2012 22:44:09 GMT</pubDate>
    <dc:creator>NONSPECIALIST</dc:creator>
    <dc:date>2012-08-08T22:44:09Z</dc:date>
    <item>
      <title>Can I limit iscsi target visibility based on VLAN?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78346#M18214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a number of 6080's running OnTAP 8.1 in 7-mode, which we've been using exclusively for NFS sharing up to now. We're starting to have use cases for iSCSI LUNs, and I'm trying to work out how to restrict the target visibility based on the inbound VLAN of a request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know about iscsi interface accesslists -- but if an initiator is not present in any accesslist, it can see targets on all interfaces. Is there a "default invisible" setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;host with initiator name iqn.2000-05.com.example:hostname01 running CentOS 6 (equivalent to RHEL 6)&lt;/LI&gt;&lt;LI&gt;FAS6080 with 3 10G mvif trunked interfaces, seeing VLANs 11, 13, 17 (we like prime numbers):&lt;UL&gt;&lt;LI&gt;mvif10gT-11&lt;/LI&gt;&lt;LI&gt;mvif10gT-13&lt;/LI&gt;&lt;LI&gt;mvif10gT-17&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are no iscsi interface accesslist settings, when I scan for targets on the filer I see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13444093967832742" jivemacro_uid="_13444093967832742" modifiedtitle="true"&gt;&lt;P&gt;hostname01# &lt;STRONG&gt;iscsiadm -m discovery -t sendtargets -p filername&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;10.1.1.1:3260,2000 iqn.1992-08.com.netapp:sn.1234567&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: helvetica, arial; font-size: 12px;"&gt;10.1.2.1:3260,2000 iqn.1992-08.com.netapp:sn.1234567&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: helvetica, arial; font-size: 12px;"&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: helvetica, arial; font-size: 12px;"&gt;10.1.3.1:3260,2000 iqn.1992-08.com.netapp:sn.1234567&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;showing that the filer sends targets for all interfaces -- but hostname01 only has a storage interface in VLAN 13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I add an interface accesslist:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13444095288275228" jivemacro_uid="_13444095288275228" modifiedtitle="true"&gt;&lt;P&gt;filer01&amp;gt; iscsi interface accesslist add iqn.2000-05.com.example:hostname01 mvif10gT-13&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then run the sendtargets again: I see just that interface, as expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13444095875365419" jivemacro_uid="_13444095875365419" modifiedtitle="true"&gt;&lt;P&gt;hostname01# iscsiadm -m discovery -t sendtargets -p filername&lt;/P&gt;&lt;P&gt;10.1.2.1:&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: helvetica, arial; font-size: 12px;"&gt;3260,2000 iqn.1992-08.com.netapp:sn.1234567&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what I would &lt;EM&gt;like&lt;/EM&gt; is for the filer not to send any targets if the initiator isn't in any accesslist -- ie, a default deny. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not using any authentication mechanisms on iscsi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:21:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78346#M18214</guid>
      <dc:creator>NONSPECIALIST</dc:creator>
      <dc:date>2025-06-05T06:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can I limit iscsi target visibility based on VLAN?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78351#M18217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can simply disable iSCSI on all interfaces except one. “iscsi interface disable …”. Is it what you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 07:13:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78351#M18217</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2012-08-08T07:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can I limit iscsi target visibility based on VLAN?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78360#M18222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, not really -- I want iscsi on all those three VLANs, but if someone provisions a system on one VLAN and goes a-probing, I would like for those systems not to be able to see any targets on the filer unless they're explicitly in an accesslist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 07:19:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78360#M18222</guid>
      <dc:creator>NONSPECIALIST</dc:creator>
      <dc:date>2012-08-08T07:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can I limit iscsi target visibility based on VLAN?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78364#M18225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd recommend you to use SnapDrive on the hosts to connect over iSCSI and manage their LUNs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SnapDrive might provides you the feature you are looking for, with this the hsot onyl sees what he is supposed to see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the documentation:&lt;/P&gt;&lt;H1 class="topictitle1"&gt;Support for storage system access control&lt;/H1&gt;&lt;P&gt;SnapDrive provides support for storage system access control to separate server administrator and storage administrator functions, and to limit SnapDrive actions and operations that depend on the user. This feature is not supported with Data ONTAP 8.1 Cluster-Mode.&lt;/P&gt;&lt;P&gt;SnapDrive enables you to control storage system access by reading a file called &lt;SPAN class="filepath"&gt;AccessControl.xml&lt;/SPAN&gt; that is created by the storage system administrator. The file is created in the &lt;SPAN class="filepath"&gt;/etc&lt;/SPAN&gt; directory of the storage system root volume and lists the operations and storage resources that are allowed access by users who are assigned specific roles. The access control file associates access rights with specific storage resources. A tool called storacl.exe is used to edit the access control file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1 class="topictitle1"&gt;Using storage system access control&lt;/H1&gt;&lt;P&gt;SnapDrive uses the AccessControl.xml file on the storage system to determine what roles are assigned to a user and what operations are allowed for specific roles. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 class="prereqlabel"&gt;Before you begin&lt;/H3&gt;&amp;nbsp; &lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Install the storage access control (storacl.exe) tool on any Windows host to create and manage the AccessControl.xml file on your storage system in the /etc directory of the root volume. The executable is part of your SnapDrive installation and is located in the SnapDrive directory on your host. &lt;/LI&gt;&lt;LI&gt;HTTPS must be enabled using the &lt;SPAN class="cmdname"&gt;options ssl.enable&lt;/SPAN&gt; command and &lt;SPAN class="cmdname"&gt;secureadmin setup ssl&lt;/SPAN&gt; command on the storage system. HTTP is also supported for use with vFiler units when using the MultiStore feature of Data ONTAP software. &lt;/LI&gt;&lt;LI&gt;You must be logged in as root on the storage system. &lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 07:52:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78364#M18225</guid>
      <dc:creator>peter_lehmann</dc:creator>
      <dc:date>2012-08-08T07:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can I limit iscsi target visibility based on VLAN?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78370#M18228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry peter, but currently this is not possible. the iscsi target will always at least answer, regardless if using accesslists, snapdrive or whatever. afterwards it might deny access due to authentication or there is simply no lun mapped for the system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 09:08:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78370#M18228</guid>
      <dc:creator>thomas_glodde</dc:creator>
      <dc:date>2012-08-08T09:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can I limit iscsi target visibility based on VLAN?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78379#M18231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, well thanks for the replies ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm going to do instead is to have the clients choose a target portal based on their local VLAN, and associate to it explicitly; I don't want iSCSI traffic going through a router. I'll let igroup membership sort the rest out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 22:44:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Can-I-limit-iscsi-target-visibility-based-on-VLAN/m-p/78379#M18231</guid>
      <dc:creator>NONSPECIALIST</dc:creator>
      <dc:date>2012-08-08T22:44:09Z</dc:date>
    </item>
  </channel>
</rss>

