Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

LMS option --playeraddr?

$
0
0
I want to isolate an LMS server on a VLAN, the machine I use has eth0 hooked to the LAN via DHCP and it routes/filters a second interface which is an L3 bridge that includes the VLAN.
This is my routing table and noteworthy interfaces:
Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        192.168.1.1    0.0.0.0        UG    0      0        0 eth0
172.20.0.0      0.0.0.0        255.255.0.0    U    0      0        0 audiobr
192.168.1.0    0.0.0.0        255.255.255.0  U    0      0        0 eth0
255.255.255.255 0.0.0.0        255.255.255.255 UH    0      0        0 audiobr

eth0      Link encap:Ethernet  HWaddr b8:27:eb:xx:xx:xx 
          inet addr:192.168.1.161  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30623 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39927 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:29925943 (28.5 MiB)  TX bytes:18955574 (18.0 MiB)

audiobr  Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          inet addr:172.20.0.1  Bcast:172.20.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47926 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36072 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3185996 (3.0 MiB)  TX bytes:93791870 (89.4 MiB)

bridge name        bridge id                STP enabled        interfaces
audiobr                8000.xxxxxxxxxxxx        no                eth0.10
                                                        tap0
                                                        wap0

In /etc/defaults/logitechmediaserver, if I set
Code:

SLIMOPTIONS="--noupnp --nomysqueezebox --httpaddr 172.20.0.1 --cliaddr 172.20.0.1 --streamaddr 172.20.0.1 --playeraddr 172.20.0.1"
the server never finds my players.
If I set
Code:

SLIMOPTIONS="--noupnp --nomysqueezebox --httpaddr 172.20.0.1 --cliaddr 172.20.0.1 --streamaddr 172.20.0.1"
it works, but LMS sends 3483/udp through eth0, leaking outside the VLAN. I had to direct broadcasts through the bridge to fix that (ip route add 255.255.255.255/32 dev audiobr)

What is playeraddr supposed to do?

Viewing all articles
Browse latest Browse all 5300

Trending Articles