This is the basic setup I have showing two plex containers on two different IP’s. br0 is pretty standard using /etc/network/interfaces :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# Set up interfaces manually, avoiding conflicts with, e.g., network manager
iface eth0 inet manual
iface eth1 inet manual
# Bridge setup
iface br0 inet dhcp
bridge_ports eth0 eth1
The maclaven bridge is setup like this:
docker network create --driver macvlan --subnet 192.168.1.0/24 --gateway 192.168.1.1 -o parent=br0 br0-docker
Plex-2 is started with :
docker run --net=br0-docker --ip=192.168.1.123
Plexconnect is basically a DNS interceptor/webapp which serves plex to the trailers app in the appletv instead of the actual trailers webapp.
Both Plexservers have GDM (G’Day Mate discovery) which is some sort of allowing of local network discovery. I have tried to google how this works but I came up empty. I can only assume this involves some sort of broadcast.
The problem I face is plexconnect does not discover plex-2 (but does discover plex-1). I can however access plex-2 directly from any computer on the local network.
I used to have a simuler setup in LXC’s, then both plex servers where directly connected to br0, and working with plexconnect.
What kind of maclaven bridge have a created and is there maybe some restrictions I am not aware of?
I was thinking of creating docker swarms in LXC and run simuler containers in different swarms… But I am hoping I can avoid that…