Hi,
I've just installed OpenWRT on a TP-Link TL-WR1043ND. I have a DLNA media server running on the wired LAN which is not immediately visible to clients on the wifi network. They see the DLNA server randomly after some time, but not always.
After lots of searching on here and elsewhere it seems that the issue is that DLNA uses multicast to announce server availability but OpenWRT does not copy multicast packets from the wired LAN to the wireless network.
Some previous posts have suggested that using igmpproxy is the solution, but all of the examples I have seen are discussing making multicast from the WAN available on the LAN. What I think I need to do is proxy the multicast announcements sent on the wired LAN to the wifi network.
I've tried all combinations I can think of, but can't find a configuration of igmpproxy that works.
This is my ifconfig:
br-lan Link encap:Ethernet HWaddr 64:70:02:40:63:8C
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2162917 errors:0 dropped:7057 overruns:0 frame:0
TX packets:2425509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:257030963 (245.1 MiB) TX bytes:1141148035 (1.0 GiB)
eth0 Link encap:Ethernet HWaddr 64:70:02:40:63:8C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18113569 errors:0 dropped:154 overruns:60037 frame:0
TX packets:16417836 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1359873919 (1.2 GiB) TX bytes:4242649814 (3.9 GiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr 64:70:02:40:63:8C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1901742 errors:0 dropped:0 overruns:0 frame:0
TX packets:1948010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:237559123 (226.5 MiB) TX bytes:499581105 (476.4 MiB)
eth0.2 Link encap:Ethernet HWaddr 64:70:02:40:63:8C
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9101140 errors:0 dropped:2929 overruns:0 frame:0
TX packets:7702271 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5059208064 (4.7 GiB) TX bytes:1143172262 (1.0 GiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2649 errors:0 dropped:0 overruns:0 frame:0
TX packets:2649 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:947834 (925.6 KiB) TX bytes:947834 (925.6 KiB)
wlan0 Link encap:Ethernet HWaddr 64:70:02:40:63:8C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:295113 errors:0 dropped:0 overruns:0 frame:0
TX packets:524147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:34395913 (32.8 MiB) TX bytes:665261569 (634.4 MiB)
I'm assuming eth0.1 is the wired LAN, eth0.2 is the wired WAN, br-lan is the bridged wired LAN and wifi and wlan0 is the wifi.
So, it seems to me that I want to proxy igmp from eth0.1 to wlan0. So I have set igmpproxyconfig to:
quickleave
phyint eth0.1 upstream ratelimit 0 threshold 1
phyint wlan0 downstream ratelimit 0 threshold 1
When I run it with igmpproxy -d ./igmpproxy.conf I get the error:
There must be at least 2 Vif's where one is upstream.
Which seems as if I have not got the interfaces right.
Any ideas? Am I on the right tracks with using igmpproxy? If so any ideas on how I should configure it correctly? Or is there something completely different I should be trying to get DLNA servers on the wired LAN visible from the wifi network?
After trying everything obvious I could see from the forums here or from general google searches it seems that it might be the case that OpenWRT may not support DLNA from wired to wireless LANs... I would love to find out that I am wrong as I like many of the other features of OpenWRT... should I try a differnet firmware?