Pcornel
Storage · Storage Networking

VLAN

Cheat sheet · https://pcornel.dk/topic.php?topic=4333

Back to the Topic

Answer

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.

Remember

  • Often one VLAN per iSCSI path.
  • Keeps storage off user networks.
  • Tag consistently on all switches.

First checks

  • ip -d link show — VLAN interfaces
  • bridge vlan show — bridge VLANs
  • switch: show vlan — ports per VLAN

Commands

ip link add link DEVICE name NAME type vlan id VLANID
tcpdump -e -i ens2f0 vlan 30

Verify in this order

NIC → storage VLAN → target

Where it usually breaks

First mismatch in initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4333

Confirmation

Confirm action

Continue?