Level Three Dante Certification Program Advanced Networking Concepts Troubleshooting Domain Manager Audinate Pres
Level Three Dante Certification Program Advanced Networking Concepts Troubleshooting Domain Manager Audinate Pres
DANTE NETWORKING
DANTE CERTIFICATION PROGRAM
LEVEL 3
1
DANTE CERTIFICATION PROGRAM
5
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHAT WE MAKE
Dante technology
(all of it)
Hardware modules
Development tools
Software products:
• Dante Controller
• Dante Virtual Soundcard
• Dante Via
• Dante Domain Manger
6
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHY USE
DANTE?
7
WHY USE DANTE?
10
LIVE SOUND
AMERICAN AIRLINES ARENA – MIAMI, FL
AMERICAN AIRLINES ARENA - MIAMI, FL
11
Copyright 2017 Audinate Pty Ltd. All rights reserved
COMMERCIAL INSTALLATION
CHESAPEAKE ARENA – OKLAHOMA CITY, OK
12
Copyright 2017 Audinate Pty Ltd. All rights reserved
BROADCAST
GOVERNORS STATE
GOVERNORS UNIVERSITY
STATE UNIVERSITY ––UNIVERSITY
UNIVERSITY PARK,
PARK, IL IL 14
15
Copyright 2017 Audinate Pty Ltd. All rights reserved
FEATURE FILM PRODUCTION
LA LA LAND
16
Copyright 2017 Audinate Pty Ltd. All rights reserved
POST PRODUCTION
19
WHAT IS DANTE?
• Dante is a networking technology
- Hardware solutions provided to OEM manufacturers
- Software solutions – DVS, Dante VIA, Dante Controller, DDM
- Network API’s
• Dante technology provides:
- Tightly synchronized (better than 1µs) media playout at every
endpoint in an IP network
- Uncompressed Digital Audio at all professional sample rates
- Simple plug and play discovery and routing across both a
local area network and a routed IP network
21
IN THIS SECTION…
Networking
• What is a Network?
22
WIRING UP AN “OLD” DIGITAL AUDIO SYSTEM
Meterbridge
24
Copyright 2017 Audinate Pty Ltd. All rights reserved
CABLING REQUIREMENTS
25
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHAT DO WE MEAN BY A NETWORK?
• A Dante network is a collection of devices that are connected via IP and can
exchange audio information with each other.
26
Copyright 2017 Audinate Pty Ltd. All rights reserved
SO…DOES “NETWORKING” MEAN IP?
• IP networks are the most ubiquitous kinds of networks in the world today
• Why has IP become the dominant networking technology?
- Supported by the most manufacturers (both in terms of software and hardware)
- Has been applied to all industries (from Banking to Space Rockets to huge science
projects)
- IP is hugely flexible:
◦ The network is “neutral”
◦ IP networks reach true global scale
◦ Equipment and cabling takes advantage of “economies of scale” in an unprecedented way
◦ The model IP follows is vastly more scalable than alternatives
◦ Understood by millions of engineers and technicians world wide
◦ Used by billions of end users every hour of every day
27
Copyright 2017 Audinate Pty Ltd. All rights reserved
ALTERNATIVES TO IP (HISTORY)
• A dedicated cable for every task was the starting point
• The cable was part and parcel of the communications system
- “faster” more expensive cable did “high bandwidth” tasks
- “cheaper” more common cable did “lower bandwidth” tasks
• Logical evolution from analog
- Wiring became very complex
- Limitations of distance
- High deployment time
- Desire to reduce cabling
28
Copyright 2017 Audinate Pty Ltd. All rights reserved
ALTERNATIVES TO IP (HISTORY)
29
Copyright 2017 Audinate Pty Ltd. All rights reserved
ALTERNATIVES TO IP (HISTORY)
– Once Telcos started to provide other services, the TDM model showed its
inefficiencies
30
Copyright 2017 Audinate Pty Ltd. All rights reserved
COMPARE THIS WITH TDM
31
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHY ARE “PACKET SWITCHED” NETWORKS USED
ON COMPUTERS?
32
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
User told me to go to
www.youtube.com
33
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
8.8.8.8
Google
Public
DNS
Internet
34
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
35
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
36
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
Public
Internet
37
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
Hi 172.217.23.14:443 Hi
its 192.168.1.23 can 192.168.1.23:536
you call me back at 18 what can I do
TCP port 53618 for you?
please?
Public
Internet
38
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
OK
Cat videos
meow please
Public
Internet
39
Copyright 2017 Audinate Pty Ltd. All rights reserved
APPLICATION ADDRESSES
• Each application has its own Audio Flow UDP 14350 192.168.1.60 UDP 14367
unique Internal (port) address Gain control UDP 50135 192.168.1.56 UDP 50231
40
Copyright 2017 Audinate Pty Ltd. All rights reserved
HOW DO WE PUT IT TOGETHER…
BUT KEEP IT SEPARATE?
Dedicated “Pairs”
VS
TDM
IP Network Address Book
41
Copyright 2017 Audinate Pty Ltd. All rights reserved
ADVANCED DANTE
NETWORKING: SECTION 2
42
IN THIS SECTION…
43
LAYERED MODELS
OSI Model
7 – Application
• Older – conceptual model
• Good at defining the lower
6 – Presentation layers (1. Physical, 2. Datalink, Application
3. Network)
5 – Session • Less relevant in the upper layers
4 – Transport Transport
TCP/IP Model
3 – Network • Newer
Internet Layer
• Good at defining the upper
layers (Application, Transport,
2 – Datalink Internet)
• Lacks detail in the Network Network Access
1 – Physical Access layer
Network Layer adds Source and Destination Dst Src Dst Src
IP addresses IP IP
prot
Port Port Some Data
ARP table is used to put correct Destination Dst Src Dst Src Dst Src
MAC onto frame at Datalink layer MAC MAC IP IP
prot
Port Port Some Data
45
Copyright 2017 Audinate Pty Ltd. All rights reserved
ENCAPSULATION – AN ANALOGY
IP stacks are abstract
1. I create some data (write a letter)
2. I put the letter in the envelope
(packetization)
3. I address the envelope
4. At the post office the envelope goes in
a mailbag (Frame (MAC)
encapsulation)
5. Mailbag is put in truck and taken to
next sort facility (physical layer)
46
Copyright 2017 Audinate Pty Ltd. All rights reserved
ADVANCED DANTE
NETWORKING: SECTION 3
47
IN THIS SECTION…
Different modes of communication
• Broadcast
• Unicast
Where they become applicable
• Collision Domains
• Broadcast Domains
Routers and Switches
• Segmenting the collision domain - switching
• Segmenting the Broadcast domain
• ARP
• VLANs
• IP Subnets
• Routers
48
TWO (OR 3) KINDS OF MESSAGES
49
Copyright 2017 Audinate Pty Ltd. All rights reserved
TWO (OR 3) KINDS OF MESSAGES
50
Copyright 2017 Audinate Pty Ltd. All rights reserved
HOW DIFFERENT MESSAGE TYPES WORK
• Old IP networks used “hubs” or a single cable to connect
computers together
- “layer 1” based network
- all messages are effectively “broadcast” messages within the network
- we can very precisely address a message
- Using a hub or a single “token ring” connection, we effectively remove the
“sorting office” from our postal system
- All computers receive every message, and have to discard anything they
are not interested in themselves
Message for
192.168.1.7
boring boring
52
Copyright 2017 Audinate Pty Ltd. All rights reserved
COLLISION DOMAINS
53
Copyright 2017 Audinate Pty Ltd. All rights reserved
COLLISION DOMAINS - SEGMENTING
switch
54
Copyright 2017 Audinate Pty Ltd. All rights reserved
UNICAST TRANSMISSION
Computer Computer Computer Computer Unicast sessions are private
A B C D conversations between source and
destination.
Switch
Switch
Computer
X
56
Copyright 2017 Audinate Pty Ltd. All rights reserved
IP ADDRESSES IN A LAN? WHY?
• A “standard” network stack in an Operating System on a computer connects
ports to the application software running on it – through the IP address
57
Copyright 2017 Audinate Pty Ltd. All rights reserved
SENDING AND RECEIVING UNICAST
WHO IS
192.168.1.3
Switch
GE0/1
GE0/2
GE0/3
58
Copyright 2017 Audinate Pty Ltd. All rights reserved
SENDING AND RECEIVING UNICAST
WHO IS
192.168.1.3 ARP Table:
192.168.1.1 –
aa:bb:cc:dd:ee:01
Switch
GE0/1 aa:bb:cc:dd:ee:01
GE0/2
GE0/3
59
Copyright 2017 Audinate Pty Ltd. All rights reserved
SENDING AND RECEIVING UNICAST
Hello
ARP Table: 192.168.1.1
192.168.1.3 –
I am
aa:bb:cc:dd:ee:03
192.168.1.3
Switch
GE0/1 aa:bb:cc:dd:ee:01
GE0/2
GE0/3 aa:bb:cc:dd:ee:03
60
Copyright 2017 Audinate Pty Ltd. All rights reserved
BROADCAST DOMAINS
Boring
So let’s take a look at why IT
Broadcast message:
who has 192.168.1.47? managers are scared of
broadcast:
61
Copyright 2017 Audinate Pty Ltd. All rights reserved
BROADCAST DOMAINS
Broadcast
message: who
Boring
Boring Boring Boring has Boring
192.168.1.47?
Boring Boring Boring Boring Boring
Boring Boring Boring Boring Boring Boring
Boring Boring Boring
Boring Boring Boring
Boring
Broadcast Broadcast
message: who message: who Boring
Boring Boring Boring Boring Boring Boring has
has
Boring Boring Boring
Boring Boring Boring Boring Boring Boring 192.168.1.47?
Boring Boring
192.168.1.47? Boring
Boring Boring Boring
Boring
Boring
Me! Boring Boring Boring
Boring Boring
Boring Boring
Me! Boring Boring Boring Boring Boring Boring
Boring
Boring
Me! Boring Boring Boring
Me!
Broadcast
Boring message: who
Boring Boring Boring
Boring Boring
Boring Boring
has Boring Boring
Boring Boring Boring Boring Boring Boring Boring Boring
192.168.1.47?
Boring Boring Boring Boring
Boring
62
Copyright 2017 Audinate Pty Ltd. All rights reserved
Surely there is a better way to deal with this?
63
Copyright 2017 Audinate Pty Ltd. All rights reserved
SEGMENTING BROADCAST DOMAINS – GOOD PRACTICE
Broadcast
message: who has
192.168.1.47? Boring Boring
Boring
Boring Me!
Boring
Boring Boring
64
Copyright 2017 Audinate Pty Ltd. All rights reserved
SEGMENTING BROADCAST DOMAINS – BUT
STAYING CONNECTED
Broadcast Broadcast
Domain A Domain B
65
Copyright 2017 Audinate Pty Ltd. All rights reserved
VLANS - HISTORY
Originally when Network managers segmented networks without VLANs a different
switch would be used for each “group” of computers
router
device
device device
device
device device device
66
Copyright 2017 Audinate Pty Ltd. All rights reserved
VLANS - HISTORY
router
device
device device
device
device device device
67
Copyright 2017 Audinate Pty Ltd. All rights reserved
VLANS - HISTORY
Why not put all these physical LANs on one switch?
Saves “wasted” ports – still same cabling
router
device
device device
device
device device device
68
Copyright 2017 Audinate Pty Ltd. All rights reserved
VLANS - HISTORY
Port based VLANs certainly saved money on expensive switch ports
Now 802.1q “tagging” addresses duplicate cabling – tag allows frames to be on same wire
router
device
device device
device
device device device
69
Copyright 2017 Audinate Pty Ltd. All rights reserved
VLAN TAGS – AND PVID (PORT VLAN ID)
• The switch will allow the
Ethernet Frame frame to leave through
Device any port that is a member
1. Preamble
of the same VLAN
2. SFD-Start of Frame
Delimiter
• The switch will prevent the
3. Destination MAC Address frame leaving through any
4. Source MAC Address
5. Ethertype port that is not a member
6. Payaload
7. CRC Block of the same VLAN
Switch
Switch adds
802.1q tag
70
Copyright 2017 Audinate Pty Ltd. All rights reserved
VLAN TAGS – AND PVID (PORT VLAN ID)
71
Copyright 2017 Audinate Pty Ltd. All rights reserved
IPV4 IP ADDRESSES – HOST AND NETWORK
• Routers segment Broadcast domains – because they will not forward broadcast
traffic
– Routers do not care about MAC addresses (they obscure them – a good security feature)
• The size of an IP subnet is defined by the Subnet Mask. The subnet mask:
– Is a 4 octet number that is supplied via DHCP or an essential part of Static IP configuration
– Allows devices to know which IP addresses are “local” (same subnet) or “remote”
– Local IP addresses cause the device to issue an ARP
– Remote IP addresses are forwarded to the MAC address of the “default gateway” (if one is defined)
– If there is no defined “default gateway” the message will just be dropped
72
Copyright 2017 Audinate Pty Ltd. All rights reserved
IP SUBNET MASKS
• There are 32 bits worth of IPv4 addresses – this could be 1 network with 4.3 billion
devices in it
• Imagine a Broadcast domain that size!
• This is why we have IP subnets (to divide up that broadcast domain)
• The subnet mask is the “boundary” between the “network” address section of an IP
address and the “host address” section of an IP address
• A Valid Subnet mask is always a continuous line of binary 1s until the mask is reached,
then it becomes 0s
Subnet Mask Subnet Mask (binary) Subnet Number Number of
(decimal) Mask of hosts possible
CIDR per networks
network
255.255.255.0 11111111.11111111.11111111.00000000 /24 254 16.7 million
255.0.0.0 11111111.00000000.00000000.00000000 /8 16.7 256
million
255.255.255.252 11111111.11111111.11111111.11111000 /29 6 537 million
73
Copyright 2017 Audinate Pty Ltd. All rights reserved
VLANS AND SUBNETS
• A single VLAN is a single Broadcast domain
• An IP subnet is also a broadcast domain
• VLANs can therefore be described to a router as an IP subnet
• WARNING! – static IP addressing two IP subnets in the same
VLAN is not wise!
– When an IP broadcast packet is created in a VLAN – it is STILL
mapped to the broadcast MAC address
– At Layer 2 a device cannot distinguish between a broadcast frame
from another IP subnet
– Therefore an IP broadcast in a different IP subnet in the same VLAN
will still go to devices in the “other” IP subnet – This is a potential
security risk
Device
A Frame packet Frame 802.1q
packet
S
tag =2
/29 gives me 6
hosts
76
Copyright 2017 Audinate Pty Ltd. All rights reserved
FOR MOST EFFICIENT IP SCHEME SEGMENT
BIGGEST TO SMALLEST
77
Copyright 2017 Audinate Pty Ltd. All rights reserved
ADVANCED DANTE
NETWORKING: SECTION 4
78
IN THIS SECTION…
Quality Of Service
• What QoS is, and what it is not
• When should you use it?
The “Third Kind” of communication
Multicast
• Why is Multicast useful
• How do we manage Multicast?
• IGMP – Deep Dive
79
QUALITY OF SERVICE
(QOS)
80
WHAT IS QUALITY OF SERVICE (QOS)?
81
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHAT IS QUALITY OF SERVICE (QOS)?
• QoS comes in two basic forms:
- Class based, using techniques like queueing and prioritization (e.g.
Diffserv)
o Relative
o Simpler to implement
o Specify how much, how often, and on what terms - then make a
decision if it is possible
o Complex to implement
82
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHAT IS QUALITY OF SERVICE (QOS)?
83
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHY DO IT?
84
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHY DO IT?
85
Copyright 2017 Audinate Pty Ltd. All rights reserved
CLASS BASED QOS
• Class based QoS is the most widely deployed technique in COTS Ethernet
switches
- We can thank VoIP for this!
• Uses a tag written into the IP or Ethernet header of each packet
- Just a number, no special meaning
• Switch needs to inspect each packet and map to a specified queue at the
output port
• The queues are then emptied following a set of rules that govern the process
- These rules define the level of service experienced by the traffic in each class
86
Copyright 2017 Audinate Pty Ltd. All rights reserved
CLASS BASED QOS
• Has many advantages
- Simple
- Low per-packet overhead
- Implement in switch silicon
- Distributed
- Flexible – network can apply tags, change them, interpret them using a
system specific policy etc.
- Very good at protecting high priority traffic from lower priority
• Disadvantage
- Can overload within a traffic class – e.g. everything high priority…
- When everything is important… nothing is
- Not a limitation in vast majority of cases
87
Copyright 2017 Audinate Pty Ltd. All rights reserved
DIFFSERV
• DSCP values are mapped to a queue at each output port in the switch
- In a Dante centric network the highest priority queue is used for PTP traffic (very small
payload)
- The next level of priority is used for Audio data – slightly larger
- The level of priority below that is used for time critical control data
- And finally the last queue is available for everything else
• Queues in switches send frames onto the wire after applying this “sorting”
criteria
- Don’t forget this is per-switch, so all switches should have the same configuration if you want
consistent behaviour
• Extremely well suited to ensure that high priority traffic is not affected by lower
priorities
- PTP amounts to only a few packets per second per device
- Audio is several thousand packets per second per flow
88
Copyright 2017 Audinate Pty Ltd. All rights reserved
EXAMPLE
• Airline check in counter or boarding lanes
- Customers are assigned to a class based on importance to the airline
(Platinum, Gold, the rest…)
- Equivalent of a DSCP Tag
- Important customers have a priority check-in counter
- Equivalent of a dedicated queue
- When it is not busy, all customers served quickly
- When it gets busy, important customers are served quickly
89
Copyright 2017 Audinate Pty Ltd. All rights reserved
SIMPLIFIED QUEUE MODEL
Egress
Queue
Queue 1
Egress Port
Queue 2
Ingress Port DSCP
Mapping Queue 3
Queue 4
Switch Egress
Fabric Queue
Queue 1
Ingress Port Egress Port
Queue 2
DSCP
Mapping Queue 3
Queue 4
90
Copyright 2017 Audinate Pty Ltd. All rights reserved
QUEUEING MODES
91
Copyright 2017 Audinate Pty Ltd. All rights reserved
QUEUEING MODES
92
Copyright 2017 Audinate Pty Ltd. All rights reserved
DANTE DSCP VALUES
DSCP
Priority Usage Hex Decimal Binary
Label
High Time critical PTP events CS7 0x38 56 111000
Medium Audio, PTP EF 0x2E 46 101110
Low (reserved) CS1 0x08 8 001000
None Other traffic BestEffort 0x00 0 000000
93
Copyright 2017 Audinate Pty Ltd. All rights reserved
CISCO SG300
94
Copyright 2017 Audinate Pty Ltd. All rights reserved
SOME OTHER SPECIFICS – TRUST DSCP?
• Tells the switch to trust that the endpoints will tag traffic correctly,
not abuse high priority
• Useful with services like Dante that do not require user
configuration – the endpoint can only generate correct DSCP tags
• What if I turn this off? - the switch will “strip” DSCP tags from all
packets and ignore them
• Most campus, enterprise, and carrier networks will NOT trust
endpoint DSCP tags, and instead apply a policy as defined by the
system admin
95
Copyright 2017 Audinate Pty Ltd. All rights reserved
SOME OTHER SPECIFICS – DSCP REMAPPING
• Example: Match PTP traffic on UDP port 319, 320, 321, and apply DSCP 56
96
Copyright 2017 Audinate Pty Ltd. All rights reserved
SOME OTHER SPECIFICS – CLASS OF SERVICE (COS)
97
Copyright 2017 Audinate Pty Ltd. All rights reserved
ENTERPRISE SWITCH FEATURES
• On larger (more powerful, and more expensive) enterprise
switches QoS can be more “flexible” (read complicated)
• Switches in this category allow the network operator to cater for
many different services
- Leverage the flexibility and power inherent in IP
98
Copyright 2017 Audinate Pty Ltd. All rights reserved
IS IT LIKELY TO MAKE A DIFFERENCE?
• If you are moving 512 channels of Dante over the network link in question, you still
have “headroom” to accommodate other services (more than 100mbps)
- How many people have 100mbps Internet connection?
- How many people see 100mbps of Internet traffic on the same network segment as AV?
• You will generally need to have a pinch point somewhere in the network in order to
see a positive benefit from QoS configuration
• You are also likely to see negative impacts from over configuration in environments
where QoS configuration is not necessary
99
Copyright 2017 Audinate Pty Ltd. All rights reserved
MULTICAST
100
MULTICAST IP ADDRESSING
• A multicast group is defined by a “multicast destination IP address”
- Any host within the address scope can “listen” to the group address
- Really really useful when there are many more receivers than transmitters
• Special reserved IP and MAC addresses indicate multicast destinations
- MAC addresses start with 01:00:5E
- IPv4 range: 224.0.0.0 – 239.255.255.255
- IPv6 Range: FF00::/8
• Multicast IPv4 addresses do not map 1:1 to Multicast MAC addresses
- Up to 32 Multicast IP addresses for each Multicast MAC address
• This creates challenges for a L2 switch uniquely identifying multicast streams
- Hence the use of “IGMP Snooping”
101
Copyright 2017 Audinate Pty Ltd. All rights reserved
INTERNET GROUP MANAGEMENT PROTOCOL (IGMP)
• Internet Group Management Protocol (IGMP) is a protocol used to manage
multicast traffic in IPv4 routed networks
- IPv6 replaces IGMP with “Multicast Listener Discovery (MLD)”
• Protocol is responsible for working out which networks or hosts need a specific
multicast group
- The router sends query messages to all hosts on each network
- Hosts respond with the groups they want to join
- What about inside the VLAN?
102
Copyright 2017 Audinate Pty Ltd. All rights reserved
IGMP QUERIER
• Most switches today are able to function as an IGMP Querier
- Querier periodically sends query message to all hosts on 224.0.0.1
- What group addresses do you want?
- Hosts respond with “membership report” to 224.0.0.2 (or 224.0.0.22)
- I want A.B.C.D
- You should only have one active Querier per VLAN
- Multiple queriers *can* be configured amongst some manufacturers equipment
103
Copyright 2017 Audinate Pty Ltd. All rights reserved
IGMP AT WORK This is an IGMP
General Query
IGMP Querier
Switch with IGMP Snooping enabled
1 2 3 4 5 6
IGMP Querier
Switch with IGMP Snooping enabled
1 2 3 4 5 6
General report
General report General report
239.255.255.32 General report
239.255.255.32 239.255.255.32
239.255.255.33
239.255.255.64 239.255.255.33
239.255.255.64
IGMP Querier
Switch with IGMP Snooping enabled
1 2 3 4 5 6
General report
General report General report 239.255.255.33
General report
239.255.255.32 General report
239.255.255.32 239.255.255.32 239.255.255.33
ME! General report
239.255.255.33
239.255.255.64 239.255.255.33 239.255.255.64
239.255.255.64
General report
239.255.255.33 General report General report
239.255.255.33 239.255.255.33
General report
239.255.255.32 General report
ME! 239.255.255.32 239.255.255.32
ME! 239.255.255.33
ME! General report
239.255.255.33
239.255.255.64 239.255.255.33 239.255.255.64
239.255.255.64
• It can be complex…
- Especially if you start randomly changing timers or switch configurations
- Random changes will have random effect
108
Copyright 2017 Audinate Pty Ltd. All rights reserved
SIMPLIFIED RECIPE
• PTP likes the forwarding delay through the network to be consistent and
symmetric
• In some scenarios this may not be the case
- Asymmetric non-multicast technologies such as MPLS, GPON etc.
- ACLs incorrectly configured etc.
• Turning ON unicast delay requests for all devices can help diagnose, and
possibly resolve the problem
Audio Testing
Increase
Create some Check the See how far Check
Subscribe Turn on IGMP number of
Dante latency view the latency latency
them to a snooping in multicast
Multicast in Dante view has performance
receiver the switch flows through
flows controller moved again
switch
PTP Testing
113
Copyright 2017 Audinate Pty Ltd. All rights reserved
ADVANCED DANTE
NETWORKING: SECTION 5
114
IN THIS SECTION…
115
DEFINING RESOURCE REQUIREMENTS
• Any project in anything requires this phase of planning
116
Copyright 2017 Audinate Pty Ltd. All rights reserved
WHAT DANTE PUTS ONTO THE WIRE
• In order to make a complete audio network solution we need:
- Audio transport
- Clocking
- Device discovery
- Device and routing control
• Using the IP over Ethernet model allows us to do this on 1 cable
• Some devices also take their power from this same cable!
• The OSI model gives a framework to do this very tidily
117
Copyright 2017 Audinate Pty Ltd. All rights reserved
ARCHITECTURAL PRINCIPLES
• What are the main considerations when architecting a network?
- Identifying required services
- Bandwidth utilization
- Specifying an optimal infrastructure for predicted bandwidth demands
- Identifying potential “bottlenecks” – designing them out or managing them
- Ensuring a scalable architecture (the network will grow over time)
- Understanding possible future service requirements
118
Copyright 2017 Audinate Pty Ltd. All rights reserved
BANDWIDTH UTILIZATION – DANTE FLOW
Device Device Device Device Device
A B C D E
6 mbps
0 mbps 6 mbps
0 mbps
Switch 6 mbps
119
Copyright 2017 Audinate Pty Ltd. All rights reserved
BANDWIDTH UTILIZATION – DANTE FLOW
Device Device Device Device Device
A B C D E
6 mbps
0 mbps 12 mbps 6 mbps 0 mbps
0 mbps
Switch 12 mbps
120
Copyright 2017 Audinate Pty Ltd. All rights reserved
BANDWIDTH UTILIZATION – DANTE FLOW
Device Device Device Device Device
A B C D E
6 mbps 0 mbps
6 mbps 12 mbps 6 mbps 0 mbps
0 mbps 6 mbps
Switch 18 mbps
121
Copyright 2017 Audinate Pty Ltd. All rights reserved
BANDWIDTH UTILIZATION – DANTE FLOW
Device Device Device Device Device
A B C D E
Switch 24 mbps
122
Copyright 2017 Audinate Pty Ltd. All rights reserved
BANDWIDTH UTILIZATION – DANTE FLOW
Device Device Device Device Device
A B C D E
Switch 24 mbps
0 mbps
0 mbps
Switch 0 mbps
Internet
123
Copyright 2017 Audinate Pty Ltd. All rights reserved
BANDWIDTH UTILIZATION – DANTE FLOW
Device Device Device Device Device
A B C D E
Switch 24 mbps
0 mbps
0 mbps
8 mbps
Switch 8 mbps
8 mbps 0 mbps
Internet
0 mbps
124
Copyright 2017 Audinate Pty Ltd. All rights reserved
BANDWIDTH UTILIZATION – DANTE FLOW
Device Device Device Device Device
A B C D E
Switch 30 mbps
0 mbps
6 mbps
8 mbps
Switch 14 mbps
8 mbps 0 mbps
Internet
6 mbps
125
Copyright 2017 Audinate Pty Ltd. All rights reserved
UNDERSTANDING RESOURCES - BANDWIDTH
• A flow is a sequence of packets sent to an IP address / port
• A Unicast flow contains 4 channels
- 2ch on Ultimo2 devices
- At 48KHz sample rate a unicast flow uses 6mbps bandwidth
- If only one channel is “subscribed” the other 3 channels are “sent” as silence
- As other channels are added between the 2 devices audio content from the successive channels
“dumped” into the flow
- New flows not created if there is “space” in existing flows
126
Copyright 2017 Audinate Pty Ltd. All rights reserved
UNDERSTANDING RESOURCES - FLOWS
In Multicast mode –
- The Tx flow is created immediately (it doesn’t need a receiver to request it)
- A single Multicast flow can contain up to eight channels
- Cannot add channels to a multicast flow
Recap
An audio network consists of 3 things:
• Devices that create flows (microphones, stage
boxes, DSPs, playback sources etc.)
• Infrastructure that carries the data
• Devices that receive flows (DSPs, Amplifiers,
Powered Loudspeakers, Recorders etc.)
133
IN THIS SECTION…
Subscriptions in Dante
• Subscription process
• Multicast subscriptions
• Topology and QoS
134
SUBSCRIPTION PROCESS (UNICAST)
1. Plug laptop (running Dante Controller) into switch
2. Plug Microphone into switch
1. Microphone “announces” itself (multicast)
“Hello my
name is
2. Dante controller “hears” the announcement
Bob” Paul, Please and populates routing page
Can I do
subscribe your 3. Plug Speaker into switch
channel1 to
that Hmm
channel1@Bob 1.Speaker “announces” itself (multicast)
latency? … Bob
2.Dante Controller “hears” the announcement
Hmm …
Paul
and populates routing page
Here is
channel1 at
4. We decide to “subscribe” Paul to Bob (from Dante
2ms latency Controller)
“Hello my 5. Dante controller “tells” Paul to ask Bob for
name is Paul” channel1
6. Paul “asks” Bob for channel1 at it’s latency setting
Bob, can I have 7. Bob checks that latency setting is = or > own
channel1 at 1ms
0mbp latency please? setting
s 8. If this is true flow is created with Paul’s latency
6mbps
6mbp 9. If not flow is created with Bob’s latency
s Paul here, my
channel1
10. 6mbps bandwidth is used between Bob and Paul
0mbps
successfully (in one direction)
subscribed to 11. 0mbps bandwidth is used on cable between
channel1@Bob
switch and computer
12. Paul reports “good” subscription (multicast)
13. Controller updates record (green check)
136
Copyright 2017 Audinate Pty Ltd. All rights reserved
EXAMPLE - IN A DANTE NETWORK
64 ch 64 ch 64 ch 64 ch 64 ch 64 ch 64 ch
device device device device device device device
Switch
64 ch 64 ch 64 ch 64 ch 64 ch 64 ch 64 ch
device device device device device device device
Unicast Multicast
• 14 Devices, 64 channels each • IF all devices set to full Multicast
• 32 flows each maximum –unicast b/w per node =192 mbps • Switch would still be fine…
• 192 x 14 = 2688 mbps – more than a gigabit • Devices would not!
• Maximum Rx bandwidth per node is still 192 mbps unicast • 8 x 12 mbps multicast flows = 96 mbps x 14 nodes = 1.344 gbps
(run out of flows) • More than each cable can handle!
• Minimum backplane bandwidth of switch 28 gbps (still more • BUT only still 4.8% of the backplane bandwidth
than 10x actual bandwidth) • Sending 832 channels into a network where they “flood” and the
• “Worst” flow structure possible = 32 x 2 channel flows on a maximum receive possible is 64 channels seems like a huge problem
device …
• Only a “2 way” split achievable unicast
137
Copyright 2017 Audinate Pty Ltd. All rights reserved
LET’S REVISIT OUR ORIGINAL EXAMPLE
• With IGMP snooping off and all
devices multicasting – we are
64 ch 64 ch 64 ch 64 ch 64 ch 64 ch 64 ch
trying to push 1.344 gbps down
device device device device device device device each gigabit cable
• Obviously never going to work!
• Turn on IGMP snooping
Switch IGMP Snooping • Each device can only subscribe to
= ON
32 flows - This is a maximum
bandwidth of 384 mbps per port
64 ch 64 ch 64 ch 64 ch 64 ch 64 ch 64 ch • The backplane bandwidth is
device device device device device device device unchanged at about 4.8% capacity
• This is why multicast
management is always a priority
over QoS
139
Copyright 2017 Audinate Pty Ltd. All rights reserved
TOPOLOGY AND QOS
• The previous example shows a “Classic” model “Collapsed Core” Model
bottleneck being created by a edge edge edge edge edge edge edge edge
140
Copyright 2017 Audinate Pty Ltd. All rights reserved
ADVANCED DANTE
NETWORKING: SECTION 7
141
IN THIS SECTION…
Advanced clocking
• How does a network synchronize media
clocks?
• What does an external clock do?
• Network synchronization
• Synchronizing time
• Time in PTP
142
HOW DOES A NETWORK SYNCHRONIZE MEDIA CLOCKS?
1 “cycle” of Wordclock
24 “bits” in 1
Wordclock Cycle
143
Copyright 2017 Audinate Pty Ltd. All rights reserved
SO WHAT DOES AN “EXTERNAL” CLOCK DO?
144
Copyright 2017 Audinate Pty Ltd. All rights reserved
HOW A DISTRIBUTED WORD-CLOCK WORKS
Master Clock
Audio Device
Device
Don’t tell me
how the clock
works… just
tell me what
time it is!
yeah yeah
146
Copyright 2017 Audinate Pty Ltd. All rights reserved
SYNCHRONIZING TIME
147
Copyright 2017 Audinate Pty Ltd. All rights reserved
SYNCHRONIZING TIME
Set
watch Set Edinburgh
to Big station time to
Ben Put watch
watch on
train
Go to
London Edinburgh
148
Copyright 2017 Audinate Pty Ltd. All rights reserved
TIME IN PTP
• Of course – synchronizing in seconds is
nowhere near good enough for audio!
149
Copyright 2017 Audinate Pty Ltd. All rights reserved
TIME IN PTP
150
Copyright 2017 Audinate Pty Ltd. All rights reserved
PTP MECHANISM
Set time to
0900:01.00 1. The Master clock sends a
0325364
Sync Message 1435 I counted 1410 sync message.
its Monday 8th May nanoseconds 2. This allows the slave
2017 between these
0900:01.000325364 times – speed up devices to set their individual
my clock time pieces
Follow up 3. BUT devices run at slightly
Ref 1435 – was
actually sent at
different ”speeds”
0900:01.000326789 4. To address this the master
clock sends a sync follow-up
Set time to message.
0900:01.00 5. The receiving clock can then
0325364 compare the time that it
I counted 1445
nanoseconds
received the sync message
between these against the actual time from
times – slow the follow-up to determine if
down my clock it is running faster or slower
than the master.
151
Copyright 2017 Audinate Pty Ltd. All rights reserved
PTP HAS TO WORK ACROSS A NETWORK
• We saw how frames can even slightly potentially “get in the way”
of each other
152
Copyright 2017 Audinate Pty Ltd. All rights reserved
PTP HAS TO WORK ACROSS A NETWORK
Delay Requests
Delay request 1066
Received at
0900:02.001325745 Without ”real” information the slave doesn’t have
Reply sent
0900:02.008564367
a good idea about the network delay
153
Copyright 2017 Audinate Pty Ltd. All rights reserved
CONTINUING ON…
154
Copyright 2017 Audinate Pty Ltd. All rights reserved
CONTINUING ON…
• Now… if we remove the Master clock some time later
- The slaves have a very good idea of what the “relative speed” of the master clock was
(and can maintain this on their own) … think a speed limit sign on the highway (and
assume you follow the rules)
- The slaves also have a very accurate idea of what the time is at the master device –
and will have set their own timepieces accordingly
• This means
- Any Slave can now easily (and quickly) become the master
- The subsequent slaves are synchronous enough with the “new master” that their audio
clock is unaffected
- The synchronization of the system is not dependent on a single permanent fixed master
- Time is Time – I can “chop” it into however many parts (Hz) I like
- Audio and Video clocks are simply the inverse of time – 1Hz = 1S^-1 after all
155
Copyright 2017 Audinate Pty Ltd. All rights reserved
ADVANCED DANTE
NETWORKING: SECTION 8
156
IN THIS SECTION…
Troubleshooting
• Fundamentals of troubleshooting
• Dante port addresses
• Network ports
• IP addresses
• MAC addresses
• Common symptoms and causes
• Talking to an IT department
157
TROUBLESHOOTING
• Networks are just about connecting devices together
- Understanding how connections can be “broken” is the key to troubleshooting
• Recap – Dante puts the following “traffic” into the network
- Timing – PTP IEEE1588
- Audio Data
- Commands for creating routes and controlling Dante functions
- Discovery services (so that commands can be sent to devices)
• Just because you cannot “see it” doesn’t mean it cannot be seen!
- Think about applications attaching to the network stack using “port addresses”
- Many Operating systems use software “firewalls” to prevent certain applications
accessing the network stack
- If you can “see” a master clock (identified at top of Dante controller routing screen)
but no devices, or device names with no information, 99% of the time – the firewall
on the machine running Dante controller is blocking something
158
Copyright 2017 Audinate Pty Ltd. All rights reserved
TROUBLESHOOTING - DANTE “PORT” ADDRESSES
159
Copyright 2017 Audinate Pty Ltd. All rights reserved
NETWORK PORTS – 2 WAYS TO CUT THE WIRE
160
Copyright 2017 Audinate Pty Ltd. All rights reserved
NETWORK PORTS – 2 WAYS TO CUT THE WIRE
161
Copyright 2017 Audinate Pty Ltd. All rights reserved
IP ADDRESSES
• 2 kinds of IP addresses to be concerned about:
– In Dante, Multicast IP addresses only work in a single IP subnet
– All communication on a Dante network spanning multiple subnets is unicast (device
IP to device IP)
• Multicast IP addresses
– Some switches block IP multicast by default (this will prevent the following
functioning properly):
◦ Dante Discovery in the local area network
◦ Dante Clock (PTP is sent multicast as standard)
◦ Multicast Dante Audio
162
Copyright 2017 Audinate Pty Ltd. All rights reserved
IP ADDRESSES
• 2 kinds of IP addresses to be concerned about:
– In Dante, Multicast IP addresses only work in a single IP subnet
– All communication on a Dante network spanning multiple subnets is unicast
(device IP to device IP)
• Unicast IP addresses
– For a unicast communication to be successful:
◦ In a LAN – both devices must be within the same IP subnet
◦ In a Routed network – the LANs containing the devices to be connected must be
joined together by an IP Router
◦ The IP subnet configuration of the Router must be correct (Interfaces correctly
addressed)
◦ Routes must exist between the IP subnets in question
◦ More advanced routers can filter traffic using ACLs just like a switch or a firewall
163
Copyright 2017 Audinate Pty Ltd. All rights reserved
MAC ADDRESSES
• MAC addresses rarely cause any issues (unless an ACL or security appliance
is configured with a deny rule)
• At Layer 2 – ensuring all interfaces on a switch are in the expected VLAN is
the most common configuration issue
• And Finally, Layer 1
- Is the wire physically cut?
- Is the interface open? (managed switches can have their interfaces shutdown using
a software command)
- If using fiber – is the signal integrity good (fiber ends cleaned? Interface dust free?)
- Use respectable test equipment to certify cables (cat 5/6/7 etc) and check signal
integrity and loss of a fiber assembly
164
Copyright 2017 Audinate Pty Ltd. All rights reserved
COMMON SYMPTOMS AND CAUSES
Multiple Master Clocks shown Devices “cannot hear” multicast sync messages from
other devices – assume they are master (caused by
blocked multicast traffic in network)
Clock gives unlock/lock warning Possible Multicast block – check the clock histogram
in Dante controller to confirm (Dante clocks can run
for a surprising amount of time before falling out of
sync badly enough to affect audio… hours)
165
Copyright 2017 Audinate Pty Ltd. All rights reserved
COMMON SYMPTOMS AND CAUSES
166
Copyright 2017 Audinate Pty Ltd. All rights reserved
COMMON SYMPTOMS AND CAUSES
167
Copyright 2017 Audinate Pty Ltd. All rights reserved
COMMON SYMPTOMS AND CAUSES
168
Copyright 2017 Audinate Pty Ltd. All rights reserved
TALKING TO AN IT DEPARTMENT
• This course covers the requirements of a Dante Audio over IP
network in some detail
• Configuration details for a particular IT infrastructure vendor’s
equipment are specific and unique
• HOWEVER – the concepts covered in this course are universal in
IP networking (the terminology may be subtly different on different
infrastructure vendors)
– Understanding how IP connections are made (ports, IP addresses,
Routing, Switching, Multicast, Broadcast etc.) helps explain
requirements
– Understanding bandwidth requirements is useful
– Understanding that QoS rules can be applied to optimize performance
– Understanding that IGMP can be used to mitigate against the negative
perception of multicast
169
Copyright 2017 Audinate Pty Ltd. All rights reserved
TALKING TO AN IT DEPARTMENT
170
Copyright 2017 Audinate Pty Ltd. All rights reserved
NEXT
STEPS
171
TAKE THE LEVEL 3 TEST
http://www.audinate.com/certify
172
Copyright 2017 Audinate Pty Ltd. All rights reserved
THANK
YOU
173