primeinc
10/28/2018 - 3:32 PM

Multicast-Proxy for vLans

Make Sonos and Chromcast works across vlans on fresh CentOS 7 minimal install

yum update -y
yum install net-tools nano git -y
yum install epel-release -y
yum install python-pip -y
pip install --upgrade pip
pip install netifaces
git clone https://github.com/alsmith/multicast-relay.git
systemctl disable firewalld
systemctl stop firewalld

Check that its working by running it in the foreground

/usr/bin/python /root/multicast-relay/multicast-relay.py --interfaces eth0 eth1 eth2 --verbose --foreground

If you don't see traffic being relayed something is wrong. If its working lets make it run at boot.

crontab -e

Add and save the following, change the interfaces if neccesary

@reboot    /usr/bin/python /root/multicast-relay/multicast-relay.py --interfaces eth0 eth1 eth2 --wait

Reboot and check that its running after you reboot

ps aux | grep python