DLNA from a subnet to another
My configuration is following: modem connected to a Netgear router (OpenWRT). Netgear is connected wireless to a D-Link router (DD-WRT).
192.168.1.1 192.168.1.2 192.168.2.1
I Got a media server in LAN1. TV is in LAN2. TV can use only DLNA for streaming. As DLNA is using UPnP (and SSDP for discovery) multicasting is needed. D-Link router does not route the multicast traffic (with destination address 126.96.36.199) to LAN1. D-Link has no iptables rules, with policies accept. OpenWRT has no rules restricting multicasting.
How could I route the SSDP traffic from LAN2 to LAN1? Is there something else I need to do?
Current routing tables:
ip route show
default via <INTERNET> dev eth1
<INTERNET>/19 dev eth1 proto kernel scope link src <INTERNET>
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1
192.168.2.0/24 via 192.168.1.2 dev br-lan
ip route show
192.168.1.1 dev ra0 scope link
192.168.2.0/24 dev br0 proto kernel scope link src 192.168.2.1
192.168.1.0/24 dev ra0 proto kernel scope link src 192.168.1.2
169.254.0.0/16 dev br0 proto kernel scope link src 169.254.255.1
127.0.0.0/8 dev lo scope link
default via 192.168.1.1 dev ra0
BinkVillains... knock off all that evil
Castle Rock, CO
Why do you have two subnets? Why not flatten the network/reduce complexity and just have one LAN? While I do not know all the details of DLNA, it is likely you will require a proxy of sorts if you chose to maintain multiple LANs.
|reply to Jasu |
Second Bink's comments. Is there a specific function of the DLINK that needs the TV on it?
The reason for two subnets is that the previous versions of DD-WRT did not work in a wireless bridge mode with my router. So the choices were either NAT or routing. I decided to with routing to get easier connectivity.
Tested now with newer version and got it working somehow. Discovery of media servers seems unreliable but once the streaming begins there is no problems.
Thanks for your help!