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?



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=107783

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to