Skip to content

Instantly share code, notes, and snippets.

@Brainiarc7
Created February 15, 2017 15:30
Show Gist options
  • Save Brainiarc7/c505997517cc96f0b7eef00311c0f92f to your computer and use it in GitHub Desktop.
Save Brainiarc7/c505997517cc96f0b7eef00311c0f92f to your computer and use it in GitHub Desktop.
This gist describes how to fix SSDP service discovery issues on DLNA servers hosted on KVM and Libvirt behind a bridged connection

Enable DLNA service discovery for media servers running on KVM hosts with bridged networking:

If you’re running a DLNA - capable Media Server (Such as Plex or Mediatomb) in a guest domain on a KVM/QEMU/libvirt-based hypervisor platform, make sure that the bridge you use to provide network access to the guest domain (such as macvtap) is configured in the host OS such that the allmulti flag is enabled. Assuming your bridge is macvtap0, you would sign into the host and go about setting the appropriate flag as follows:

$ sudo ip link set dev macvtap0 allmulticast on

Without this configuration, not all multicast packets required for DLNA (particularly client discovery operations) will be sent over the bridge to the guest domain, resulting in the media server failing to operate as required (because SSDP is not very forgiving).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment