Category Archives: Uncategorized

Setup a Cisco SG300 / 500 switch for Dante

  1. Update the Switch to the latest firmware and boot code
    1. Before you start make sure you have a TFTP client installed on your PC, if not you can use Solarwinds TFTP Server. Once installed download the latest Firmware from the Cisco website.Open Solarwinds TFTP server go to File -> Configure and set the TFTP Root Server Directory to the folder you have placed the Firmware files.
      CropperCapture[509]
    2. Start the Service and close this window. The bottom bar of the main window should now confirm that the server runsCropperCapture[510]
    3. Make sure all firewalls are disabled or correct configured.
      Log in to your switch and go to Administration -> File management – >Upgrade… and select to upgrade the firmware.CropperCapture[512]
    4. Follow the procedure displayed by the firmware upgrade process. Once done upgrade the boot codeCropperCapture[513]
    5. Again follow the procedure displayed by the firmware upgrade process.Then select to use the new loaded firmware on the next start
      CropperCapture[514]
    6. Do a reboot, Administration -> File management – >Reboot.
      Let your switch reboot, it takes some minutes. It will look like dead for a while, do not do anything, don’t unplug the mains, it will boot fine.Its important that all switches have the same firmware version, do this procedure on every switch in your network, or at least on the ones that are used for Dante
  2. Set the switch to a static IP settings
    In Administration ->Management Interface -> IPv4 Interface set the switch to a free static IP
    CropperCapture[518]
  3. Define DNS settings
    Enable the use of DNS in IP Configuration -> Domain Name System -> DNS Settings and add at least 2 known good DNS servers to the list
    CropperCapture[519]
  4. adjust system time
    A very important thing is that the switches are synchronized in time. Not only that the logs are more clear if time is right, the complete network management traffic between the switches is taking advantages of a correct time.

    1. Administration -> Time settings -> System Time enable the Main Clock Source (SNTP Servers) and set also the correct time zone
      CropperCapture[520]
    2. Enable afterwards the SNTP Client Unicast in Administration -> Time settings -> SNTP Unicast and add at lest two time sources
      CropperCapture[521]
      If the config is correct the status is up and the Last Response is accurate
  5. Create a VLAN for Dante
    We assume here that you are already logged in in the Switch..

    1. To create a new VLAN go to Vlan Management -> Vlan Setings an add a new one
      CropperCapture[515]
    2. Next we have to define which port that contains traffic for that virtual lan. But before we have to define the capabilities of each port in therms of VLAN. 3 different port settings can be set in Vlan Management -> Interface Se tings. From Cisco manual:
      1. General—The interface can support all functions as defined in the IEEE 802.1q specification. The interface can be a tagged or untagged member of one or more VLANs.
      2. Access—The interface is an untagged member of a single VLAN. A port configured in this mode is known as an access port.
      3. Trunk—The interface is an untagged member of one VLAN at most, and is a tagged member of zero or more VLANs. A port configured in this mode is known as a trunk port.
    3. So for us that means that all Dante devices must be connected to a port that is set to access, all ports that are connected to other switches must be Trunk or General
      CropperCapture[516]
    4. After we have set our port settings right we do assign which VLAN goes over which port.
      A trunk usually transports all VLAN’s to the next switch, therefore we can set the uplink port to transport all VLAN’s
      CropperCapture[517]
      The picture above show that port 1-5 are uplinks to other switches 6-8 are access ports for simple Dante devices. UP means that this VLAN (usually 1) is the default non tagged Lan which is assigned on the port (If you connect your PC without VLAN config on the network card you end up in this network).
      T means that this VLAN is tagged only available on this port. The pages VLAN Management -> Port VLAN Membership and VLAN Management -> Ports to VLAN do show and set the same settings.
  6. Disable Energy Efficient Ethernet EEE
    Anyhow the Cisco switches are very good in saving energy and disabling partially the ports Dante can be affected by such events. Therefore this service should be disabled. (Not every switch does support EEE, if not available its not built in)
    CropperCapture[522]
    In ports overview it should look like that
    CropperCapture[523]
  7. Multicast settings
    Dante supports IGMP, a communication protocol to manage multicast. Using that protocol the switch can manage multicast’s and decide which port should be included in the multicast, save CPU and port capacity for ports that are not involved.

    1. First we have to enable the Bridge Multicast Filtering Status in Multicast -> Properties for the VLAN we use for Dante. As Forwarding Method select IP Group Address
      CropperCapture[524]
    2. Each VLAN needs to be enabled with IGMP. In Multicast -> IGMP Snooping select all vlans which contains Dante traffic and enable the IGMP snooping status
      CropperCapture[526]
    3. Select each IGMP enabled VLAN and press edit. Do the following settings
      CropperCapture[527]
      Important: If there are multiple switches in the setup only activate the IGMP Querier on one switch and configure the Multicast Router Port accordingly.
      IGMP querier does only work if the switch has a IP  address in the same network segment it should query (Querier Source IP Address). Take care if you have VLANS on different network segments, the switch must have a matching IP to send the query’s. Maybe Layer 3 must be activated to achieve this…More info on multi- switch IGMP config: https://confluence.avt.tech/pages/viewpage.action?pageId=51381181. From this step on our switch auto-detects multicast ‘s and forward them to the ports needed. This auto-detect needs to be tuned a little for Dante.
    4. The table in Multicast ->IP Multicast Group Address shows the already detected multicast IP addresses, as well custom addresses can be inserted. So we make sure the two addresses 224.0.1.129 (PTP) and 224.0.0.251 (MDNS) are in this list and assigned to the ports needed (Ports that are included in the Dante VLAN) as static
      CropperCapture[528]
    5. Looking at Multicast -> Multicast Router
      CropperCapture[531]
      The different settings static, Forbidden, None are explained in the help of the switch. Dynamic means that the switch has detected the port already, so change this to static. Once changed, the switch knows already the correct settings, so after a power loss the right settings are immediately applied, the auto detect delay is gone.
    6. For uplink connections from switch to switch also activate in Multicast -> Multicast Router Port the port to static forward all traffic.
      CropperCapture[531]
      The picture above shows that port 10 is an uplink, port 1 is not disturbed in any case with Dante multicast’s. For devices which are maybe in the same VLAN but are not Dante devices the setting forbidden should be chosen. The two multicast addresses we added are now registered multicast’s, means the switch knows exactly what to do with the traffic.
    7. For Dante audio multicast’s and other devices multicast’s we need to make sure that the unregistered multicast’s are  forwarded and auto-detected. Multicast -> Unregistered Multicast let us define exactly this settings. Port 1 does not need any multicast, therefore we define Filtering for this port. All other are in Forwarding mode.
      CropperCapture[532]
  8. Setup QoS to prioritize PTP (Dante clock messages)
    1. Quality of Service -> General -> QoS Properties set the QoS mode to Advanced
      CropperCapture[533]
    2. Then we have to correct the queue settings
      CropperCapture[534]
    3. Quality of Service -> QoS Advanced Mode-> Global Settings we need finally to set the Trust mode to DSCP and the Default Mode Status to Trusted
      CropperCapture[535]

 

References:

Yamaha Proaudio setup pages for Dante http://www.yamahaproaudio.com/global/en/training_support/selftraining/dante_guide/index.jsp

Symetrix knowledge-base http://www.symetrix.co/support/knowledge-base/

Technet article Dante networking: Ports and protocols

Audinate website FAQ: https://www.audinate.com/index.php?option=com_content&view=article&id=187

Allen&Heath Understanding Dante http://www.allen-heath.com/media/Understanding+M-DANTE+-+rev+18dec12.pdf

Wikipedia IGMP article http://en.wikipedia.org/wiki/Internet_Group_Management_Protocol

Wikipedia Qos article http://en.wikipedia.org/wiki/Quality_of_service

Cisco integrated help in the switch interface (top right corner)

AVT Tech: https://confluence.avt.tech/pages/viewpage.action?pageId=51381181 or direct link to a PDF of the site TKB-51381181-301018-1616-70

Dante networking: Ports and protocols

A few facts and figures about Dante packets on the Network

Protocol and ports used by Dante, all UDP

ProtocolSrc. IPSrc. PortDest. IPDest. PortDescription
PTP (v1)All Dante
devices
all224.0.1.129319, 320Clock, Synchronization
of Dante network
MDNSAll Dante
devices
all224.0.0.2515353Device info for Dante
Controller Software
unknown multicastAll Dante
devices
all224.0.0.2318700-8704, 8800Dante Control and
Monitoring
unknown unicastAll Dante
devices
allUnit Receiving stream 4440,4444, 4455Dante Routing
unknown multicastAll Dante
devices
all239.255.x.x4321Audio Broadcast
unknown unicastAll Dante
devices
allUnit Receiving stream 14336-14600Audio Unicast

Multi and unicasts

  • Be aware that multicast’s are always sent, even when there is no “subscriber”. So the network components can be overloaded even if nowhere sound play’s
  • Unicast’s are only sent  if there is a valid routing and the receiving Dante unit is alive. Maximum 2 concurrent Dante Unicast can be sent per unit/stream. A third assigned unit will play nothing until one of the two unicast’s are free

 

How to find a Kaleidescape server with unknown IP address

There are 3 ways.:

First and easiest:  Using local link (Kaleidescape KB article [K000037])

In the rare case that the Kaleidescape server has an unknown static IP address and the server is on a different subnet than the computer, it is possible to access the browser interface using an alternate address, known as the link local address.

Follow the procedure below to access the browser interface of the Kaleidescape server using the link local address. You should understand networking in the Windows operating system to safely make the changes. Before you attempt this procedure, try the other methods described in www.kaleidescape.com/go/browser-interface.

  1. Use a computer with a Windows operating system. (The following steps are for Windows XP.)
  2. Connect the computer by an Ethernet patch cable to the same switch as the Kaleidescape server. A wireless connection will not work.
  3. Disable any firewall.
  4. Check that NetBIOS name resolution is enabled. If not, install Bonjour Print Services for Windows according to the instructions at http://support.apple.com/kb/DL999.
  5. On the computer, select Start > Settings > Network Connections > LAN. The LAN Status window appears.
  6. Click Properties. The LAN Properties window appears.
  7. In the LAN Properties window, scroll down the list of items and select Internet Protocol (TCP/IP). Click Properties. The Internet Protocol (TCP/IP) Properties window appears.
  8. Take note of the settings in the Internet Protocol (TCP/IP) Properties window. You will change these settings, and then undo the changes.
  9. Click Use the following IP address and type 169.254.101.101 for IP address and 255.255.0.0 for Subnet mask. Do not change any other fields.
  10. Click OK. The Internet Protocol (TCP/IP) Properties window closes.
  11. Click Close in the LAN Properties window.
  12. Click Close in the LAN Status window, if still open.
  13. Check that the Kaleidescape server is powered on and connected to the network switch; the server front panel should glow blue.
  14. Find the serial number of the server.
  15. The link local address of the server is ll- followed by the 12-character serial number of the server. Here “ll” is two instances of the letter l. For example, if the server serial number is 0000 0001A2B3, then the link local address is ll-00000001A2B3. Enter http://ll-00000001A2B3 in a web browser. The browser interface should appear.
  16. In the browser interface, select the SETTINGS tab, then select Components in the second row of tab. Click the Settings button for the server. The Network Settings window appears. Configure the network.
  17. After the Kaleidescape System has been configured, undo the link local address. The link local address is not suitable for normal operation. To undo the link local address, select Start > Settings > Network Connections > LAN on the computer. In the LAN Status window, click Properties. In the LAN Properties window, select Internet Protocol (TCP/IP) and click Properties. Reset the settings in the Internet Protocol (TCP/IP) Properties window to the original settings previously noted. Click OK, then click Close in the LAN Properties window.

The procedure for Mac users is similar, but append “.local” to link local address, for example, http://ll-00000001A2B3.local.

Second way: Take a serial capture (Kaleidescape KB article [K000074])

Don’t do this if a hard disk is amber! Requires a restart which may is dangerous if a disc already is amber/failed. First replace the disc and let rebuild the filesystem
See this PDF: Kaleidescape-Quick-Reference-Retrieving-Diagnostic-Information
The output contains all network information

Third: Connect via serial and set back to DHCP (Kaleidescape KB article [K000027])

If the IP address of a Kaleidescape component cannot be determined, you can reset the IP address by connecting the RS-232 port of the component to a standard DB-9 serial port of a computer with a DB-9 serial cable. Use a straight-through cable for players and a crossover cable for servers. Then configure a serial-capable terminal emulator (e.g. HyperTerm or PuTTY) to 8 data bits, no parity, 1 stop bit (8N1), and no flow control. For a player or disc vault, set it to 19,200 bps and, for a server, set it to 115,200 bps.

Now execute the following commands (followed by [ENTER]) in the terminal emulator to view or set the network settings: (Always  copy and past the complete string!)
To get the device’s current network settings: 01/1/GET_NETWORK_SETTINGS:
To set a device to DHCP:  01/1/SET_NETWORK_SETTINGS:0::::::

To set a device to a static address, in this case IP address 192.168.1.222, Subnet Mask of 255.255.255.0, Gateway of 192.168.1.1 and primary and secondary DNS of 4.2.2.2 and 192.168.1.2 respectively:  01/1/SET_NETWORK_SETTINGS:1:192.168.1.222:255.255.255.0:192.168.1.1:4.2.2.2:192.168.1.2:

Once you have changed a component’s IP address, reboot it for the changes to take effect.

 

 

How to replace a Kaleidescape Kplayer 2500 power supply

First be aware that any modification of the Kaleidescape product is dangerous and will void all warranty.

  1. Open up the case
  2. Remove the old power supply
  3. Insert the new one, if the cable holders are not 100% the same use some hot glue to fix. Make sure that the ground/5V are correct matching the cable. Red =5V, black = ground
    kplayer2
    kplayer1
  4. Connect power and measure with a power meter the voltage supplied on board
  5. Adjust the adjustment pot on the power supply to 3.3V
  6. Have a look on the fan, if its old and noisy it needs to be replaced. To test use a blow dryer and heat up the U20 chip on the board. The fan should power on shortly. DO NOT OVERHEAT U20 !!
    kplayer3
  7. Replace the fan if needed (You maybe have to “modify” the cables a bit)
  8. Control all work done
  9. Close casing.