DLNA server don’t working on Linux bridge

I was experiencing recurring problems of my DLNA server disappearing from the network. The cause of it was that my network card is configured in a bridge, and the multicast snooping feature wasn’t playing well with DLNA.

To disable the multicast snooping, I’ve created the file /etc/rc.d/rc.local:

#!/bin/bash
echo 0 > /sys/devices/virtual/net/br0/bridge/multicast_snooping

Don’t forget to make it executable. Systemd will run it in every boot.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s