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.
iSCSI VLAN
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.
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.
storage NIC → iSCSI VLAN → target
Context & applicabilityCommon mistakes · platform/version boundaries
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
ip -d link show <nic>— VLAN interfacebridge vlan show / switch config— VLAN on portsip 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
| Item | Path A | Path B |
|---|---|---|
| VLAN | 30 | 31 |
| Subnet | 10.0.30.0/24 | 10.0.31.0/24 |
| Switch | sw-stor-a | sw-stor-b |
| Host NIC | ens2f0 | ens2f1 |
| Target port | ctrl-A port 1 | ctrl-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.
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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
iSCSI → iSCSI VLAN SAN/iSCSI map
Fast identity, path, presentation and proof boundaries for iSCSI → iSCSI VLAN.
| SAN/iSCSI boundary | What to verify | Proof limit |
|---|---|---|
| Identity / presentation | Initiator + target identity, portal/fabric path, LUN stable ID and mapping | Discovery or login alone does not prove correct storage ownership |
| Path / transport | Link/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath grouping | One reachable path does not prove resilience or backend health |
| Failure boundary | Correct 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 |
| Acceptance | 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. | Close only after the original block workload and upper-layer consistency check succeeds |