Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

iSCSI VLAN

Direct answer

VLAN separation can reduce accidental traffic mixing and simplify path design, but it is not encryption and does not itself create redundancy. Multipath designs often use separate VLAN/subnet/failure domains per path to avoid common failures.

When to use this

Use it when the storage question has been narrowed to iSCSI → iSCSI VLAN. Preserve stable endpoint/LUN identity, separate connectivity from login/presentation, and prove each path plus the upper consumer before making disruptive SAN or iSCSI changes.

First 30 seconds

1. Put iSCSI on dedicated VLANs (one per path/fabric).

2. No default gateway needed on storage NICs.

3. Disable unnecessary protocols there.

4. QoS if shared links.

5. Keep it unrouted.

Operational verification

storage NIC → iSCSI VLAN → target

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

Correct VLAN membership shows Layer-2 segmentation, but it does not show portal reachability, CHAP, LUN mapping, encryption or path redundancy.

Suspicious evidence: native/tag mismatch, unexpected routing between storage networks, one VLAN missing, both paths share one switch/uplink, broadcast/congestion issues or VLAN treated as encryption.

Platform / version applicability
SAN and storage networking
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSAN and storage networking
Scope / prerequisiteUse it when the storage question has been narrowed to iSCSI → iSCSI VLAN. Preserve stable endpoint/LUN identity, separa…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

initiator NIC → access/tagged VLAN → Ethernet switching → target VLAN/interface → IP/TCP portal → iSCSI session

Healthy evidence: intended initiator/target interfaces share only the correct VLAN/subnet path, tagging and routing match design, congestion is controlled and sessions remain stable.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • iSCSI VLAN ≠ security boundary by itself.
  • VLAN configured ≠ tagging proven end to end.
  • Two VLANs ≠ two independent paths if they traverse the same physical failure domain.
  • Dedicated VLAN ≠ no congestion automatically.
Key checks
  • ip -d link show <nic> — VLAN interface
  • bridge vlan show / switch config — VLAN on ports
  • ip route get <portal> — path uses storage interface
ReferenceImportant terms & boundaries3 sections · depth on demand

Identity and presentation

Correct VLAN membership shows Layer-2 segmentation, but it does not show portal reachability, CHAP, LUN mapping, encryption or path redundancy.

In depth

Each iSCSI path on its own VLAN and subnet

A common iSCSI design uses two storage VLANs, one per switch, with each host NIC in one of them. Each path is then independent at layers 2 and 3. Multipath gets two real paths, and a fault on one switch or VLAN leaves the other untouched.

ip-link(8) documents VLAN interfaces (ip link add link DEVICE name NAME type vlan id VLANID) and setting the MTU (ip link set dev X mtu N).

# ip link add link ens2f0 name ens2f0.30 type vlan id 30
# ip link add link ens2f1 name ens2f1.31 type vlan id 31
# ip addr add 10.0.30.21/24 dev ens2f0.30
# ip addr add 10.0.31.21/24 dev ens2f1.31
# ip link set dev ens2f0.30 mtu 9000 up && ip link set dev ens2f1.31 mtu 9000 up
# iscsiadm -m discovery -t st -p 10.0.30.50
# ping -M do -s 8972 -I ens2f0.30 10.0.30.50

Layout

ItemPath APath B
VLAN3031
Subnet10.0.30.0/2410.0.31.0/24
Switchsw-stor-asw-stor-b
Host NICens2f0ens2f1
Target portctrl-A port 1ctrl-B port 1

Why separate subnets

With both NICs in one subnet, Linux may send traffic for both sessions out of one interface (ARP flux, routing by the first matching route). Two subnets make each session's path deterministic. If one subnet is unavoidable, the alternative is iSCSI interface binding (iscsiadm -m iface) with suitable ARP settings.

Checklist

  • Storage VLANs not routed and not shared with client traffic.
  • The switch ports for hosts and targets set to the right VLAN (access or tagged, consistently).
  • The same MTU on host, switches and target, verified with ping -M do.
  • No default gateway on the storage interfaces.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Put iSCSI on dedicated VLANs that are not routed: the protocol has no built-in encryption, and routing adds latency and a failure point. Use two VLANs/subnets (A and B) mapped to separate physical switches when possible, matching the dual-fabric idea from FC.

Switch settings worth checking: PortFast/edge on host and array ports, flow control as the array vendor recommends, storm control not triggering on storage bursts, and enough buffer on ports facing the array.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSAN and storage networking current

Authoritative/upstream documentation reviewed for bounded claims in iSCSI → iSCSI VLAN. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc7143 · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
iscsi vlanstorage vlandedicated iscsi network
Embedded reference data

Quick lookup tables

iSCSI → iSCSI VLAN SAN/iSCSI map

Fast identity, path, presentation and proof boundaries for iSCSI → iSCSI VLAN.

SAN/iSCSI boundaryWhat to verifyProof limit
Identity / presentationInitiator + target identity, portal/fabric path, LUN stable ID and mappingDiscovery or login alone does not prove correct storage ownership
Path / transportLink/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath groupingOne reachable path does not prove resilience or backend health
Failure boundaryCorrect VLAN membership proves Layer-2 segmentation; it does not prove portal reachability, CHAP, LUN mapping, encryption or path redundancy.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: intended initiator/target interfaces share only the correct VLAN/subnet path, tagging and routing match design, congestion is controlled and sessions remain stable.Close only after the original block workload and upper-layer consistency check succeeds
Confirmation

Confirm action

Continue?