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.0/24
LAN1
| 192.168.2.0/24
(modem)----(Netgear)-----------------(D-Link)------------LAN2
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 239.255.255.250) 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:
Netgear:
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
D-Link:
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