← Course hubReboot AVAV Networking Intermediate — designed edition
Reboot AV

AV Networking Intermediate

Chapter 01

Introduction

There is a moment in this trade that everybody remembers. You have patched audio for years, you know what a bad cable sounds like, and one day the system arrives with a switch in the middle of it. The console talks to the stage box through that switch. So does the video. So does the control panel on the wall. And when it stops working, none of the things you know how to do are any help, because there is nothing to listen to and nothing to wiggle.

This book is about that switch. Not networking in general — there are better books for that, and one of them is cited throughout this one — but the specific, narrow, unglamorous set of things an AV technician has to be able to do to a network before a show will run through it. Build a VLAN. Read a subnet mask and know whether two devices can see each other. Turn on IGMP snooping and understand what you just did. Mark a stream so the switch protects it. Work out on paper whether a gigabit link is big enough. Prove the network empty, then put the AV on it.

It assumes Networking Basics: that you know what an IP address looks like, roughly what a switch is for, and that the internet involves packets. Everything past that is here.

Chapter 02

How to Use This Book

Read it in order the first time. It is built the way a network is: the wire, then the switch, then the addresses, then the traffic AV puts on it, then the day — configure, commission, run, fix, hand over.

Keep a notebook

For every network you work on, write down the subnet, the VLAN numbers and what each one is for, the switch management address, and the one setting you had to change from factory default. That last column is the valuable one. Switch defaults break AV in a small number of repeated ways, and your own list of them will be faster than any manual.

A note on the words

IT and AV use different words for the same things, and the gap causes real trouble in real meetings. A "port" is a physical socket on a switch to an AV technician and a numbered service to a network engineer, and both meanings appear in this book — the text says which. A "stream" is one flow of audio or video to us and any TCP connection to them. "Latency" to us is milliseconds of delay you can hear; to them it is often the round-trip time of a ping. Say which you mean and the conversation gets easier immediately.

A note on safety

Networking looks like the safe end of this trade and it is not, because of where the work happens. The switch is in a rack, and a rack has mains power in it: a loose IEC lead or a plate removed to reach a cable sits inches from live terminals, and reaching behind a powered rack in the dark is how people get hurt. Ceiling-mounted switches and access points mean ladder work, often alone, often over seating. And switches are heavier than they look — a loaded chassis is a two-person lift into a rack above shoulder height, however briefly.

The hazard specific to networked audio deserves naming on its own. A clock fault, a wrong gain structure or a sample-rate mismatch can put full-scale digital noise into a PA with no warning and no fade, and anybody wearing in-ears or standing in front of a wedge when it happens is at real risk of hearing damage. Mute the outputs before you change anything in the clock or routing of a live audio network, and tell the people on stage what you are about to do.

Practically: a switch carrying a show is not a place to practise. Every exercise in this book is written for a bench switch or a quiet window, and says so each time. The one-change-at-a-time rule in the troubleshooting chapter is not a style preference; it is what stops a diagnostic session from becoming an outage. Nothing here qualifies you to do electrical work.

Chapter 03

Why AV Runs on the Network Now

For most of this trade's history the cable was the system. One cable carried one signal from one box to one other box, and you could follow it with your hand. That is the thing that changed.

AV runs on networks — deeper than the basics.

What changed, and what did not

Audio, video and control have all moved onto the network, and they did it separately, for different reasons, over about twenty years. Audio went first because it is small: a channel of digital audio is about a megabit a second, and a gigabit link will carry hundreds of them, so replacing a 48-pair analogue snake with one cat cable was an obvious win. Control followed because control was already data. Video came last because video is enormous, and it only became practical when switches got cheap enough and codecs got good enough.

What did not change is the physics at either end. A microphone is still a microphone, a speaker still moves air, and a bad connector is still a bad connector. The network sits in the middle, and it is a shared resource rather than a signal path — which is the whole difficulty. A dedicated cable either works or does not. A shared network can work for everything except the one stream you care about, and it can do that intermittently, and the reason will be a setting rather than a fault.

So the skill this book teaches is not really networking. It is knowing which network settings matter to real-time media, and being able to check and change them.

The three things that now travel as packets

Audio. Dante is the one you will meet most, with AES67 as the interoperability layer between Dante and everything else, and AVB, CobraNet, EtherSound and Q-LAN still in service in installed systems. These are small, constant, and brutally sensitive to timing.

Video. NDI for production and contribution, SDVoE and the various proprietary AV-over-IP systems for matrix replacement, SMPTE ST 2110 for broadcast. These range from tens of megabits to several gigabits for a single feed, which is the widest spread of any traffic you will ever be asked to carry.

Control. Panels, processors, lighting over sACN or Art-Net, camera robotics, and every piece of monitoring software. Individually tiny. Collectively capable of filling a link with broadcast traffic if nobody segments it.

They have different needs and they often share one switch. That is the job.

The three kinds of AV trafficAudio, video and control as three traffic classes, with the size, sensitivity and risk of each, and the note that they usually share one switch.Three traffics, one switchwhat travelsThey have different needs and they often share one switch. That is the job.CLASSWHAT IT ISSIZEITS RISKAUDIODante, AES67, AVB, CobraNet, Q-LANsmall and constantvery sensitive to timingVIDEONDI, SDVoE, ST 2110tens of Mbit/s to Gbit/sthe widest spread of allCONTROLpanels, sACN, Art-Net, roboticsindividually tinyfloods an unsegmented linkWHAT THAT MEANS FOR THE SWITCHAudio needs priority and clock. Video needs capacity. Control needs keeping away from both.One switch has to serve all three, which is why segmentation and priority exist at all.Audio went first because it is small. Video came last because it is enormous.
FIG 3.1 Audio, video and control as three traffic classes, with the size and the risk of each.

How to do it

  1. Find the switch or switches and photograph the front panel, including the model number.
  2. Log in or ask for the configuration; if nobody can produce one, assume factory default.
  3. List what is plugged in, by department, and which of them is real-time media.
  4. Ask one question — is this network only AV, or does it carry the building too?
  5. Find out who owns it. If the answer is the IT department, nothing changes without them.
  6. Write down the management address of every switch before you need it in a hurry.

What goes wrong

SymptomLikely causeWhat to do
Audio works, video does not, both on the same switchVideo needs multicast handling or bandwidth that audio never asked forCheck IGMP snooping and the link speed before suspecting the video gear
Everything works until the room fills with peopleShared network with other traffic, or Wi-Fi clients flooding the segmentFind out what else is on the segment, and segment the AV off it
System works on the bench and not in the venueThe bench switch was unmanaged and permissive; the venue switch is configuredCompare the two configurations rather than the two sets of AV gear

Practice it

On any AV system you have access to that contains a network switch.

Practice it
01
List every device on it and mark which carry real-time audio or video.
Answer
Most systems turn out to have more control and monitoring devices than media devices.
02
Say for each whether it would still work if the link ran at 100 megabits.
Answer
Audio survives 100 megabits; most video does not, which is why the link speed matters first.
03
Find out who owns the switch and what would happen if you rebooted it.
Answer
On a shared network the answer is often "a great deal", which is the real lesson.
Field checklist
  • You know how many switches there are and where they are.
  • You know whether the network is AV-only or shared with the building.
  • You know who owns it and who can authorise a change.
  • You have the management address and credentials written down.
  • You know which devices on it are real-time media.
Chapter 04

The Layers, and Which One Broke

The layer model is taught as seven names to memorise and is useless in that form. Its actual value is as a running order for fault-finding: start at the bottom, and do not move up until the layer below is proved.

The four layers you will actually use

There are seven layers in the formal model and you will use four of them. Layer 1 is the physical cable and the light or electricity in it. Layer 2 is the frame, the MAC address, and the switch — everything that happens inside one network segment. Layer 3 is the IP address and the router — everything about getting between segments. Layer 4 is TCP and UDP, the two ways of carrying a conversation.

The remaining three — session, presentation, application — matter to software developers and almost never to you. If somebody insists on all seven, agree politely and carry on using four.

The useful fact about layer 4 is that real-time AV is almost always UDP. TCP guarantees delivery by asking for anything missing again, which is exactly wrong for audio: a packet that arrives late is worse than useless, because the moment it was for has passed. UDP just sends and does not look back. This is why a network problem makes AV click and stutter rather than slow down, and it is why you cannot fix AV packet loss by waiting.

Four layers you use, three you do notA stack of the seven OSI layers with the lower four picked out and named, the upper three greyed, and a note on why real-time AV uses UDP rather than TCP.Four of seven, bottom upthe stackIf somebody insists on all seven, agree politely and carry on using four.7Application6Presentationsoftware developers' business5Session4TransportTCP and UDP -- two ways to carry a conversation3NetworkIP addresses and the router -- between segments2Data linkframes, MAC, the switch -- one segment1Physicalthe cable, and the light or electricity in itNOT YOUR BUSINESSSession, presentationand application matterto software developersand almost neverto you.WHY UDP, NOT TCPTCP asks again foranything missing.For audio that is wrong:a late packet is worsethan useless.AV clicks, not slows.And you cannot fix AV packet loss by waiting.
FIG 4.1 The seven layers with the lower four named and the upper three greyed, and why AV uses UDP.
Layer one is a physical thing — copper on one side, glass on the other.
Layer one as an object you hold, where copper stops and glass begins.

Working up the layers

The order is not negotiable, because every layer depends on the one under it. A link light is layer 1. An address conflict is layer 3. If you start at layer 3 on a layer 1 problem, everything you find will be a true fact that explains nothing.

The question to ask at each layer is the same: can I prove this layer is working, with something I can see? Link light and a cable test for layer 1. A MAC address appearing in the switch's table for layer 2. A successful ping for layer 3. The stream actually arriving, in a packet capture, for layer 4.

Most AV network faults, in practice, are layer 1 or a configuration setting at layer 2. Very few are the exotic thing you were worried about.

LayerWhat lives thereHow you prove itWhat it looks like when broken
1 PhysicalCable, connector, optic, link speedLink light, cable tester, port statisticsNothing at all, or intermittent everything
2 Data linkFrames, MAC addresses, VLANs, the switchDevice appears in the MAC address tableDevice is invisible although the light is on
3 NetworkIP addresses, masks, the routerPing succeeds both waysSome devices reachable and others not
4 TransportTCP and UDP, port numbers, the streamPacket capture shows the flow arrivingEverything pings and no audio passes
The four layers and how to prove eachFour stacked rows, one per layer, giving what lives there, the evidence that proves it, and what it looks like when broken.Prove the layer below before going upfour layersEvery layer depends on the one under it, so the order is fixed.LAYERWHAT LIVES THEREHOW YOU PROVE ITBROKEN LOOKS LIKE1 Physicallayer 1Cable, optic, link speedLink light and a testerNothing, or intermittent all2 Data linklayer 2Frames, MAC, VLANs, switchMAC appears in the tableInvisible though light is on3 Networklayer 3IP addresses, mask, routerPing succeeds both waysSome reachable, some not4 Transportlayer 4TCP and UDP, the streamCapture shows it arrivingPings fine, no audio passesLayers 5 to 7 exist and almost never explain an AV fault.
FIG 4.4 The four layers you will use, the evidence that proves each, and what each looks like when it breaks.

How to do it

  1. Look at the link light on both ends. No light is layer 1 and nothing else matters yet.
  2. Check the port statistics for errors and for the negotiated speed.
  3. Look for the device's MAC address in the switch's address table.
  4. Ping the device from the same subnet; then ping it from another.
  5. If it pings and the media does not pass, capture packets at the receiver.
  6. Only now consider the AV application's own settings.

What goes wrong

SymptomLikely causeWhat to do
Link light on but the device is unreachableWrong VLAN on the port, or the device has an address in another subnetCheck the port's VLAN assignment first and the device's address second
Pings succeed but no audio or video arrivesThe stream is multicast and nothing is forwarding it to this portGo to the multicast chapter; this is the commonest version of this fault
Intermittent dropouts with a good link lightErrors at layer 1 — a marginal cable, a dirty optic, a duplex mismatchRead the port error counters; a light does not mean a clean link

Practice it

On a bench switch with two devices and a laptop.

Practice it
01
Prove each of layers 1 to 3 in turn and write down the evidence you used.
Answer
Evidence should be a light, a MAC address table entry, and a ping — in that order.
02
Unplug one device and note which layer's evidence disappears first.
Answer
Layer 1 goes first and everything above it follows, which is why you start there.
03
Put one device in the wrong subnet on purpose and see which layer fails.
Answer
Layers 1 and 2 stay healthy and only the ping fails, which is the signature of an addressing fault.
Field checklist
  • You can name the layer it is at.
  • You have evidence the layer below is working.
  • You can describe the fault without naming a brand.
  • You have changed nothing yet.
Chapter 05

Switches, VLANs and Trunks

A switch is a machine that learns. Everything it does that surprises you — including every multicast problem in this book — follows from what it has learned and what it has been told to do with traffic it does not recognise.

Segmenting and managing AV networks.

What a switch is doing

When a frame arrives, the switch reads the sender's MAC address and writes down which port it came from. That is the MAC address table, and it is the whole of a switch's intelligence. Then it reads the destination address, looks it up, and sends the frame out of that one port. If the destination is not in the table, it has no choice but to send the frame out of every port, which is called flooding.

Flooding is not a fault. It is the switch's honest answer to a question it cannot answer. But it means that traffic nobody asked for arrives everywhere, and when the traffic in question is a 3-gigabit video stream, everywhere is a problem.

An unmanaged switch does only this and cannot be told to do anything else. A managed switch does the same thing but lets you configure it: VLANs, QoS, multicast handling, port speeds, and the energy-saving features that will break your audio. Every decision in this book requires a managed switch. If the budget bought unmanaged, the budget decided the design.

Flooding against a learned MAC address tableTwo switches side by side: one with an empty address table sending a frame out of every port, one with a learned entry sending it out of a single port.An unknown destination goes everywherelayer 2Flooding is the switch's honest answer to a question it cannot answer.TABLE EMPTYswitchno entry for aa:bb123456788 of 8 ports carry itSeven devices receive trafficthey never asked forA 200 Mbit/s feed onall eight is 1.6 Gbit/sADDRESS LEARNEDswitchaa:bb -> port 3123456781 of 8 ports carries itSeven devices see nothingof it at allThis is what IGMPsnooping buys youUnicast learns by itself. Multicast only learns if snooping is enabled.
FIG 5.1 A switch with an empty address table sends the frame out of every port; one that has learned sends it out of one.
What the box at the centre of every chapter actually looks like.

VLANs — separating the AV traffic

A VLAN makes one physical switch behave as several separate switches. Ports in VLAN 10 can talk to each other and cannot talk to ports in VLAN 20 at all, even though they are inches apart in the same box. Getting between them needs a router.

The reason to do it is the broadcast domain. Some traffic goes to everybody by design — address resolution, discovery, announcements — and in one flat network every device hears all of it. Add enough devices and that background chatter becomes a measurable load, and more importantly, a single misbehaving device can flood the entire network. A VLAN draws a wall around that.

For AV the standard shape is simple and you should be able to draw it from memory: one VLAN for audio, one for video, one for control, one for management, and everything else somewhere else entirely. On a small job you may collapse audio and control together. You should almost never collapse video in with anything, because video is the traffic that will swamp its neighbours.

The standard AV VLAN plan on one switchOne switch drawn as a row of ports, coloured into four VLAN groups: audio, video, control and management, with a note on which may be collapsed together.Four VLANs is the standard AV shapeone switchPorts in different VLANs cannot talk to each other at all.ONE PHYSICAL SWITCHVLAN 10AudioDante, AES676 portsVLAN 20VideoNDI, AV-over-IP8 portsVLAN 30Controlpanels, sACN6 portsVLAN 99Managementthe switches2 portsMAY BE COLLAPSEDAudio and control, on a small jobwhere the control traffic is lightand the device count is lowNEVER COLLAPSEDVideo, with anything elseIt is the traffic that swampsits neighbours when it burstsVLAN numbers are a convention here, not a standard. Use what the site uses.
FIG 5.3 The standard AV VLAN shape on one switch, and which of the four may be collapsed together.

Access ports, trunks and tagging

A port carrying one VLAN is an access port. You set it to VLAN 10 and anything you plug in is in VLAN 10, knowing nothing about it. This is how every AV device connects, because AV devices almost never speak VLAN themselves.

A port carrying several VLANs is a trunk port. It is how two switches join, and how one cable carries audio, video and control between them. On a trunk, each frame gets a small tag added saying which VLAN it belongs to, so the switch at the far end can put it back in the right place. The tag is defined by IEEE 802.1Q, which is where the phrase "dot1q trunk" comes from.

Trunks are where VLAN plans go wrong, and the failure has a signature: everything works within each switch and nothing works between them. The cause is nearly always a VLAN that exists on one switch but was never allowed on the trunk. Allowing it is one line of configuration, and forgetting it costs an hour.

One more thing on a trunk: the native or untagged VLAN. A trunk carries one VLAN without a tag, and if the two ends disagree about which one that is, traffic silently lands in the wrong VLAN. Set it explicitly at both ends and write it down.

Access ports, a trunk, and the VLAN tagTwo switches joined by a trunk. Access ports on each side carry one VLAN untagged; the trunk between them carries three tagged VLANs and one untagged.A trunk tags each frame with its VLAN802.1QAn AV device knows nothing about VLANs. The port it plugs into does.SWITCH AVLAN 10access portVLAN 20access portVLAN 30access portSWITCH BVLAN 10access portVLAN 20access portVLAN 30access portTRUNKone cable, four VLANsVLAN 10taggedVLAN 20taggedVLAN 30taggedVLAN 1untaggedTHE COMMONEST VLAN FAULTA VLAN left off the trunk's allowed list: everything works within each switch, nothing works between them.The untagged VLAN must be set explicitly at both ends or traffic lands in the wrong one.
FIG 5.4 Access ports carrying one VLAN each, and the trunk between two switches carrying three tagged VLANs and one untagged.

How to do it

  1. Read the existing configuration and save a copy off the switch before changing anything.
  2. Create the VLAN with a number and a name that says what it is for.
  3. Assign the access ports the AV devices will use, and label the patch panel to match.
  4. If a second switch is involved, add the VLAN to the allowed list on the trunk at BOTH ends.
  5. Set the untagged VLAN explicitly on the trunk at both ends.
  6. Leave the management VLAN alone unless you are certain, because that is how you lose the switch.
  7. Test with two devices in the VLAN before any AV gear is connected.

What goes wrong

SymptomLikely causeWhat to do
Devices work on each switch but not between switchesThe VLAN was not added to the allowed list on the trunkAdd it at both ends; this is the single commonest VLAN fault there is
You configure the switch and lose your connection to itYou changed the port or VLAN your own laptop was reaching it throughConsole cable, or a reboot if the change was not saved — which is why you save last
Some traffic appears in the wrong VLANNative or untagged VLAN mismatch between the two ends of a trunkSet it explicitly at both ends rather than relying on defaults
A device gets no address and sees nothingIts port is in a different VLAN from the one you thinkCheck the port's actual VLAN assignment on the switch, not the label on the panel

Practice it

On a bench switch with two laptops. Not on a live system.

Practice it
01
Create two VLANs and put one laptop in each; confirm they cannot ping each other.
Answer
Separation should be total; if they can still ping, they are not really in different VLANs.
02
Move both into the same VLAN and confirm they can.
Answer
Same VLAN and same subnet is the condition for two devices to talk directly.
03
If you have two switches, trunk them and get one VLAN across, then deliberately leave the second VLAN off the trunk and observe the failure.
Answer
The second VLAN fails between switches while working within each, which is the fault signature to memorise.
Field checklist
  • It has a number and a name that says what it carries.
  • Every access port is assigned and the panel is labelled to match.
  • Every trunk it needs to cross allows it, at both ends.
  • The untagged VLAN on each trunk is set explicitly.
  • You tested it with two devices before the AV arrived.
  • The configuration is saved and a copy is off the switch.
Chapter 06

Addressing, Subnets and the Mask

Two AV devices will only talk to each other directly if they agree that they are on the same network. The mask is what decides that, and reading one at a glance is the most immediately useful skill in this book.

The address and the mask, read together

An IPv4 address is four numbers, each 0 to 255. On its own it tells you nothing about who it can talk to. The mask splits it into two parts: a network part, shared by everything on that segment, and a host part, unique to each device. Two devices can speak directly if and only if their network parts match.

A mask of 255.255.255.0 means the first three numbers are the network and the last is the host. So 192.168.10.40 and 192.168.10.95 are on the same network and will talk. 192.168.10.40 and 192.168.11.95 are not and will not — not without a router, no matter how short the cable between them is.

You will see the same thing written as /24, which is the count of bits in the network part. 255.255.255.0 is 24 bits, so /24. This is CIDR notation and it is how everybody writes it now, because it is shorter and because it handles the masks that do not land on a neat boundary.

Reading an address and a mask togetherThree addresses under a 255.255.255.0 mask, with the network part and host part separated, showing which two can communicate directly and which cannot.The mask decides who can talk directly/24Two devices talk directly if and only if their network parts match.MASK 255.255.255.0 = /24network parthost192.168.10.40OK192.168.10.95OK192.168.11.95NOSAME NETWORK PARTThe first two talk directly.No router needed.DIFFERENT NETWORK PARTThe third needs a router,however short the cable.This is the fault behind most "they are on the same switch and cannot see each other" calls.IPv4 under a /24. Longer and shorter masks split the boundary elsewhere.
FIG 6.1 Three addresses under a /24 mask, with the network part separated from the host part.

How many devices fit

The host part decides the size. With 8 host bits you get 256 combinations, minus two that are reserved — the all-zeros network address and the all-ones broadcast address — so 254 usable addresses. That is the arithmetic, and it is worth being able to do it in your head for the three or four masks you will actually meet.

CIDRMaskHost bitsUsable addressesWhere you meet it
/24255.255.255.08254The default for almost every AV network
/25255.255.255.1287126Splitting a /24 in two
/26255.255.255.192662A small control VLAN
/23255.255.254.09510A large video system that outgrew a /24
/16255.255.0.01665534Dante's default link-local range sits in here

The practical lesson is to size up. A /24 feels enormous when you are commissioning 40 devices and feels tight the second time the client adds a wall of screens. Changing a mask later means re-addressing everything, during a window nobody wants to give you.

Usable addresses by CIDR prefixFour horizontal bars, one per CIDR prefix, scaled to the number of usable host addresses each provides.Host bits decide how many devices fitusableTwo addresses are always reserved: the network and the broadcast.PREFIXMASKHOST BITSUSABLE/26a small control VLAN255.255.255.192662/25half a /24255.255.255.1287126/24the AV default255.255.255.08254/23a video system that grew255.255.254.09510Size up. Changing a mask later means re-addressing everything, in a window nobody wants to give you.Bars are to scale against the /23. Usable = 2^bits minus 2.
FIG 6.2 Usable addresses by CIDR prefix, scaled against each other, with the host bits that produce them.

Static, DHCP and link-local

AV devices arrive in one of three addressing moods and you will meet all three on the same job.

Static means you type the address into the device and it keeps it. This is what installed AV should use, because a device whose address never changes is a device you can find at 3 a.m. Keep a written addressing plan — a spreadsheet is fine — because the alternative is discovering a conflict by watching two devices fight.

DHCP means a server hands out addresses from a pool. Convenient, and correct for laptops and guest devices. The trap for AV is that a device's address can change after a power cut, and anything configured to point at the old address stops working. If you must use DHCP for AV, use reservations so each device always gets the same address.

Link-local is what a device gives itself when it is set to DHCP and finds no server: an address in 169.254.x.x. This matters enormously in audio, because Dante devices default to it and a Dante system will happily run on link-local addresses with no DHCP server at all. It is also the thing to recognise when a device "has no network" — a 169.254 address means the device is fine and the DHCP server is absent.

One detail of link-local is worth knowing because it explains behaviour that otherwise looks like a fault. The scheme is specified in RFC 3927, and a device picking a link-local address does not just take one: it probes first, announces, and then DEFENDS the address with ARP if anything else claims it. So two devices cannot quietly end up on the same link-local address — one of them will give way and choose again. The timing is fixed rather than configurable, and the consequence for you is that a link-local system takes a few seconds to settle after power-up and should then be stable. A link-local address that keeps changing is a real fault, not the protocol working.

The three addressing moodsStatic, DHCP and link-local addressing compared by what each is, where it belongs and the trap it carries.Three moods, all on one jobaddressingAV devices arrive in one of three, and you will meet all three on the same job.STATICyou type it in and it keeps itright for installed AVTHE TRAPneeds a written plan or you get conflictsDHCPa server hands it out from a poolright for laptops and guestsTHE TRAPthe address can change after a power cutLINK-LOCALgives itself 169.254.x.xright for Dante, by defaultTHE TRAPlooks like 'no network' and is notA 169.254 address means the device is fine and the DHCP server is absent.If you must use DHCP for AV, use reservations so the address never moves.
FIG 6.3 Static, DHCP and link-local addressing, with where each belongs and the trap each carries.

Finding each other by name

AV devices rarely ask you for the address of the thing they are talking to. They find each other, and the mechanism is usually mDNS — multicast DNS, the same thing that makes printers appear on a laptop. Dante Controller, NDI sources and most control systems all use some form of it.

Two consequences follow, and both cause real jobs to fail. First, discovery is multicast, so a switch that handles multicast badly breaks discovery even when the media itself would have worked. Second, discovery does not cross a router. Devices in different VLANs will not see each other in the browser list even though they could exchange packets perfectly well if you typed the address in by hand. That is not a fault; it is what a VLAN is for. When somebody wants discovery across VLANs, the answer is a specific piece of configuration on the router, and the honest thing to say is that it needs designing rather than switching on.

How to do it

  1. Decide the subnet for each VLAN and write the CIDR, not just the mask.
  2. Reserve the first few addresses for infrastructure — router, switches, servers.
  3. Give each class of AV device a block, in order, with gaps for growth.
  4. Leave a DHCP range at the top for laptops and anything temporary.
  5. Count what you have assigned and check it against the usable total.
  6. Put the plan somewhere the next technician will find it, not only on your laptop.

What goes wrong

SymptomLikely causeWhat to do
Two devices on the same switch cannot reach each otherDifferent network part — check the mask, not just the addressCompare both addresses under both masks; one is almost always wrong
A device shows 169.254.something and claims no networkSet to DHCP with no DHCP server presentEither provide a server or set it static; the device itself is fine
A device vanished after a power cutDHCP without a reservation; it came back on a different addressReserve it, or make it static, and update the addressing plan
Devices ping fine but do not appear in the control softwareDiscovery is multicast and does not cross VLANs or survive bad snoopingConfirm they are in the same VLAN, then check multicast handling
Intermittent total failure of two specific devicesDuplicate address — two devices configured the sameUnplug one and see if the other becomes stable; then fix the plan

Practice it

On paper first, then on a bench.

Practice it
01
For 192.168.4.70/26, say the usable range and whether 192.168.4.130 is in it.
Answer
A /26 holds 62 usable; 192.168.4.70 sits in the 64-to-127 block, so 192.168.4.130 is in a different one and will not talk to it.
02
Size a subnet for 90 devices with room to double, and say which CIDR you chose.
Answer
90 doubled is 180, which fits inside a /24's 254 usable with room to spare — a /24 is the right answer, and a /23 (510) if the client has a history of growing.
03
Set a laptop to DHCP on a network with no server and read the address it gives itself.
Answer
It will be 169.254.x.x, which is the signature of absent DHCP rather than a broken device.
Field checklist
  • Every VLAN has a written subnet in CIDR notation.
  • Every static device is in the plan, with its address.
  • Nothing in the AV system relies on DHCP without a reservation.
  • You have counted the addresses and have room to grow.
  • You know which devices rely on discovery and that they share a VLAN.
Chapter 07

Multicast and IGMP Snooping

This chapter is the one that pays for the book. More AV-over-IP systems fail on multicast than on anything else, the failure is dramatic, and the cause is almost always one setting that nobody turned on.

One sender, many receivers

Receiver
Receiver

There are three ways to address traffic. Unicast is one sender to one receiver: the sender makes a separate copy for each. Broadcast is one sender to everybody on the segment. Multicast is one sender to a group of interested receivers, and only the interested ones.

For AV the difference is money. Say one camera feed is 200 megabits. By unicast, sending it to eight screens means the source transmits eight copies — 1.6 gigabits out of one port, which a gigabit link cannot do. By multicast the source transmits one copy, the switch duplicates it only on the ports that asked, and eight screens cost the same 200 megabits leaving the source as one does. That is why every serious AV-over-IP system uses multicast.

A multicast group is identified by an address in the range 224.0.0.0 to 239.255.255.255. Receivers do not connect to the sender; they ask the network to join a group, and the network's job is to get the traffic to them.

Unicast against multicast for eight receiversLeft: a source sending eight separate unicast copies of a 200 megabit feed, totalling 1.6 gigabits. Right: one multicast copy duplicated by the switch, totalling 200 megabits at the source.Eight receivers cost one stream200 Mbit/sThe arithmetic is why every serious AV-over-IP system uses multicast.UNICASTsource8 copiesleaves the sourcescreen 1screen 2screen 3screen 4screen 5screen 6screen 7screen 81.6 Gbit/sMULTICASTsource1 copyleaves the sourcescreen 1screen 2screen 3screen 4screen 5screen 6screen 7screen 8200 Mbit/sA gigabit link cannot carry eight unicast copies of one 200 Mbit/s feed. It carries the multicast version five times over.200 Mbit/s is an illustrative lightly compressed feed. Use the product's figure.
FIG 7.1 Eight unicast copies of a 200 megabit feed against one multicast copy the switch duplicates.

The address trap nobody warns you about

A multicast IP address gets mapped onto a multicast MAC address so the switch can handle it at layer 2, and the mapping only carries the low 23 bits of the IP address. The address has 28 bits that can vary. So 32 different multicast groups map to the same MAC address.

This is not academic. Two streams whose addresses differ only in a high bit — 239.1.1.1 and 239.129.1.1, for instance — look identical to the switch's layer-2 machinery, and a receiver that joins one gets both. On a system with many streams this shows up as mysterious extra load and occasional video appearing where it should not.

The practical defence is to keep every multicast address in a system inside one narrow block, and to let the AV system allocate addresses itself where it offers to. Most do, and they do it correctly.

IGMP, the querier, and snooping

IGMP is the protocol a receiver uses to say "I want group 239.1.1.5". It is defined in RFC 3376 for version 3, and the mechanism is a conversation: a router or switch acting as the querier sends out periodic General Queries asking who still wants what, and receivers answer with Membership Reports.

IGMP snooping is the switch listening in on that conversation. Without it, the switch sees multicast as traffic it does not recognise and floods it out of every port — which means your 3-gigabit video stream arrives at the control panel, the audio DSP and the laptop, and the network collapses. With snooping on, the switch builds a table of which ports asked for which group and forwards accordingly.

There is a version trap worth knowing precisely, because the usual advice is too vague to act on. RFC 4541, which is the recommendation for how snooping switches should behave, describes the specific case: an IGMPv3 router with an IGMPv2 snooping switch between it and the hosts. The router keeps running v3 even when the hosts are v2, so the network never settles on v2 — and a v2 snooping switch will not recognise the v3 membership reports it is seeing. The groups in those unrecognised reports then get either flooded or pruned, which is to say your video goes everywhere or nowhere.

The RFC's recommendation is concrete and it is the thing to ask for: configure the multicast router to use IGMPv2. If that is not possible and the switch cannot process v3 reports, the RFC says to disable the switch's snooping altogether, because there is no clean answer — which is a case where turning snooping OFF is the correct engineering decision rather than a failure. Knowing that exists stops you fighting a switch that was never going to win.

The part that catches people is that snooping needs a querier. If nothing on the segment is sending queries, receivers eventually stop reporting, the switch's table empties, and it goes back to flooding — or worse, stops forwarding altogether. On an AV-only network with no router there is often no querier at all, so you have to enable one on a switch. Exactly one. Two queriers on a segment elect a winner, and the election is one more thing to go wrong.

The IGMP timers, and why a stream keeps arriving

Defaults from Section 8 of RFC 3376, the IGMPv3 specification. These are configurable, and the RFC is explicit that if you change them they must be consistent on every system on the link — a mismatched timer is worse than a slow one.

Timer or counterDefaultWhat it governs
Robustness Variable2How many lost packets the protocol tolerates; must not be zero and should not be one
Query Interval125 secondsHow often the querier asks who still wants what
Query Response Interval10 secondsHow long receivers have to answer; spreads the replies out so they do not all arrive at once
Group Membership Interval260 secondsRobustness times Query Interval plus one Query Response Interval — how long before a router decides a group has no members left
Other Querier Present Interval255 secondsRobustness times Query Interval plus half a Query Response Interval — how long before a switch decides the other querier has gone
Startup Query IntervalAbout 31 secondsA quarter of the Query Interval; queries are sent faster just after startup
Startup Query Count2Equal to the Robustness Variable
Last Member Query Interval1 secondUsed in the queries sent after a Leave message
Last Member Query Count2Equal to the Robustness Variable; sets how many times it asks before giving up

Read the Group Membership Interval line again, because it explains a fault that gets blamed on hardware every week. Two times 125 plus 10 is 260 seconds. If a receiver disappears without sending a Leave — somebody pulled the cable, or the device crashed — the network can keep forwarding that stream for over four minutes. On a busy video system that is four minutes of bandwidth spent on nobody, and if several receivers went at once it is enough to break everything still running. The trade calls this leave latency, and a ghost stream nobody is watching is what it looks like from the outside. It is why Leave processing matters: a receiver that sends a Leave is dropped after the last-member queries, about two seconds at the defaults, while one that simply vanishes waits out the full Group Membership Interval. If streams must stop sooner after a crash or a pulled cable, it is the Query Interval that has to come down, on every system on the link.

IGMP leave latency with default timersA timeline from zero to three hundred seconds showing a receiver disappearing without a Leave, the querier's general queries at 125 second intervals, and the group being dropped at 260 seconds.A stream outlives its receiverRFC 3376Group Membership Interval = Robustness 2 x Query 125 s + Response 10 s.0s50s100s150s200s250s300sstill being forwarded to nobodyreceiver gone,no Leave sentqueryquerygroup droppedat 260 sDEFAULTS, RFC 3376 SECTION 8Robustness Variable2Query Interval125 sQuery Response Interval10 sGroup Membership Interval260 sLast Member Query Interval1 sWHAT IT COSTSFour minutes of bandwidthspent on a receiver that isno longer there. Shorten theLast Member Query Intervalif streams must stop promptly.Defaults only. The RFC requires changed timers to match on every system on the link.
FIG 7.2 A receiver disappearing without a Leave, and the 260 seconds the network keeps forwarding its stream.

How to do it

  1. Enable IGMP snooping globally, and then per VLAN if the switch asks separately.
  2. Find out whether anything on the segment is already a querier — a router usually is.
  3. If nothing is, enable the querier on exactly one switch, and write down which.
  4. Check the IGMP version; mixing versions on one segment causes the protocol to fall back.
  5. Bring up one source and one receiver and confirm the stream arrives.
  6. Confirm it does NOT arrive at a third port that never asked for it. That is the actual test.
  7. Add receivers one at a time and watch the switch's multicast table grow.

What goes wrong

SymptomLikely causeWhat to do
Video appears everywhere and the whole network falls overIGMP snooping off, so multicast is being flooded to every portTurn snooping on; this is the single commonest AV-over-IP failure
Works for a few minutes after a reboot and then stopsSnooping is on but there is no querier, so the table ages outEnable a querier on one switch
Works intermittently with periods of exactly a few minutesTwo queriers on the segment, or a querier election flappingFind both and disable one; there must be exactly one
A stream keeps arriving long after its receiver went awayNormal leave latency — a receiver that vanished without sending a Leave is timed out by the 260-second Group Membership IntervalNothing is broken; have receivers leave cleanly, or shorten the Query Interval on every system if it matters
One receiver gets a stream it never asked forTwo groups mapping to the same multicast MAC addressMove the streams into one narrow address block so the low bits differ

Practice it

On a bench switch with one multicast source and two receivers. Never on a live show network.

Practice it
01
With snooping off, watch the traffic on a port that asked for nothing.
Answer
With snooping off the stream is on every port, which is flooding, and it is what brings networks down.
02
Turn snooping on and watch the same port go quiet.
Answer
With snooping on, a port that did not join should see nothing of the stream.
03
Pull a receiver's cable without stopping it cleanly and time how long the stream keeps being forwarded.
Answer
Expect something in the region of four minutes with default timers, which is the 260-second Group Membership Interval doing exactly what it is specified to do.
Field checklist
  • IGMP snooping is enabled globally and on the AV VLAN.
  • Exactly one querier exists on the segment and you know which device it is.
  • The IGMP version is consistent across the segment.
  • A port that did not join receives none of the stream.
  • Multicast addresses all sit inside one narrow block.
  • You know the leave behaviour is slow by design, not broken.
Chapter 08

QoS — Deciding What Gets Dropped

Quality of Service does not create bandwidth. It decides who suffers when there is not enough. Readers who expect the first thing are disappointed; readers who understand the second thing design better networks.

What QoS actually does

A switch port has a queue. When traffic arrives faster than the port can send it, the queue fills, and when the queue is full the switch drops something. Without QoS, what it drops is whatever arrived when the queue was full — which might be your audio.

QoS gives the switch several queues and rules about which to serve first. Traffic is marked, the switch sorts marked traffic into the right queue, and the important queue is emptied before the others. When the link is congested, the unimportant traffic is what gets dropped.

Two things follow. First, QoS does nothing on an uncongested link — if there is capacity for everything, every queue drains and the markings never matter. Second, QoS is only as good as the weakest hop: marking traffic at the source is pointless if the switch in the middle ignores markings, which is the default on a great many switches. QoS is an end-to-end agreement or it is nothing.

So the honest summary is this. If your link is congested, QoS decides what survives, and you want that decision made deliberately. If your link is not congested, QoS is insurance. Either way it is worth configuring, and either way it is not a substitute for a big enough link.

Marking, and what the marks mean

The mark is six bits in the IP header called the DSCP — the Differentiated Services Code Point. Six bits gives 64 values, and the industry agreed on which values mean what so that equipment from different vendors can interoperate. That agreement is RFC 4594, and it is worth knowing that it exists, because it is the answer to "why that number and not another one".

The mechanism under the mark is the Per-Hop Behavior: what each switch along the way promises to do with traffic carrying that mark. Expedited Forwarding means serve it first, with a strict limit on how much of it you accept. Assured Forwarding means give it a guaranteed share with several drop priorities inside. Class Selector values are the older, simpler scheme that just says "more important than the one below". Default Forwarding is everything nobody marked.

Two of these matter most to AV, and they are worth separating. Audio and clock want to be served first, every time, with no exceptions — that is Expedited Forwarding territory. Video wants a large guaranteed share but can tolerate being queued behind a packet of clock, because one frame of video late is a glitch and one packet of clock late is a system-wide fault. Getting that priority order the right way round is the single most important QoS decision in AV, and it is the one people get backwards because video is the thing you can see.

Queue order on a congested portFour queues feeding one congested switch port, in priority order from clock down to bulk data, showing that the lowest queue is what gets dropped.Clock first, then audio, then videoDSCPQoS creates no bandwidth. It decides what is dropped when there is not enough.Clockserved first, alwaysPTPAudiolow latency, no exceptionsEFVideoa large guaranteed shareCS3Everything elsedropped when the port is fullDFdroppedONE CONGESTED PORTThe queue is full.Something has to go.Without QoS it iswhatever arrived last,which might be audio.With QoS you chose.QoS IS END TO END OR IT IS NOTHINGOne switch on the path that ignores markings undoes every other switch's configuration.DSCP names from RFC 4594. Clock above media is the ordering AV adds.
FIG 8.1 Four queues feeding one congested port, in priority order, and which one gets dropped.

The DSCP values, and which service class AV traffic belongs in

Figure 3 of RFC 4594, the IETF's Configuration Guidelines for DiffServ Service Classes. The RFC expects administrators to start with three or four classes and add more only as the need arises, so an AV network typically uses a handful of these rather than all twelve.

Service classDSCP nameDSCP valueApplication examples given
Network ControlCS6110000Network routing
TelephonyEF101110IP telephony bearer
SignalingCS5101000IP telephony signaling
Multimedia ConferencingAF41, AF42, AF43100010, 100100, 100110H.323/V2 video conferencing (adaptive)
Real-Time InteractiveCS4100000Video conferencing and interactive gaming
Multimedia StreamingAF31, AF32, AF33011010, 011100, 011110Streaming video and audio on demand
Broadcast VideoCS3011000Broadcast TV and live events
Low-Latency DataAF21, AF22, AF23010010, 010100, 010110Client/server transactions, web-based ordering
OAMCS2010000Operations administration and maintenance
High-Throughput DataAF11, AF12, AF13001010, 001100, 001110Store and forward applications
StandardDF or CS0000000Undifferentiated applications
Low-Priority DataCS1001000Any flow with no bandwidth assurance

Three rows are the ones to recognise on an AV job. Broadcast Video at CS3 is where a live video feed belongs — the RFC names broadcast TV and live events explicitly. Real-Time Interactive at CS4 is for two-way video where delay is intolerable. Expedited Forwarding at EF is defined for telephony bearer traffic, which is the closest thing in the RFC to low-latency production audio, and it is why networked audio systems commonly mark their media EF and their clock higher still. What matters is less which exact value you pick than that every switch on the path agrees, and that clock is never below media.

The DSCP values, as numbersThe twelve DiffServ service classes with their DSCP names and six-bit values, with the three an AV job uses picked out.Twelve classes. You use three.RFC 4594The RFC expects you to start with three or four and add more only as the need arises.SERVICE CLASSDSCPVALUEON AN AV JOBNetwork ControlCS6110000TelephonyEF101110closest to production audioSignalingCS5101000Multimedia ConferencingAF41-43100010+Real-Time InteractiveCS4100000two-way videoMultimedia StreamingAF31-33011010+Broadcast VideoCS3011000live video feedsLow-Latency DataAF21-23010010+OAMCS2010000High-Throughput DataAF11-13001010+StandardDF / CS0000000Low-Priority DataCS1001000Values from Figure 3 of RFC 4594. What matters most is that every switch agrees.
FIG 8.2 The twelve DiffServ service classes with their DSCP names and values, and the three an AV job uses.

How to do it

  1. Find out what the AV equipment already marks its traffic as; most networked audio marks it for you.
  2. Decide the order — clock first, then media, then control, then everything else.
  3. Configure the switch to trust the markings coming in on AV ports.
  4. Map each marking to a queue, with the clock and audio queue served strictly first.
  5. Do the same on every switch on the path, because one that ignores markings undoes the rest.
  6. Verify under load, not on a quiet network, because a quiet network cannot show you a difference.

What goes wrong

SymptomLikely causeWhat to do
QoS configured and it made no differenceThe link was never congested, so no queue ever filledNothing to fix; it is insurance, and the test needs real load to show anything
Audio glitches only when a large file copy is runningMarkings not trusted, or no priority queue, so audio waits behind bulk dataTrust the AV ports' markings and give audio a strictly prioritised queue
Audio is clean until video is added, then both sufferVideo marked equal to or above audio and clockRe-order the queues; clock and audio above video, always
QoS works on one switch and not through the nextThe second switch is clearing or ignoring the markingsConfigure it to trust and honour them; QoS is end to end or it is nothing

Practice it

On a bench with one audio stream and a way to generate bulk traffic.

Practice it
01
Run the audio and confirm it is clean on an idle link.
Answer
On an idle link audio is clean with or without QoS, which is the point about congestion.
02
Saturate the link with a large file transfer and listen to what happens.
Answer
Without QoS the audio will click or drop as its packets queue behind the transfer.
03
Configure a priority queue for the audio markings and repeat.
Answer
With the priority queue the audio should survive and the file transfer should slow down, which is QoS working exactly as designed.
Field checklist
  • You know what the AV gear marks its own traffic as.
  • The switch trusts those markings on AV ports.
  • Clock is prioritised above media and media above everything else.
  • Every switch on the path is configured the same way.
  • You tested it with the link genuinely congested.
Chapter 09

Clock and Timing on the Network

Networked audio fails on clock long before it fails on bandwidth. A system with a tenth of the traffic it can carry will still be unusable if the clock is wrong, and this is the part of AV networking that has no analogue in general IT.

Why clock is a network problem now

Digital audio is a sequence of samples taken at a fixed rate, and playback has to use the same rate the recording used. In an analogue world this was handled by a word clock cable. Once audio travels as packets over a shared network, there is no clock cable — so the clock has to travel as packets too, and arrive accurately enough that devices kilometres of cable apart agree on when a sample happens, to within microseconds.

The protocol that does this is PTP, the Precision Time Protocol, IEEE 1588. One device is elected the grandmaster and everything else follows it. The election is automatic, based on advertised quality, and the important practical fact is that it happens whether you planned it or not: plug in a network of audio devices and one of them becomes the clock.

AES67 uses PTP version 2. Dante has historically used version 1 and moved to supporting version 2 for AES67 interoperability, which is why a mixed system can need both running and why interoperability questions so often turn out to be clock questions. When you join two networked audio systems together, the first thing to establish is which one is the clock and whether they are speaking the same version of PTP.

That clock on an AV network is a device somebody specified, not a setting.

What you do about it

Three decisions, and then mostly you leave it alone.

First, choose the grandmaster deliberately. Let the system elect one and it will usually pick something sensible, but "usually" is not a design. Pick a device that is always powered, centrally placed in the network, and ideally one built for the job. Set its priority so it wins the election, and set a second device to be the next-best so there is a fallback.

Second, give the clock the highest priority on the network. Clock packets are tiny and infrequent and the cost of prioritising them is nothing. The cost of not doing it is a system that works until the network gets busy and then drifts.

Third, keep the path short and consistent. Every switch a clock packet crosses adds a little uncertainty, and a packet that takes a different route each time is worse than one that takes a long route every time. This is one of the reasons AV networks are built flat and simple rather than clever.

The symptom of clock trouble is distinctive once you have heard it: not clicks from lost packets but a slow ticking, a periodic artefact, or audio that drifts out of sync with video over minutes. If somebody describes that, stop looking at bandwidth.

How to do it

  1. Open the control software and find which device is currently grandmaster.
  2. Decide which device should be, on grounds of always-powered and central.
  3. Set its clock priority so it wins, and nominate a second as backup.
  4. Check every device agrees on the same PTP version.
  5. Give clock traffic the top priority queue on every switch.
  6. Watch the system for a few minutes and confirm no device is re-electing.

What goes wrong

SymptomLikely causeWhat to do
Periodic ticking or clicking across the whole systemClock drift or two devices contesting grandmasterCheck which device is grandmaster and whether it is changing
Audio drifts out of sync with video over several minutesTwo clock domains, or a device following a different grandmasterConfirm one grandmaster for the whole system
Two audio systems joined together and neither is stableDifferent PTP versions, or each system still electing its own masterEstablish one clock for the joined system before looking at anything else
Clock is stable until the network gets busyClock packets queued behind media because they were not prioritisedPut clock in the top queue on every switch on the path

Practice it

On any networked audio system with control software you can see.

Practice it
01
Identify the current grandmaster and write down why that device won.
Answer
It won on advertised priority and quality, which is usually the device the manufacturer intended.
02
Power it down and watch what becomes grandmaster and how long it takes.
Answer
Re-election takes seconds and is audible; this is why the backup should be chosen rather than discovered.
03
Say what would have happened if that device had been the one carrying the show.
Answer
A re-election mid-show is a brief system-wide artefact, which is the argument for nominating a grandmaster deliberately.
Field checklist
  • You know which device is grandmaster and chose it on purpose.
  • A second device is nominated as the fallback.
  • Every device uses the same PTP version.
  • Clock has the top priority queue on every switch.
  • The grandmaster has not changed while you watched.
Chapter 10

Bandwidth and the Arithmetic

You can size an AV network on paper in two minutes, and the arithmetic is multiplication. Doing it before the truck arrives is what separates a design from a hope.

Audio, which is small

One channel of digital audio is the sample rate times the bit depth. At 48 kHz and 24 bits that is 48,000 times 24, which is 1,152,000 bits per second — call it 1.15 megabits for the payload. Packet headers add to that, and how much depends on how many samples you put in each packet: low-latency settings send smaller packets more often, so the overhead fraction goes up. A working rule is to allow around 1.5 megabits per channel and you will not be far wrong.

So 64 channels is roughly 96 megabits. A gigabit link carries that several times over without noticing. Even a 256-channel system is around 400 megabits, which fits.

Channels at 48 kHz 24-bitPayloadWith overhead allowanceShare of a gigabit link
89.2 Mbit/sAbout 12 Mbit/sAbout 1 per cent
1618.4 Mbit/sAbout 24 Mbit/sAbout 2 per cent
6473.7 Mbit/sAbout 96 Mbit/sAbout 10 per cent
128147 Mbit/sAbout 192 Mbit/sAbout 19 per cent
256295 Mbit/sAbout 384 Mbit/sAbout 38 per cent

The conclusion is worth saying plainly, because it corrects an instinct: networked audio almost never runs out of bandwidth. When networked audio fails it is clock, or multicast, or a switch setting — not capacity. Do the arithmetic once so you can stop suspecting it.

Audio almost never fills the linkChannel counts of 48 kHz 24-bit audio against the capacity of a gigabit link, from 8 channels to 256.256 channels is a third of a link48k / 24-bit48,000 times 24 is 1.15 Mbit/s a channel. Allow 1.5 with overhead and you will not be far wrong.CHANNELSPAYLOADWITH OVERHEADSHARE OF A GIGABIT LINK89.2 Mbit/sabout 12 Mbit/s1%1618.4 Mbit/sabout 24 Mbit/s2%6473.7 Mbit/sabout 96 Mbit/s10%128147 Mbit/sabout 192 Mbit/s19%256295 Mbit/sabout 384 Mbit/s38%When networked audio fails it is clock, or multicast, or a switch setting -- not capacity.Dashed line is the gigabit link. Do the arithmetic once and stop suspecting it.
FIG 10.1 Channel counts of 48 kHz 24-bit audio against the capacity of a gigabit link.

Video, which is not

Uncompressed video is the pixel count times the frame rate times the bits per pixel. For 1080p60 at 4:2:2 and 10 bits, that is 20 bits per pixel: 1920 times 1080 times 60 times 20 comes to about 2.49 gigabits per second. One feed. A gigabit link cannot carry even half of it.

For 2160p60 — UHD — at the same sampling, 3840 times 2160 times 60 times 20 is about 9.95 gigabits. This is why uncompressed IP video lives on 10-gigabit and 25-gigabit infrastructure, and why a conversation about ST 2110 is always also a conversation about a different class of switch.

Compression changes the picture entirely. Lightly compressed systems aimed at matrix replacement typically run in the hundreds of megabits, which fits on gigabit. Heavily compressed streaming runs in the single digits of megabits and will cross a normal corporate network. The trade is latency and quality: the lighter the compression, the lower the delay and the bigger the pipe.

FormatArithmeticApproximate rateWhat it needs
1080p60, 4:2:2, 10-bit uncompressed1920 x 1080 x 60 x 20 bitsAbout 2.5 Gbit/s10-gigabit infrastructure
2160p60, 4:2:2, 10-bit uncompressed3840 x 2160 x 60 x 20 bitsAbout 10 Gbit/s25-gigabit or multiple 10-gigabit links
Lightly compressed 1080p60Vendor dependentHundreds of Mbit/sGigabit, with care over the total
Heavily compressed 1080p60Vendor dependentSingle-digit Mbit/sAlmost any network, at the cost of delay

Two warnings about this table. The compressed rows are deliberately vague because they depend entirely on the product, and the number you must use is the one in that product's documentation rather than anything here. And every figure is per feed — the arithmetic that actually matters is the total across the busiest link, which is the next thing.

Bandwidth per feed against link capacityFour horizontal bars on a logarithmic-feeling scale comparing 64 channels of audio, compressed and uncompressed 1080p60, and uncompressed UHD, with the gigabit and ten-gigabit link capacities marked.Audio never fills the link. Video does.per feed48 kHz 24-bit audio; 4:2:2 10-bit video. Arithmetic, not a citation.64 channels of audio48000 x 24 x 6496 Mbit/sfits1080p60 compressedvendor dependent300 Mbit/sfits1080p60 uncompressed1920 x 1080 x 60 x 202.49 Gbit/sneeds 10G2160p60 uncompressed3840 x 2160 x 60 x 209.95 Gbit/sneeds 25G1 Gbit/s link10 Gbit/s linkBars are logarithmic.Compressed figures vary entirely by product. Use the documentation, not this drawing.
FIG 10.2 Bandwidth per feed for audio and for video, compressed and uncompressed, against the gigabit and ten-gigabit links.

Adding it up across the busiest link

Bandwidth faults do not happen at devices. They happen at the one link everything has to cross: the trunk between two switches, or the uplink out of a rack. The design question is always the same — what is the total of everything that must cross this one cable at the worst moment?

Work it out for the busiest link and then leave headroom. Running a link above about 70 per cent of its rated speed is where queuing delay starts to become visible on real-time traffic, and a link planned at 95 per cent is a link that fails the first time somebody adds a camera.

Multicast changes this arithmetic in one important way, which is worth being precise about. A multicast stream crosses a trunk once no matter how many receivers are on the far side. So the total across a trunk is the sum of the distinct streams that need to cross it, not the sum of what every receiver consumes. This is the single biggest reason AV-over-IP designs work at all, and the reason unicast designs stop scaling at about four receivers.

The one link everything has to cross, as a physical object.

How to do it

  1. Draw the network and mark every link that carries traffic between groups of devices.
  2. For each link, list the distinct streams that must cross it in either direction.
  3. Multiply out each stream from the manufacturer's figure, not from memory.
  4. Total them per link and compare against 70 per cent of the link speed.
  5. If any link fails, the answer is a faster link, a second link, or moving a device.
  6. Write the totals down; you will be asked to justify the switch specification.

What goes wrong

SymptomLikely causeWhat to do
Everything works until the last few sources are switched onThe total on one trunk exceeded what it can carryDo the arithmetic per link and upgrade or split the busiest one
Adding receivers made no difference to load, as expected, then one didThat receiver was across a trunk the stream had not yet needed to crossMulticast crosses a trunk once, but the first receiver on the far side is what makes it cross
Audio fine and video breaking on a gigabit networkSomeone specified uncompressed or lightly compressed video for gigabitCheck the per-feed figure against the link; this is arithmetic rather than a fault
Link shows under 100 per cent utilisation and media still glitchesBursts fill the queue even when the average looks healthyDesign to about 70 per cent average, and prioritise with QoS

Practice it

On paper, for a system you have actually worked on.

Practice it
01
Work out the audio bandwidth for a 64-channel system and say what share of a gigabit link it is.
Answer
About 96 megabits with overhead, which is roughly a tenth of a gigabit link — audio is not the problem.
02
Work out one uncompressed 1080p60 feed and say whether it fits on the same link.
Answer
About 2.5 gigabits, which does not fit, and that one line answers most questions about why video needs different infrastructure.
03
Find the busiest link in a system you know and total what crosses it.
Answer
Nearly always a trunk or a rack uplink, and nearly always the thing that was never calculated.
Field checklist
  • Every link that matters has a number against it.
  • Every stream figure came from documentation rather than memory.
  • The busiest link is under about 70 per cent at the worst moment.
  • You counted distinct streams across trunks, not per-receiver totals.
  • The totals are written down where the specification can cite them.
Chapter 11

Configuring a Switch for AV

This is the chapter to work through with a switch in front of you. It is the whole job in one order, start to finish, and the order matters because several of the steps will lock you out if you take them early.

Multicast, QoS, bandwidth — and setting it up.

What each system asks of the network

Before you configure anything, know what the gear wants. Each of the common systems asks of the network a slightly different set of things, and the differences are what your configuration has to satisfy.

Dante asks for a clean layer-2 network, PTP clock with one grandmaster, QoS with clock above audio, and IGMP snooping if it is using multicast flows. It is tolerant of modest networks and intolerant of clock trouble.

AES67 asks for much the same but specifically PTP version 2, and it is the layer that lets Dante talk to other manufacturers' audio. Most AES67 problems are clock-version problems.

NDI asks mostly for bandwidth and discovery. It is more forgiving of network imperfection than the audio protocols and much hungrier, and its discovery is a name service, so it fails in discovery ways.

SMPTE ST 2110 asks for a great deal: 10-gigabit or faster infrastructure, precise PTP, and usually a network designed for it from the start. If somebody says ST 2110, the network is a project rather than a setting.

Control traffic — sACN, Art-Net, panels, processors — asks for almost nothing except to be kept away from everything else, because some of it broadcasts cheerfully and constantly.

Networked audio as a physical thing — analogue one side, one cable the other.

The settings that break AV

A managed switch out of the box is configured for an office. Several of those defaults are actively hostile to real-time media, and knowing this short list will save you more time than anything else in the book.

Energy saving. Features marketed as green Ethernet or EEE power down parts of a link when it looks idle and wake them when traffic arrives. For bursty office traffic this is fine. For audio it inserts small unpredictable delays, and the result is clicks nobody can account for. Turn energy-saving and EEE off on every AV port.

Spanning tree. STP stops loops, which you want, but when a link changes state the default timers can block traffic for tens of seconds while the topology recalculates. On an AV network use the rapid variant, and set ports that connect to AV devices as edge ports so they come up immediately rather than waiting.

Storm control and rate limiting. These cap how much broadcast or multicast traffic a port will pass, to protect the network from a faulty device. Set too low — and the defaults often are, relative to AV — they throttle your video. Either raise the threshold on AV ports with a number you calculated, or turn it off on ports you control.

Flow control. A port asking a sender to pause sounds helpful and is wrong for real-time media, where a paused packet is a late packet. Leave it off and solve congestion with QoS and capacity instead.

Automatic power-saving on the switch itself, fan profiles that throttle, and firmware defaults that re-enable things on reboot are all worth checking. Write down what you changed, because the next firmware update may quietly put some of it back.

Where the configuration in this book actually gets typed.

How to do it

  1. Save the existing configuration off the switch before anything else.
  2. Set the management address and, if you use one, the management VLAN — and confirm you can still reach it.
  3. Update firmware now if it needs it, because doing it later undoes nothing but costs a reboot mid-commissioning.
  4. Create the VLANs, with names.
  5. Assign access ports to VLANs and label the patch panel to match.
  6. Configure trunks, with the allowed VLAN list and the untagged VLAN set explicitly at both ends.
  7. Turn off energy saving and EEE on every AV port.
  8. Set rapid spanning tree and mark AV device ports as edge ports.
  9. Raise or disable storm control on AV ports, and leave flow control off.
  10. Enable IGMP snooping per VLAN and a querier on exactly one switch.
  11. Configure QoS — trust markings on AV ports and set the queue order with clock first.
  12. Save the configuration, then export a copy off the switch and put it somewhere findable.

What goes wrong

SymptomLikely causeWhat to do
Clicks and pops that follow no patternEnergy-saving or EEE active on the AV portsTurn it off per port; this is the commonest unexplained audio fault on a managed switch
Thirty seconds of silence when a device is plugged inSpanning tree holding the port while it works out the topologyRapid spanning tree, with AV device ports configured as edge ports
Video stream caps at a certain rate no matter whatStorm control or a rate limit on that portRaise the threshold with a calculated number or remove it on ports you control
Configuration was right yesterday and is wrong todayNever saved, or a firmware update restored a defaultSave, export, and compare against the export after any update

Practice it

On a bench switch you are free to break.

Practice it
01
Work the whole procedure through once and time how long it takes you.
Answer
First time through is usually an hour; by the third it is twenty minutes, which is why you practise off-show.
02
Reboot the switch and confirm every setting survived.
Answer
Anything that did not survive was not saved, and finding that here rather than on a show is the point.
03
Export the configuration and read it; find the three lines you would struggle to explain.
Answer
The lines you cannot explain are your reading list, and they are usually spanning tree or QoS.
Field checklist
  • The old configuration is saved off the switch.
  • VLANs exist with names and the ports are assigned and labelled.
  • Trunks allow every VLAN they need and the untagged VLAN is explicit.
  • Energy saving and EEE are off on AV ports.
  • Rapid spanning tree is on and AV ports are edge ports.
  • Storm control is raised or off and flow control is off.
  • IGMP snooping is on and exactly one querier exists.
  • QoS trusts AV markings and puts clock first.
  • The configuration is saved and exported somewhere findable.
Chapter 12

Commissioning the Network

A network proved empty is a network you can trust when it is full. The temptation is always to plug in the AV and see if it works; the discipline is to prove the network first, because then every fault that follows belongs to the AV.

Run and fix AV networks.

Prove the network before the gear

Commissioning has an order, and the order exists so that faults are found one category at a time. Prove the cabling, then the switch configuration, then the addressing, then put one AV device on, then two, then the rest. Each stage produces evidence you write down.

The reason is simple arithmetic about fault-finding. If you connect forty devices to an unproved network and something is wrong, you have forty-one suspects. If you proved the network first, you have one.

Prove the cabling with a tester, not with a link light — a light tells you two pairs work and says nothing about the other two or about crosstalk. Prove the switch configuration by reading it back rather than by remembering what you typed. Prove the addressing with two laptops before any AV device is involved. Only then start connecting gear.

The shape of a real AV network — two switches and the link between them.

Connecting the AV devices

Work from the addressing plan, and work in one order: physical connection, then address, then onto the right VLAN, then into the control software, then into the show. Do one device completely before starting the next, because half-configured devices are what make a system impossible to diagnose.

Expect the gear to disagree with the plan. A device will be on an old address from a previous job, or set to DHCP when the plan says static, or still bound to another system's clock. This is normal and it is why the plan is written down — so that the disagreement is visible rather than absorbed.

As each device comes up, note three things: its address, which switch port it is on, and whether anything had to be changed from factory default. That last note is what makes the system maintainable by somebody who is not you.

The panel the addressing plan has to agree with.

Monitoring a live network

Once the show is running, the useful question is not "is it working" but "is anything getting worse". A link that is quietly accumulating errors, a utilisation figure that climbs every time a department wakes up, a device that has re-elected its clock twice — these are the faults you can still fix.

Watch the link utilisation on the busiest trunk, the error counters on every AV port, and the clock status. Most managed switches will show all three, and most AV control software shows the last one. Look at them during rehearsal, not for the first time during the show.

Write down what normal looks like. A trunk at 30 per cent and two ports with a handful of errors is a fact, not a problem — but you can only know that if you recorded it when everything was fine. Half of monitoring is having a baseline.

How to do it

  1. Test every cable with a tester and record the results.
  2. Read the switch configuration back and compare it against what you intended.
  3. Put two laptops on each VLAN and confirm they talk within it and not across it.
  4. Connect one AV device, address it, and prove it end to end.
  5. Connect a second and prove the two together, including any multicast stream.
  6. Connect the rest, one at a time, noting address and port for each.
  7. Run the whole system at full load and record utilisation, errors and clock status as your baseline.

What goes wrong

SymptomLikely causeWhat to do
Forty devices connected and something is wrongThe network was never proved emptyDisconnect back to two devices and work forward; there is no shortcut
A device works at the bench and not in the rackCable, patch panel mislabelling, or a port in a different VLAN than the label saysTest the cable and read the port's actual VLAN off the switch
System is fine in rehearsal and fails in the showLoad that only exists when everything is running, and no baseline to compareRun full load during commissioning and record what normal looks like
Nobody can say whether a reading is abnormalNo baseline was recordedRecord one now; it is useful from the next show onwards

Practice it

On the next system you commission, however small.

Practice it
01
Prove the network with two laptops before connecting any AV device, and write the evidence down.
Answer
Two laptops talking within a VLAN and not across it proves switch, VLAN and addressing in one test.
02
Record the utilisation of the busiest link at full load.
Answer
Most AV systems turn out to use far less of the link than people assume, audio especially.
03
Note every setting you had to change from factory default on every device.
Answer
The changed-from-default list is the most valuable document you will produce, and it is always shorter than you expect.
Field checklist
  • Every cable was tested and the results recorded.
  • The switch configuration was read back and matches the intent.
  • Each VLAN was proved with two laptops before AV was connected.
  • Every AV device has its address and switch port recorded.
  • Every change from factory default is written down.
  • A baseline of utilisation, errors and clock status exists.
Chapter 13

Troubleshooting Networked AV

Under pressure, method beats knowledge. The technician who works one change at a time through a known order will beat the one who knows more and guesses, every time, and the difference is widest when it matters most.

The method

Start by establishing what is actually broken, in terms somebody else could check. "Audio is down" is not a symptom; "channels 1 to 16 from the stage box are silent at the console, and channels 17 to 32 from the same box are fine" is. The second one has already halved the problem.

Then halve the system. Half the suspects go, you test, and whichever half contains the fault gets halved again. Four or five rounds of this will isolate almost anything, and it works without any knowledge of what the fault is.

Change one thing at a time and put it back if it did not help. Two changes at once means you no longer know what fixed it, and a session of accumulated un-reverted changes is how a fault becomes an outage. Write down what you changed. You will not remember at minute forty.

And work up the layers. A bad patch lead presents as a software problem with impressive frequency, and the order in the layers chapter exists precisely so that you spend your first two minutes on layer one rather than your last two.

The five tools

A cable tester. Not a link light. The thing that tells you all four pairs are good and correctly ordered. The highest hit-rate tool in the bag.

Ping. Proves layer 3 both ways. Ping from the device as well as to it if you can, because one-way reachability is a real and confusing condition. A ping that succeeds tells you addressing and routing are fine, which eliminates a great deal.

ARP. The command that shows which MAC address an IP address resolved to. This is how you catch a duplicate address: one address resolving to two different MAC addresses at different moments.

The switch's own counters. Port errors, utilisation and the MAC address table. A device that is not in the MAC address table is not reaching the switch, whatever its front panel says.

Packet capture. The last resort and the definitive one. If the stream is not in the capture at the receiver, the network is not delivering it and the AV application is innocent. If it is in the capture and the application says nothing is arriving, the network is innocent. Nothing else settles that argument.

The five tools, in hit-rate orderFive troubleshooting tools with what each proves and what it eliminates, ordered by how often each finds the fault.Five tools answer almost everythingin orderOnly one of them is a packet capture, and it is the last resort.A cable testernot a link light -- the highest hit rate in the bagall four pairs good and in orderPingone-way reachability is real and confusinglayer 3, both waysARPthis is how you catch a duplicate addresswhich MAC an address resolved toThe switch's countersnot in the table means not reaching the switcherrors, utilisation, the MAC tablePacket capturethe only thing that ends the argumentwhether the stream actually arrivedCapture at the receiver, not the source. The receiver is where the question is.
FIG 13.1 The five tools, what each proves, and what each eliminates, in order of how often each finds the fault.
The highest hit-rate tool in the bag, in use rather than in a case.

The faults that repeat

AV network faults are not evenly distributed. A handful account for most of what you will see, and recognising them by their signature is most of the speed in experienced troubleshooting.

SignatureMost likely causeFirst thing to check
Video floods everywhere and the network diesIGMP snooping offSnooping state on the AV VLAN
Works for minutes after reboot then stopsSnooping on with no querierWhether any device is querier
Pings fine but no mediaMulticast not being forwarded to that portThe switch's multicast group table
Unexplained clicks in audioEnergy saving or EEE on the portPer-port energy settings
Thirty seconds of dead air after a replugSpanning tree holding the portWhether AV ports are edge ports
Works within each switch not betweenVLAN missing from the trunkThe trunk's allowed VLAN list at both ends
Two devices intermittently unreachableDuplicate IP addressThe ARP table for one address on two MACs
Periodic ticking across the systemClock re-electing or two clock domainsWhich device is grandmaster
Device has no network at allLink-local 169.254 address with no DHCPThe address the device gave itself
Fine in rehearsal and fails under loadCongestion on one trunkUtilisation on the busiest link
The faults that repeatTen fault signatures with the cause each points to and the first thing to check, arranged for use under pressure.Ten signatures worth memorisingfield cardAV network faults are not evenly distributed. These are most of what you will ever see.WHAT YOU SEEWHAT IT ISVideo floods everywhere, network diesIGMP snooping offWorks minutes after reboot, then stopssnooping on, no querierPings fine, no mediamulticast not forwarded to that portUnexplained clicks in audioenergy saving or EEE on the portThirty seconds dead after a replugspanning tree holding the portWorks in each switch, not betweenVLAN missing from the trunkTwo devices intermittently goneduplicate IP addressPeriodic ticking across the systemclock re-electingDevice has no network at alllink-local, no DHCPFine in rehearsal, fails under loadcongestion on one trunkThe first two are the commonest AV-over-IP failures there are.
FIG 13.3 Ten fault signatures and the cause each one points to, arranged for use under pressure.

How to do it

  1. Write down the symptom in checkable terms, including what still works.
  2. Decide which layer it is at, and prove the layer below before going up.
  3. Halve the system and test; repeat until the fault is in one place.
  4. Change one thing at a time and record each change.
  5. Put back anything that did not help, before trying the next thing.
  6. When it works, write down what it was. The same fault will come back on another job.

What goes wrong

SymptomLikely causeWhat to do
An hour in and the system is worse than when you startedSeveral un-reverted changes accumulatedPut everything back to the recorded starting state and begin again with one change at a time
Two people troubleshooting and the fault keeps movingBoth changing things without telling each otherOne person makes changes, the other records; agree this before you start
Fault vanished and nobody knows whySomething was reseated or reset in passingIt will return; record what was touched so there is a starting point next time

Practice it

On a bench system, with somebody else introducing the fault.

Practice it
01
Have them break one thing without telling you, and find it by halving.
Answer
Halving should find it in four or five tests regardless of what the fault is.
02
Count the changes you made, and how many you put back.
Answer
More than one unreverted change means the method slipped, which is the habit to notice.
03
Do it again with a layer-one fault and see whether you started at the bottom.
Answer
Most people start at layer three because it is where the interesting knowledge is; the habit to build is starting at layer one.
Field checklist
  • The symptom is written down in terms somebody else could check.
  • You know which layer you are working at.
  • You are changing one thing at a time.
  • Every change is recorded and reverted if it did not help.
  • You could hand the problem over mid-way and somebody could continue.
Chapter 14

Security, Records and Handover

AV equipment is usually the least secure hardware on a building network, and after you configure it, it is yours. The records you leave are what decide whether the next person can work on it at all.

Security on an AV network

Start with the honest position: a great deal of AV gear ships with a default password, runs old firmware, speaks unencrypted protocols, and has no way to be patched quickly. You cannot fix that. What you can do is stop it being reachable from places it has no business being reachable from, and stop the easy things being easy.

The four measures that do most of the work. Change every default password and record them somewhere the organisation controls rather than in your phone. Put AV on its own VLAN so a compromised AV device cannot see the building's data. Do not give AV devices a route to the internet unless something specifically needs one, and if it does, limit it to that device. Manage switches over a separate management VLAN, by a secure protocol, with the insecure ones turned off.

Beyond that, two things are worth understanding rather than implementing. A firewall controls what crosses between networks and is where an AV VLAN meets the building — the conversation to have with IT rather than a setting you change. And an access control list on a switch does a smaller version of the same thing, which is occasionally the right tool when a specific device must only talk to one other.

The threat that actually materialises on AV networks is rarely an attacker. It is a device with a stuck broadcast, or a laptop plugged into the wrong port flooding the segment, or a well-meaning engineer running a discovery scan across a live show network. Segmentation protects you from all three, which is the real argument for it.

Working with the IT department

On most jobs the network is not yours. It belongs to an IT department whose job is stability and security, who have been burned by equipment they did not choose, and who will say no to anything vague. Getting a yes is a skill and it is mostly about arriving prepared.

Ask for specific things, in their language, with numbers. Not "we need multicast" but "we need IGMP snooping enabled on VLAN 40 with a querier, for eleven devices sending a total of 240 megabits of multicast between these two switches". Not "we need QoS" but "we need these DSCP markings trusted on these ports". A request in that form can be assessed, and an IT department that can assess a request can approve it.

Bring the addressing plan, the bandwidth arithmetic and the device list to the first meeting. Say what you will do if they say no. Offer a separate AV network as the alternative, because sometimes it is the right answer and offering it shows you understand their position.

And accept their constraints where they are real. A hospital or a bank has rules you are not going to argue away. The design that works inside the constraints is the design.

Documentation and handover

The network you built will be worked on by somebody who was not there, probably in a hurry, probably at night. What you write down is the entire difference between a twenty-minute fix and a replacement system.

Document the things that cannot be discovered by looking. Anybody can trace a cable; nobody can guess why storm control is set to the number you set it to. So the record has six parts, and a page each is plenty.

What to recordWhy it cannot be worked out later
A network diagram with switches and trunksShows the shape, including which link is the busiest
The addressing plan in CIDRTells the next person where a new device belongs
VLAN numbers and what each carriesA number alone says nothing about its purpose
Every change from factory defaultThe whole reason the system works, and invisible on inspection
Management addresses and who holds the credentialsOtherwise the first step is a console cable
The baseline — utilisation, errors, clockThe only way to tell an abnormal reading from a normal one

Export the switch configurations as files and store them with the documents. A configuration export is the most complete record there is, and it turns a dead switch from a rebuild into a ten-minute swap.

Then hand it over in person if you possibly can, walk somebody through the diagram, and tell them the one thing most likely to go wrong. Every system has one.

The six-part recordThe six documents a network handover needs, each with the reason it cannot be worked out later by inspection.Six parts, a page eachhandoverDocument the things that cannot be discovered by looking.1A network diagram with trunksshows the shape, and which link is busiest2The addressing plan in CIDRtells the next person where a device belongs3VLAN numbers and what each carriesa number alone says nothing about purpose4Every change from factory defaultthe whole reason it works, invisible on inspection5Management addresses and credentialsotherwise the first step is a console cable6The baseline -- utilisation, errors, clockthe only way to tell abnormal from ordinaryPlus every switch configuration exported to a file -- which turns a dead switch from a rebuild into a swap.Anybody can trace a cable. Nobody can guess why storm control is set to that number.
FIG 14.1 The six-part record, and the reason each part cannot be worked out later by inspection.
The record that makes a network maintainable, kept where the next person will find it.

How to do it

  1. Change and record every default password.
  2. Confirm AV is on its own VLAN and has no route it does not need.
  3. Export every switch configuration to a file.
  4. Draw the diagram, write the addressing plan, and list the VLANs.
  5. Write the changed-from-default list and the baseline figures.
  6. Hand the pack to the client and to whoever maintains the system, and keep a copy.
  7. Walk one person through it and tell them what is most likely to fail.

What goes wrong

SymptomLikely causeWhat to do
Nobody can log into a switch a year laterCredentials were changed and never recorded anywhere officialRecord them where the organisation controls them, not personally
A replacement switch broke the systemNo configuration export, so the replacement is at factory defaultExport configurations as part of handover, every time
The next technician rebuilt rather than repairedNo documentation, so rebuilding was the cheaper optionThe six-part record above; it is a few hours against a few days
IT refused the requestIt was vague, or arrived without numbers, or ignored a real constraintReturn with specific asks, the arithmetic, and an alternative

Practice it

On a system you have already built or worked on.

Practice it
01
Write the six-part record for it and time how long it took.
Answer
For a small system it is under two hours, which is the honest cost of the whole argument.
02
Count how many default passwords are still in place.
Answer
On most existing systems the answer is uncomfortable, and that is the finding.
03
Draft the request you would take to an IT department for it, with numbers.
Answer
A request with device counts, bandwidth totals and specific settings is one that can be answered.
Field checklist
  • Every default password is changed and recorded officially.
  • AV is segmented and has no unnecessary route out.
  • Every switch configuration is exported and stored.
  • The diagram, addressing plan and VLAN list exist.
  • The changed-from-default list and baseline are written down.
  • Somebody other than you has been walked through it.
Chapter 15

AV Networking as a Converged Skill

The trade is short of people who can do both halves of this. That shortage is the opportunity, and it is unusually durable, because the two halves are learned in different places and few people bother to collect both.

The AV/IT skill the industry needs.

Why this skill is in demand

There are a great many competent network engineers and a great many competent AV technicians. The number of people who can walk into a room with a Dante system that is clicking, work out that it is a clock election rather than bandwidth, log into the switch and fix it, and then explain the change to an IT department in their own language — that number is small, and every integrator and venue is trying to hire it.

It is a converged skill in the literal sense: neither trade teaches it. IT training does not cover PTP or why 260 seconds of multicast matters to a show. AV training has historically stopped at "plug it into the switch". The gap is where the work is.

It also travels. A network is a network in a stadium, a studio, a corporate campus or a cruise ship, and the things in this book are the same in all of them. Few AV specialisms are that portable.

Getting better at it on purpose

Three things, in order of how much they pay back.

Get your hands on a managed switch of your own. A second-hand eight-port managed switch costs less than a microphone and you can break it as often as you like. Everything in this book can be practised on one, and practising on a bench is the only way to be fast on a show.

Learn one vendor's command line properly rather than three web interfaces badly. The concepts transfer completely; only the syntax changes. Somebody who can configure a VLAN and a trunk from the command line on one platform can read any other platform's documentation and get there.

Then go and formalise it. CompTIA Network+ is the common first certification and it maps closely onto the general networking half of this book. The manufacturer programmes — Dante certification, the AV-over-IP vendors' own training — cover the AV half. Having both on paper is what gets you into rooms, and the combination is rarer than either.

Read the standard text, too. The book cited throughout this one — Networked AV Systems, published with InfoComm International, which is now AVIXA — is the industry reference and goes considerably further than a course of this length can, particularly on subnetting arithmetic, streaming system design and the commercial side.

Where it leads

Directly onward: AV-over-IP and network design, where you plan networks rather than configure them; IP video engineering, where the video half gets serious; and the systems-integration roles where somebody has to own the whole converged estate.

Sideways: broadcast engineering, which has been doing this longer than anyone and pays accordingly; and the IT side of large venues, where AV networking is increasingly just part of the network team's remit.

The honest encouragement is that this is learnable and the barrier is mostly nerve. A switch is not mysterious. It has a few dozen settings that matter, this book covers most of them, and the rest is reading the manual for the one in front of you.

How to do it

  1. Buy or borrow a managed switch and configure it from scratch three times.
  2. Build a VLAN, a trunk, IGMP snooping and a QoS policy on it without notes.
  3. Do the bandwidth arithmetic for a real system you have worked on.
  4. Write the six-part record for a system that has none.
  5. Sit down with whoever runs the network at your venue and ask them to show you their configuration.
  6. Book one certification and give yourself a date.

What goes wrong

SymptomLikely causeWhat to do
Read the book and still nervous in front of a switchNo bench practice; reading does not build thisA second-hand managed switch and three hours is the whole remedy
Can configure one brand and freeze on anotherLearned the interface rather than the conceptLearn a command line once; the concepts are identical everywhere
Knows the networking and cannot get agreement from ITThe asks are not specific or do not come with numbersThe request format in the previous chapter; it works

Practice it

An honest audit of where you are.

Practice it
01
List which of this book's thirteen checklists you could complete unaided today.
Answer
Most readers can do the addressing and VLAN ones and not the multicast and QoS ones.
02
Pick the two you could not and say what you would need to practise them.
Answer
What is needed is almost always bench access rather than more reading.
03
Name the one system in your working life whose network you do not understand.
Answer
That system is where to start, and the people who maintain it are usually glad to be asked.
Field checklist
  • You can configure a VLAN and a trunk without notes.
  • You can read a subnet mask at a glance.
  • You can explain IGMP snooping and the querier to somebody else.
  • You can size a link with arithmetic rather than instinct.
  • You can take a specific request to an IT department and get a yes.
  • You can leave records somebody else could work from.
Chapter 16

Glossary

**Term****Meaning**
BandwidthThe network capacity available for traffic
Managed switchA configurable switch (needed for AV networks)
MulticastOne source sent efficiently to many receivers
QoSQuality of Service — prioritising important traffic
SwitchThe device connecting/directing network traffic
VLANA virtual LAN segmenting a network logically
DanteA common networked-audio protocol
IGMPProtocol that manages multicast traffic

More terms — the switch and the VLAN

The eight terms above are the essentials. These are the rest, grouped the way the book uses them. They are split into four short tables rather than one long one so that no table breaks over a page.

TermMeaning
Unmanaged switchA switch with no configuration at all; it floods what it does not know and cannot be told otherwise
FloodingA switch sending a frame out of every port because it does not know which one the destination is on
MAC addressThe hardware address of a network interface, used by switches at layer 2
Broadcast domainThe set of devices that receive each other's broadcast traffic; a VLAN draws its boundary
Access portA switch port carrying one VLAN, which is how almost every AV device connects
Trunk portA switch port carrying several VLANs between switches, tagging each frame with the VLAN it belongs to
TagThe small 802.1Q field added to a frame on a trunk saying which VLAN it is in
Untagged or native VLANThe one VLAN a trunk carries without a tag; both ends must agree or traffic lands in the wrong place
Where the switch words sitThe vocabulary of switching placed on a diagram of two switches: what happens inside one, what happens on the link between them, and where each term belongs.The switch words, placedvocabularyEach of these terms describes a part of this picture, which is easier to hold than a list.SWITCH Aaccess portaccess portaccess portSWITCH Baccess portaccess portaccess portTRUNK PORTeach frame carries a TAGone VLAN goes UNTAGGEDINSIDE ONE SWITCH· MAC address -- the hardware address a switch learns· Flooding -- sent everywhere when not in the table· Broadcast domain -- who hears whose broadcasts· Unmanaged switch -- floods, and cannot be toldBETWEEN SWITCHES· Access port -- carries one VLAN; how AV connects· Trunk port -- carries several, tagging each frame· Tag -- the 802.1Q field naming a frame's VLAN· Untagged VLAN -- the one a trunk carries without a tagA VLAN left off the trunk's allowed list: works within each switch, nothing between them.Both ends of a trunk must agree which VLAN is the untagged one.
FIG 16.1 The switching vocabulary placed on a diagram of two switches and the trunk between them.

More terms — addresses and discovery

TermMeaning
Subnet maskThe value that splits an IP address into a network part and a host part
CIDRWriting a mask as a count of network bits — /24 rather than 255.255.255.0
Link-local addressAn address in 169.254.x.x that a device gives itself when set to DHCP and finding no server
mDNSMulticast DNS — how most AV devices discover each other by name, and why discovery does not cross a router
UnicastOne sender to one receiver, with a separate copy for each
Where the addressing words sitThe vocabulary of addressing and discovery placed against an address and its mask, showing which term describes which part and which describe how devices find each other.The address words, placedvocabularyThree describe the address itself. Two describe how devices find each other.192.168.10.40/24network parthostthe mask, in CIDRTHE ADDRESS ITSELF· Subnet mask -- splits the address into network and host· CIDR -- the mask written as a count of network bits· Link-local -- 169.254.x.x, given by a device with no DHCPFINDING EACH OTHER· Unicast -- one sender, one receiver, a separate copy for each· mDNS -- how AV devices discover each other by NAMEDiscovery is multicast, so it does not cross a router. That is what a VLAN is for.Two devices talk directly only if their network parts match.
FIG 16.2 The addressing vocabulary placed against an address and its mask, and the two terms about discovery.

More terms — multicast, priority and clock

TermMeaning
IGMP snoopingA switch listening to IGMP so it forwards multicast only to the ports that asked for it
QuerierThe device that periodically asks who still wants which multicast group; exactly one is needed per segment
Leave latencyThe delay between a receiver going away and the network stopping the stream — up to 260 seconds with default timers
DSCPSix bits in the IP header marking traffic so switches can sort it into priority queues
Per-hop behaviorWhat each switch along the path promises to do with traffic carrying a given marking
PTPPrecision Time Protocol, IEEE 1588 — how clock travels as packets so devices agree on when a sample happens
GrandmasterThe device the rest of a networked audio system takes its clock from
Where the traffic words sitThe vocabulary of multicast, priority and clock placed along the path a stream takes from source to receiver.The traffic words, along the pathvocabularyEach term describes something that happens to a stream on its way across a switch.SOURCEsends one copyTHE SWITCHdecides who gets itTHE QUEUEdecides what is droppedRECEIVERasked to joinGETTING IT TO THE RIGHT PORTS· IGMP snooping -- the switch listens and forwards only· to the ports that asked· Querier -- asks who still wants what; exactly one· Leave latency -- up to 260 s before a group goesDECIDING WHAT SURVIVES· DSCP -- six bits marking a packet's priority class· Per-hop behavior -- what each switch promises to do· with traffic carrying that markingKEEPING EVERYBODY IN STEP· PTP -- Precision Time Protocol; clock travelling as packets· Grandmaster -- the device the rest of the system followsClock above media, media above everything else. That order is the whole of AV QoS.Priority decides what is dropped. It does not create capacity.
FIG 16.3 The multicast, priority and clock vocabulary placed along the path a stream takes to a receiver.

More terms — the settings that bite

TermMeaning
EEE or green EthernetEnergy-saving features that power down parts of a link and insert the delays that make audio click
STPSpanning Tree Protocol, which prevents loops but can block a port for tens of seconds unless the rapid variant is used
Edge portA port told it connects to a device rather than another switch, so it comes up immediately
Storm controlA cap on how much broadcast or multicast a port will pass, which throttles AV if set too low
The settings that biteFour switch settings that break real-time AV, each shown as a factory default against what an AV port needs instead.Four defaults, set for an officevocabularyA managed switch out of the box is configured for an office, and these four are hostile to media.SETTINGWHAT IT DOESWHAT AN AV PORT NEEDSEEE / green Ethernetsymptom: clicks nobody can account forpowers down an idle linkOFF on every AV portSTPsymptom: thirty seconds of dead airblocks a port to recalculaterapid STP, AV ports as EDGE PORTSStorm controlsymptom: video capped at a rate you cannot explaincaps broadcast and multicastraised with a calculated number, or offFlow controlsymptom: works for a while, then stopsasks a sender to pauseOFF -- a paused packet is a late packetAn edge port is one told it connects to a device rather than another switch, so it comes up immediately.And a firmware update may quietly put some of these back.
FIG 16.4 Four switch settings that break real-time AV, each as a factory default against what an AV port needs.
Chapter 17

Competencies this book closes

AV Networking Intermediate is mapped to the AV_NET_INT cluster in the Reboot Gap Library. It builds on Networking Basics in the Networking & IT track, supporting AV-over-IP, Dante, and IP video.

**Competency****Tier****Where it is closed**
Why AV needs deeper networking1"Why AV Runs on the Network Now"
Switching and VLANs1"Switches, VLANs and Trunks"
AV traffic and configuration1"Multicast and IGMP Snooping" to "Configuring a Switch for AV"
Connecting, monitoring, and troubleshooting1"Commissioning the Network" and "Troubleshooting Networked AV"
AV networking as a converged skill2"Security, Records and Handover" and "AV Networking as a Converged Skill" + hands-on work
Chapter 18

Assessment

**Assessment****Type****What it verifies**
Interactive test, Parts 1-5Knowledge + appliedWhy AV needs networking, switching/VLANs, AV traffic/config, connecting/troubleshooting, converged skill
Interactive test, Final Course TestKnowledgeEverything in this book
Networking practicalPracticalConfiguring a switch/VLAN; connecting/troubleshooting AV on a network
Mentor sign-off on real workPracticalConfiguring/managing a network for AV
Chapter 19

Hands-on & sign-off

AV networking is learned configuring real networks. The learner understands switching, VLANs, and AV traffic, configures a network for AV, and connects/troubleshoots AV devices. A mentor signs off when the learner can configure and manage a network for AV.

**Sign-off item****Mentor****Date**
Understood why AV needs deeper networking
Understood switching, VLANs, and AV traffic (multicast, QoS, bandwidth)
Configured a network for AV and connected AV devices
Monitored and troubleshot an AV network
Chapter 20

Where to Go Next

Everything downstream of here assumes this chapter's skills. AV-over-IP and network design takes the planning side — multiple subnets, routed multicast, redundancy and the designs that carry hundreds of streams. IP video engineering takes the video side into compression, ST 2110 and broadcast practice. Both are considerably easier if you can already configure the switch in front of you.

The first ninety days

Get a managed switch of your own and configure it until the procedure in the "Configuring a Switch for AV" chapter takes you twenty minutes instead of an hour. Do the bandwidth arithmetic for every system you work on, even when nobody asks, because it takes two minutes and it is the thing most often skipped. And on the next job, write the six-part record even if it is not in your scope — it is the fastest way to be the person they call next time.

Where this leads

AV network engineer, systems integration, broadcast engineering, and the venue roles where AV and IT have stopped being separate departments. The trade is short of this and shows no sign of catching up.

Visual glossary

What the gear actually looks like

Every device named in this book, in one place. Recognition is the whole point of Chapter 4 — use this page to attach a picture to each name before you meet it on a dock at six in the morning.

Audio
Dynamic microphone
Dynamic microphone
Condenser microphone
Condenser microphone
Wireless handheld
Wireless handheld
Radio rack
Radio rack
Mixing console
Mixing console
Stage box / snake
Stage box / snake
Power amplifier
Power amplifier
Main loudspeaker
Main loudspeaker
Subwoofer
Subwoofer
Stage monitor wedge
Stage monitor wedge
In-ear monitors
In-ear monitors
DI box
DI box
Video
Camera
Camera
Video switcher
Video switcher
Scaler / processor
Scaler / processor
Projector
Projector
LED wall panel
LED wall panel
Confidence monitor
Confidence monitor
Lighting & control
Conventional fixture
Conventional fixture
Moving-head fixture
Moving-head fixture
Lighting console
Lighting console
Dimmer
Dimmer
Show controller
Show controller
Media server
Media server
Networking & infrastructure
Network switch
Network switch
Patch bay
Patch bay
Equipment rack
Equipment rack
Power distribution
Power distribution
Cable tester
Cable tester
A properly coiled cable
A properly coiled cable
Connectors, close up
XLR
XLR
TRS / TS ¼-inch
TRS / TS ¼-inch
SDI on BNC
SDI on BNC
HDMI
HDMI
Cat5e / Cat6 (RJ45)
Cat5e / Cat6 (RJ45)
Fiber optic
Fiber optic
DMX (5-pin XLR)
DMX (5-pin XLR)
AC power — not signal
AC power — not signal
Reboot AV
Find the source.
Find the destination.
Work along the path between them.
Every device on every show exists to serve that movement. Everything after AV Networking Intermediate goes deeper in one direction.
rebootav.tech