Système Dcalculate, tune, understand

Switch, multicast, VLAN, QoS

The switch settings that make or break an audio network: broadcast and multicast, IGMP, VLANs, loops, QoS and energy saving.

15-minute lesson · Networking and audio over IP. In the app it ends with a three-level quiz and comes with the matching calculators.

Open the lesson

An office switch often copes with a few audio devices. But once the network grows or gets shared (lighting, video, Wi-Fi), you need a managed switch, set from a web page. Four ideas keep coming back: how you send (unicast or multicast), separation (VLANs), priority (QoS) and traps (loops, energy saving).

Unicast, multicast, broadcast

ModeDestinationsExample
UnicastOne deviceOne Dante flow from stagebox to console
MulticastDevices subscribed to a groupSame channels to FOH, monitors and record
BroadcastEvery device on the networkAddress lookup (ARP), discovery

IGMP: don’t flood

A dumb switch treats multicast like broadcast: out of every port. With many flows, small devices (and 100 Mbps ports) saturate. IGMP snooping lets the switch listen in on who subscribes to what and send the flow only there. One IGMP “querier” per network (usually the core switch) refreshes subscriptions regularly. Audinate notes that on an audio-only network with little multicast, this setting isn’t essential.

VLANs: several networks in one switch

A VLAN (IEEE 802.1Q) slices one switch into separate networks: audio-VLAN ports can’t see lighting-VLAN ports. Between two switches, one cable can carry several VLANs by “tagging” them (tagged, or trunk). That lets FOH and stage share one fibre without mixing traffic.

QoS: who goes first

When a link congests, the switch queues some packets. QoS (Quality of Service) reads a tag in each packet, the DSCP, and fast-tracks the urgent ones. For Dante, Audinate wants: PTP clock messages at DSCP 56 (CS7) first, audio at DSCP 46 (EF) next, the rest after, in strict priority. On an all-gigabit audio-only network QoS isn’t mandatory; it becomes so once the network is shared or 100 Mbps links remain.

PriorityTrafficDSCP
HighPTP clock (events)56 (CS7)
MediumAudio, PTP v246 (EF)
LowReserved8 (CS1)
NoneEverything else0

EEE: the power saving that kills audio

Energy-Efficient Ethernet (EEE, 802.3az, often “Green Ethernet”) naps the link between packets. For clocking, these micro-wakeups are catastrophic: wobbly sync and dropouts. Audinate wants it off on every port carrying Dante. Many unmanaged switches run it with no way to kill it: the top reason to pick a managed switch.

Loops

If two switches join by two cables, or a cable loops back to the same switch, a broadcast packet circles forever and multiplies: a broadcast storm, and the network is dead within seconds. Spanning Tree (STP, or faster RSTP) spots loops and cuts a path. In PA, the simple rule stands: never two paths between two switches, except configured link aggregation.

Sources

Continue

← Ethernet and IP: the basics · Dante in practice →