Use this when isolating storage traffic on its own VLAN.
VLAN
A storage VLAN isolates storage traffic on its own Layer 2 segment, often one VLAN per iSCSI path, keeping it separate from user traffic and limiting who can reach storage targets.
1. Storage VLANs isolate traffic.
2. One VLAN per fabric/path for iSCSI.
3. Tag consistently.
4. Don't route storage VLANs.
5. Restrict membership.
NIC → storage VLAN → target
Context & applicabilityCommon mistakes · platform/version boundaries
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 Common mistakes Narrow the fault
- Gateways on storage VLANs.
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.
- Often one VLAN per iSCSI path.
- Keeps storage off user networks.
- Tag consistently on all switches.
ip -d link show— VLAN interfacesbridge vlan show— bridge VLANsswitch: show vlan— ports per VLAN
ReferenceHow it works1 section · depth on demand
Reference
ip -d link show eth2.30
Get-NetAdapter | Get-NetAdapterAdvancedProperty -RegistryKeyword VlanID
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
A dedicated storage VLAN isolates storage traffic at layer 2
Putting iSCSI, NFS or Ceph traffic on its own VLAN separates it from client and management traffic. That lets you set MTU, QoS and access controls for storage alone.
ip-link(8) documents creating a VLAN interface: ip link add link DEVICE name NAME type vlan id VLANID. The protocol can be 802.1Q or 802.1ad.
# ip link add link ens2f0 name ens2f0.30 type vlan id 30
# ip addr add 10.0.30.21/24 dev ens2f0.30
# ip link set dev ens2f0.30 mtu 9000 up
# ip -d link show ens2f0.30 | grep vlan
vlan protocol 802.1Q id 30 <REORDER_HDR>
# nmcli con add type vlan con-name iscsi-a dev ens2f0 id 30 ip4 10.0.30.21/24 802-3-ethernet.mtu 9000
Typical storage VLAN layout
| VLAN | Purpose | Notes |
|---|---|---|
| 30 iSCSI-A | Path A to the array | Own subnet, no gateway needed |
| 31 iSCSI-B | Path B, separate switch | Independent fault domain |
| 40 NFS | NAS traffic | Export ACLs on this subnet only |
| 50 Ceph cluster | OSD replication | Separate from the Ceph public network |
Rules
- Use separate subnets per iSCSI path, so multipath uses both and traffic does not route through one link.
- Don't route storage VLANs unless required. Routing adds latency and a firewall can drop jumbo frames.
- Restrict access: storage VLANs should only reach storage ports, not the rest of the network.
- Tag consistently: an access port on one switch and a trunk on another is a classic cause of "the LUN works from one host only".
Troubleshooting
Check the VLAN ID on the host interface, the switch port mode (access or trunk, allowed VLANs) and the array port. tcpdump -e -i ens2f0 vlan 30 shows whether tagged frames arrive.
Documented example, not captured output.
How it works
Storage VLANs separate iSCSI, NFS or replication traffic logically on shared switches, usually with no routing so traffic stays in one Layer 2 domain.
Reference
Put iSCSI/NFS/Ceph on their own VLANs, ideally one per fabric (A/B) for iSCSI. Do not route storage VLANs unless required; keep gateways off them to prevent accidental routing.
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 Storage Networking → VLAN. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/storage_networking_primer · confidence 94%